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

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

  ViewVC Help
Powered by ViewVC 1.1.20