/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Diff of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.417 Revision 1.497
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo System Intialization ("rc") scripts
2# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL 2# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPLv2
3# Written by Daniel Robbins (drobbins@gentoo.org) 3
4 17 Nov 2004; Roy Marples <uberlord@gentoo.org>:
5 Fixed invalid variable handling in bonding and vlan - bug #71419
6 apipa now brings the interface up before testing if address exists
7
8 16 Nov 2004; Roy Marples <uberlord@gentoo.org>:
9
10 We no longer default a fallback to APIPA when no config is given
11 net.example fleshed out a bit more for dhcpcd - fixes #60845
12 Improved forced module handling a touch
13 modules_sort and modules_check_user in net.lo buffer _provides,
14 _before and _after in arrays to avoid shelling out
15
16 15 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
17
18 Add a check to clock init.d to make sure users dont try to set
19 config their clock in rc.conf anymore.
20
21 Redo hostname/domainname scripts to use files in /etc/conf.d/
22 instead of creating files in /etc/. Allows for controlling things
23 like the behavior of setting the 'domain' in resolv.conf since users
24 may not always understand exactly what's going on.
25
26 Stop referring to conf.d/basic as a global rc config option. That
27 file hasn't been used in a long time and has since been replaced
28 with env.d/00basic. Updated sbin/runscript.sh, etc/profile,
29 sbin/rc-help.sh, and src/awk/cachedepends.awk.
30
31 Run `find | xargs` instead of `find -exec`. Much better performance
32 this way, and busybox friendly #59732.
33
34 15 Nov 2004; Roy Marples <uberlord@gentoo.org>:
35
36 Split modules_load into smaller more managable functions in net.lo
37 Added modules_force option to net.lo with a big phat warning in
38 net.example about it potentially breaking networking
39 Added searchdomains_ESSID option to essidnet
40 Stopped the domain setting from putting the same entry in search
41 in config-system and essidnet
42 Removed second warning in net.lo when configuration not set
43 Documented APIPA module in net.example
44 Added kernel checking for vlan - fixes #70829
45 Added kernel checking for bonding, bridging and tuntap
46 Added iproute2 support to the APIPA module
47
48 13 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
49
50 Update the svcdir mounting #69595. Instead of mounting in /mnt
51 and then bind mounting to $svcdir, we mount the ramdisk on $svcidr.
52
53 12 Nov 2004; Roy Marples <uberlord@gentoo.org>:
54
55 Added arping duplicate address detection to net.lo
56 Created Automatic Private IP Addressing (APIPA) module
57
58 Added dependancy checking to ipppd
59 Bonding is now started pre instead of post
60 Fixed iface variable in dhcp modules for vlans
61 Changed get_device to interface_device
62 Changed get_type to interface_type
63 Added vlan configuration options and documented them in net.example
64 Fixed bridge configuration handling
65 Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
66
67 11 Nov 2004; Roy Marples <uberlord@gentoo.org>:
68
69 Fixed category of rp-pppoe to net-dialup error when requesting ADSL
70 Improved inet6 address deletion and detection in iproute2
71 Improved gateway logic in ifconfig
72 Changed all wireless reporting functions to use iwgetid instead of
73 parsing iwconfig output except for essid
74
75* rc-scripts 1.6.6 (08 Nov 2004)
76
77 08 Nov 2004; Roy Marples <uberlord@gentoo.org>:
78
79 Added options to configure bridge
80 Added bridge configuration example to net.example
81 Added missing required function interface_exists to iptunnel check_depends
82
83 07 Nov 2004; Aron Griffis <agriffis@gentoo.org>:
84
85 Fix shell scripting errors that would result in
86 /sbin/functions.sh: line 166: [: too many arguments.
87
88 05 Nov 2004; Roy Marples <uberlord@gentoo.org>:
89
90 net-scripts/net.modules.d/bridge
91 - fixed destroying a bridge if no ports were added
92 - starts interfaces if they don't exist - fixed bug #65153
93
94 net-scrips/net.modules.d/bonding
95 - starts interfaces if they don't exist
96
97 net-scripts/init.d/net.lo
98 - added net_start() function to start depandant ifaces
99 so that bridge br0 can active tun0 which net.tun0 has to create
100 - added use dependany on wlan incase we're using linux-wlan-ng drivers
101 fixes bug #64978
102 - moved start() to run_start() and stop() to run_stop()
103 created run() and new start()/stop() functions
104 this is so that we have one single entry point to localise variables
105 and to remove any added functions loaded by our modules
106 - removed redundant interface_exists() as it's provided by
107 ifconfig and/or iproute2
108
109 net-scripts/net.modules.d/ifconfig and iproute2
110 - added ifconfig_tunnel and iproute2_tunnel functions
111
112 addred gre/ipip tunnel support via the the tunnel module
113 - fixes bug #50765
114
115 04 Nov 2004; Roy Marples <uberlord@gentoo.org>:
116
117 net-scripts/net.modules.d/pump
118 - fixed setting ntp servers
119
120 net-scripts/net.modules.d/dhcpcd
121 - fixed stopping function
122
123 net-scripts/net.modules.d/bonding
124 - fixed module to actually work with the interface
125
126 net-scripts/init.d/net.lo
127 - we remove all added functions when restarting an interface
128 this relies on the diff command being available
129
130 added isdn support via the new ipppd module - fixes bug #69035
131
132 net-scripts/conf.d/net.example
133 - added sample isdn setup
134
135 net-scripts/conf.d/wireless.example
136 - added better descriptions to the _sleep variables
137
138 Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
139 - fixed bug #70022
140
141 net.lo - added get_type function to return the type of the interface
142 - eth, ippp, etc
143
144 ipppd, tuntap
145 - start() moved to pre_start() and we now test by type
146 this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
147 as ippp0 is always an isdn device
148
149 bridge - fixed stop function and moved start() to pre_start()
150 and automatically start if the variable bridge_${iface} exists
151
152 net.example - fixed up documentation for changed behaviour above
153
154 03 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
155
156 When launching critical services in /sbin/rc, make sure we source
157 the conf.d file (if it exists). Resolves #69956.
158
159 03 Nov 2004; Roy Marples <uberlord@gentoo.org>:
160
161 net-scripts/init.d/net.lo
162 - fixed !module when it's not installed
163 - we can now specify null inet addresses in the config
164 this allows a pure inet6 setup
165 - shutdown lo the same way we bring it up
166
167 net-scripts/net.modules.d/ifconfig
168 - changed IPv6 to inet6 in output of adding inet6 addresses
169 - just output inet6 address removed, not eth0 del foo
170
171 net-scripts/net.modules.d/iproute2
172 - fix deletion of non-link addresses - fixes bug #65417 (again)
173 - handle inet6 addresses like ifconfig - fixes more bug #65417
174
175 net-scripts/conf.d/net.example
176 - noted that inet6 addresses do not create aliases
177 - added examples of assigning inet6 addresses
178
179 net-scripts/net.modules.d/iwconfig
180 - improve error message when card does not support scanning
181
182 net-scripts/conf.d/wireless.example
183 - fixed comment regarding preferred_aps not working with cards that don't
184 support scanning
185
186 02 Nov 2004; Roy Marples <uberlord@gentoo.org>:
187
188 net-scripts/conf.d/net.example
189 - added bridging and tuntap examples
190
191 net-scripts/init.d/net.lo
192 - modprobe ${IFACE} when ${IFACE} does not exist
193
194 net-scripts/net.modules.d/ifconfig
195 - fixed interface existance check
196
197 net-scripts/net.modules.d
198 ifconfig & iproute2
199 - added boolean to interface_exists to report if it exists or not
200 - added checks to see if the interface exists or not when starting
201
202 dhcpcd
203 - removed debug line
204
205 bonding, dhclient, dhcpcd, essidnet, macchanger, pump, udhcpc
206 - added checks to see if the interface exists or not when starting
207
208 tuntap
209 - added checks to see if the interface exists or not when stopping
210
211 01 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
212
213 Dump the error message that hwclock returns since it tends to be
214 quite useful. Modified init.d/clock.
215
216 Fix error in functions.sh [ -z "$@" ] -> [[ -z "$@" ]] #69789.
217
218 Don't create /dev/sndstat link anymore in populate_udev per #69635.
219
220 01 Nov 2004; Roy Marples <uberlord@gentoo.org>:
221
222 net-scripts/init.d/net.lo:
223 - modules specified by interface config now error if they are not loaded
224 - moved interface check to after preup incase user preup loads drivers
225 - modules can be explicitly not used by prefixing them with a !
226 however, they are still available to other modules
227 fixes bugs #68908, #69027
228 - remove check to see if interface exists
229 - modules may setup new interfaces and still require config
230 so we have a new label counter in iface_start
231 - removed the check to see if a class wrapping already exists
232 this fixes the bug where ifconfig and iproute2 are installed, but
233 ifconfig is asked for and the interface is restarted.
234 - added check to see if the configured module is loaded
235 and installed or not in iface_start
236 - add dependancy on isdn4linux - fixes bug #69035
237 - interface_exists moved to iproute and ifconfig
238
239 net-scripts/net.modules.d
240 - Split wireless module into iwconfig and essidnet modules
241 - Added tuntap and bridge modules, fixes bug #55394, #30688
242
243 net-scripts/init.d/iwconfig:
244 - wep mode is now reported
245 - removed post_stop function so we keep existing config
246 - added pre_stop to set the ESSID variable
247 - changed to veinfo/vewarn where appropriate
248 - check if interface exists otherwise abort gracefully
249 - no longer deletes addresses as we now avoid
250 ipv6 local addresses in detecting if interface has an addresses or not
251
252 net-scripts/init.d/ifconfig:
253 - added flag enable/disable function
254 - scope:link inet6 addresses are ignored when testing is_up and
255 del_addresses - fixes bug #65417
256
257 net-scripts/init.d/iproute2:
258 - added flag enable/disable function
259 - scope:link inet6 addresses are ignored when testing is_up and
260 del_addresses - fixes bug #65417
261
262 net-scripts/init.d/macchanger:
263 - fixed detecting whether the change worked or not, fixes bug #68893
264
265 net-scripts/init.d/vlan:
266 - fixed old config problem
267
268 31 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
269
270 Do not delete depscan and envupdate caches on reboot, as this should
271 improve bootup times - works nicely with the '-u' parameters of both.
272 Also move the '-u' parameter test of depscan.sh after the directory
273 exist test, else ${svcdir}/started/, etc do not exist. Modified both
274 /sbin/rc and /sbin/depscan.sh for this.
275
276 Move things around in /sbin/functions.sh to have all functions above.
277
278 Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.
279
280 28 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
281
282 Only add files not managed by udev to device tarball, bug #57110.
283
284 28 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
285
286 Revert pam_console_apply udev check in bootmisc/halt.sh since
287 the bug is with pam_console_apply and not udev/pam.
288
289 Use ${EUID} instead of $(id -u) to help out BSD in runscript.sh.
290
291 Allow users to select ramfs instead of default tmpfs for mounting
292 on /dev with udev #69091.
293
294 Add issue.devfix which would be auto copied to /etc/issue if
295 /sbin/rc detects the user is missing /dev/null or /dev/console.
296 Includes a simple explanation/fix for what's wrong.
297
298 Make sure the clock init script runs after checkroot/modules/localmount
299 so that timestamps are synchronized asap #68133 / #70008.
300
301 Accept '-nc' as a short option to '--nocolor' #64736.
302
303 26 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
304
305 Don't use -A with fsck to respect the fs_passno since it'll try
306 to fsck all filesystems, not just the ones specified. Instead,
307 awk /etc/fstab to review the passno field in checkroot #68822.
308
309 Add support for 'gentoo=forcefsck' boot option in checkroot.
310
311 Make sure we run devfsd in /sbin/rc even when /dev has been
312 automounted by the kernel #68795.
313
314 Don't generate the device tarball in halt.sh with livecds #68469.
315
316 25 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
317
318 net-scripts/net.modules.d/ifconfig:
319 - Simplify ifconfig_is_up()
320 - Fix ifconfig_get_aliases_rev() to actually work... you can't
321 specify an interface name to ifconfig if you want to see the
322 aliases.
323 - Workaround a couple ifconfig bugs dealing with aliases
324 - Correct a return status in ifconfig_interface_del_addresses()
325 - ifconfig_iface_stop() is bool, not void; fix the comments
326
327 net-scripts/net.modules.d/iproute2:
328 - iproute2_iface_stop() is bool, not void. Fix the code so it
329 returns meaningful values
330
331 net-scripts/init.d/net.lo:
332 - Fix preferred (ifconfig/dhcpcd) module loading so it doesn't
333 barf when a preferred module is either (1) missing from
334 net.modules.d or (2) not available due to missing dependencies
335 - When loading all modules in order to stop an interface, only use
336 the first available to satisfy each class wrapper
337
338 24 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
339
340 Include livecd patch that was applied to baselayout-1.9.4-r6
341 to use agetty instead of mingetty
342
343 24 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
344
345 Mount tmpfs instead of ramfs on /dev when using udev systems.
346 The problem with ramfs is that it has no size limitations so
347 one could easily take down their machine by accident #68653.
348
349* rc-scripts 1.6.3 (23 Oct 2004)
350
351 22 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
352
353 Add support for user_eth0 in the adsl module and in net.example.
354 This means that most users won't need to edit pppoe.conf at all
355
356 21 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
357
358 Remove old etc/conf.d/net and try to clarify instructions in
359 net-scripts/conf.d/net.example. Add example for ADSL
360
361 21 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
362
363 Merge all of the UML checks into one function, is_uml_sys(),
364 which is now in functions.sh.
365
366 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
367
368 Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
369 depend on RC_VERBOSE which defaults to no. Add --verbose to args
370 understood by runscript.sh.
371
372 In net.lo, use veinfo and friends when loading modules since this
373 information is confusing to users.
374
375 In net.lo, always load global "modules" setting in following
376 "modules_iface" since this is a little easier for users to
377 understand.
378
379 In net.lo, use eindent for output of pre/post scripts
380
381 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
382
383 Add shfs to our list of net filesystems #61452. Also add afs/nfs4.
384
385 Add a '-u' parameter to depscan.sh to allow for updates only when
386 the config files have changed. With /sbin/rc using this, we speed
387 up bootup by only regenerating the cache when need be #67976. Also
388 add a '-u' parameter to env-update.sh for same reasons.
389
390 Don't run depscan.sh in rc-update anymore since the cache files don't
391 depend on runlevels (which is all that rc-update modifies).
392
393 Add unicode support to keymaps/consolefont #32111 and UML support #29707.
394
395 Add checks to many filesystem operations in the eventuality that the
396 filesystems are mounted read only.
397
398 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
399
400 Update the default fstab /dev/shm mount to include the nodev, nosuid,
401 and noexec mount flags. No reason for the filesystem to have those.
402
403 Cleaned up the clock init script. Moved the clock options out of
404 rc.conf and into its own conf.d/clock file. Added support for the
405 weird Alpha consoles SRM/ARC since they need special config options.
406 Also made the syncing of system clock to hardware clock at shutdown
407 optional (with the default being off) #15834. Don't try to set the
408 clock if running inside a coLinux environment #52870.
409
410 Update default PATH ordering to try to follow default behavior in
411 other distro's and because it's logical that /usr/local should
412 override /usr which should override /. Fixes #12531.
413
414 Move devfs stuff out of baselayout and into the devfsd package.
415
416 Don't run /sbin/pam_console_apply -r if using udev on /dev #50315.
417
418 14 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
419
420 Fix rc-status to work with new COLS code.
421
422 14 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
423
424 Allow users to mount ramfs/tmpfs/ramdisk as their svcdir and
425 stop assuming ramfs==ramdisk #64079.
426
427 13 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
428
429 Rework the code for managing /dev to make it more flexible for
430 users. Some don't want to use devfs/udev but rather just create
431 their own nodes. Handles some issues with #44906 / #67276.
432
433 Move the utmp clearing code out of bootmisc and into /sbin/rc.
434 The utmp log must be cleared while in the initial boot level
435 (meaning inside /sbin/rc) because as soon as rc exists, init
436 writes a 'boot' record (`who -b`) which would normally be lost
437 when the bootmisc init.d script is run #61727.
438
439 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
440
441 Cosmetic fixes for starting loopback interface
442
443 SpanKY doesn't like the dots... disable them by default, but you
444 can set RC_DOT_PATTERN=' .' in /etc/conf.d/rc to get them back
445
446* rc-scripts 1.6.2 (13 Oct 2004)
447
448 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
449
450 Install net.modules.d to /lib/rcscripts instead of /etc so we
451 don't have to deal with CONFIG_PROTECT
452
453 Fix diff code in modules_load so it can identify which functions
454 have been modified
455
456 Fix fallback mechanism in iface_start so that it works correctly
457 and doesn't report a bogus error message when trying the fallback
458
459 Get rid of need_begin trickery in iface_stop
460
461 Simplify eend processing in dhcp modules
462
463 Implement eindent, eoutdent, esetdent in functions.sh and adjust
464 net-scripts to use them.
465
466 Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
467 RC_INDENTATION and to work better on serial terminals
468
469 Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
4 470
5 12 Oct 2004; Aron Griffis <agriffis@gentoo.org>: 471 12 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
6 472
7 Fix ipaddr_fallback in net-scripts/conf.d/net.example 473 Fix ipaddr_fallback in net-scripts/conf.d/net.example
8 474
108 Update the fs_passno values in the default fstab to match the 574 Update the fs_passno values in the default fstab to match the
109 settings suggested by the manpage #37314. Make checkroot respect 575 settings suggested by the manpage #37314. Make checkroot respect
110 a fs_passno setting of 0 when dealing with / #39212. Change 576 a fs_passno setting of 0 when dealing with / #39212. Change
111 default / filesystem type to ext3 instead of xfs #42670. 577 default / filesystem type to ext3 instead of xfs #42670.
112 578
113 Re-order the arguements to mount to match POSIX requirements #66225. 579 Re-order the arguments to mount to match POSIX requirements #66225.
114 580
115 Don't pipe swapon in localmount to /dev/null and ignore return 581 Don't pipe swapon in localmount to /dev/null and ignore return
116 codes anymore. A swapon that works shows no output #39834. 582 codes anymore. A swapon that works shows no output #39834.
117 583
118 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>: 584 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>:

Legend:
Removed from v.1.417  
changed lines
  Added in v.1.497

  ViewVC Help
Powered by ViewVC 1.1.20