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

Diff of /rc-scripts/ChangeLog

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

Revision 1.319 Revision 1.586
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo System Intialization ("rc") scripts
2# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
3# Written by Daniel Robbins (drobbins@gentoo.org) 3
4 31 Jan 2004; Mike Frysinger <vapier@gentoo.org>:
5
6 Fix the test for device-mapper in checkfs #80206.
7
8 Change home of man to /usr/share/man.
9
10* rc-scripts 1.6.9 (30 Jan 2004)
11
12 30 Jan 2004; Mike Frysinger <vapier@gentoo.org>:
13
14 Use clock, don't need it. Not everyone has a RTC #78997.
15
16 Rewrite the KV_* functions to use pure bash rather than awk #75836.
17
18 Don't use 'none' when mounting virtual filesystems since `umount` can
19 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab.
20
21 modules-update.8 touchups by Benno Schulenberg #77582.
22
23 Don't symlink /etc/filesystems since it is an user config file #74176.
24
25 Punt the 'guest' user #74737.
26
27 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
28 dm-crypt by Lars Strojny #75659.
29
30 Update crypto-loop to newer util-linux #40874 by jochen / Jrgen Htzel.
31
32 27 Jan 2004; Roy Marples <uberlord@gentoo.org>:
33
34 removed udhcpc-* and dhclient-* helper modules and replaced them with a
35 generic dhcp module which caters for all interfaces and dhcp clients that
36 need it.
37 We now prefer iproute2 over ifconfig if both are installed.
38
39 24 Jan 2004; Roy Marples <uberlord@gentoo.org>:
40
41 replaced awk commands with sed equivalents in net-scripts to make us
42 more portable
43 STYLE fixes to many net-scripts modules
44 Removed hardcoded Version and replaced with cvs $Header:
45
46 17 Jan 2004; Roy Marples <uberlord@gentoo.org>:
47
48 net.lo changed logic to read "only fail if no configuration parameters
49 work, bring interface down and abort". Fixes #78092
50 all modules should now check interface existance correctly - fixes #76385
51 wpa_supplicant now works with EAP - fixes #78367
52
53 13 Jan 2004; Roy Marples <uberlord@gentoo.org>:
54
55 wpa_supplicant forces ctrl_interface to /var/run/wpa_supplicant
56 and removes stale directories
57 clean_pidfile function no longer errors on empty pidfiles
58 net dependancies corrected in runscript.sh - fixes #77839
59 allow pure IPv6 addresses - fixes #73844
60
61 12 Jan 2004; Roy Marples <uberlord@gentoo.org>:
62
63 net.lo now ignores dot files when loading modules
64 ipppd module now stops correctly - fixes #73067 again
65
66 11 Jan 2004; Roy Marples <uberlord@gentoo.org>:
67
68 added "noop" config parameter which means take no action if the interface
69 is up and has an address configured, otherwise continue
70 addresses are now removed when starting an interface - fixes #77111
71
72 06 Jan 2004; Roy Marples <uberlord@gentoo.org>:
73
74 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
75 - fixes #76846
76
77 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
78
79 bridge now marks interfaces as UP - fixes #75354
80 bridge, net.lo, iwconfig touched up to match new STYLE
81 net.lo tests the return value of modprobe - fixes #76385
82 iwconfig now sets enc keys through an eval statement - fixes #76601
83 updated wireless.example for whitespace in keys
84 iwconfig now accepts mode "auto" and defaults to it
85
86 30 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
87
88 Touch up rc-update to match our new STYLE. Also tweak the help
89 to fit in the standard console.
90
91 23 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
92
93 Merge a bunch of BSD fixes into our .c files.
94
95 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
96
97 iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802
98
99 17 Dec 2004; Roy Marples <uberlord@gentoo.org>:
100
101 wpa_supplicant - fixed file location for wpa_cli and association test
102 as it they changed in wpa_supplicant-0.3.x
103 wpa_supplicant now brings the interface up before launching - fixes #74637
104
105* rc-scripts 1.6.8 (15 Dec 2004)
106
107 15 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
108
109 start_critical_service in /sbin/rc should rely on $1 instead of
110 the external variable $x for the service name. #74425
111
112 15 Dec 2004; Roy Marples <uberlord@gentoo.org>:
113
114 rc-status now reports stopping status
115 Updated documentation to point non-usb linux-wlan-ng users to use
116 hostap-driver instead
117
118 13 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
119
120 Tweak init.d/halt.sh to support new text based udev_db ('udevinfo -d' do
121 not work anymore, and there is no space after '(S|N):'). Also check if
122 devices.tar.bz2 is empty before trying to create it, bug #71143.
123
124 12 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
125
126 Tweak get_mount_fstab to only print the first mount point found and then
127 spit warning messages for extra matches. Also add support for RC_USE_FSTAB
128 so normal users don't have to worry about a broken /etc/fstab.
129
130 Add an additional sanity check to the udev tarball usage. Don't try to
131 unpack an empty or non-existant tarball.
132
133 Tweak the 'static' description so users know they can use it to make
134 /sbin/rc ignore /dev completely.
135
136 12 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
137
138 Add suport for using /sbin/udevsend from new udev-048 as hotplug multiplexer.
139
140 12 Dec 2004; Roy Marples <uberlord@gentoo.org>:
141
142 fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi
143
144 dhcpcd and udhcpc now run via the eval statement so quotes can be used
145 in options. Fixes #74053 - thanks to Evan Buswell
146
147 09 Dec 2004; Roy Marples <uberlord@gentoo.org>:
148
149 fixed net.lo getting vlan config
150 rc doesn't stop hotplugged devices when system is booting - fixes #61594
151 thanks to Andreas Sundebo for the fix
152 rc-status now reports stopping
153
154 08 Dec 2004; Roy Marples <uberlord@gentoo.org>:
155
156 iwconfig now unsets wireless config and downs interface when backgrounding
157 fails
158 wpa_supplicant now supports backgrounding
159 removed is_in_fstab function and replaced with get_mount_fstab which
160 returns a mount command based on the contents of fstab. Resolves bugs
161 #70044 and #73762
162
163 07 Dec 2004; Roy Marples <uberlord@gentoo.org>:
164
165 essidnet - fixed setting up search domains
166 ifconfig now reads the old gateway variable correctly - fixes #73641
167 iwconfig now supports backgrounding
168 ifconfig and iproute2 now support function interface_set_mac_address
169 macchanger no longer depends on macchanger if configuring a specific
170 mac address
171
172 fix depstop for net-services when system is booting - should fix #61594
173 added service_stopped function to make reading code easier and trying
174 to avoid race conditions
175
176 06 Dec 2004; Roy Marples <uberlord@gentoo.org>:
177
178 macchanger defaults to setting the interface down, and then trying
179 with it up - fixes #71929
180 macchanger converts mac_${IFACE} to lowercase - fixes #73549
181 iproute2 now configures the interface up everytime we add an address
182 removed "need interface" from all modules depends as net.lo requires
183 interface anyway
184 removed hardcoded ath0 in wpa_supplicant
185
186 added rc-script statuses "starting", "stopping" and "inactive"
187 dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
188
189 05 Dec 2004; Roy Marples <uberlord@gentoo.org>:
190
191 dhclient now kill it's process if it failed to get a lease on startup
192 all dhclient responses are now handled correctly
193
194 04 Dec 2004; Roy Marples <uberlord@gentoo.org>:
195
196 fixed dhclient-ifconfig to look for dhclient-udhcpc-wrapper in the correct
197 place and changed hardcoded eth1 to ${interface} in udhcpc-ifconfig.
198 Fixes #73327 - thanks to Benoit Boissinot
199
200 essidnet gets the essid itself instead of relying on ${ESSID}
201 wpa_supplicant module added
202 config-system now creates files as .tmp instead of .new and loads
203 the wpa_supplicant module if needed
204 ifconfig now addes aliases to devices other than eth0
205 dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable
206 instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE}
207 ones
208
209 removed modules use dependancy in net.lo and added installed
210 - this allows use to provide "virtual" modules which are only "installed"
211 when other depended modules are installed
212
213* rc-scripts 1.6.7 (03 Dec 2004)
214
215 03 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
216
217 Simply filesystem unmounting in halt.sh. Based upon work by Georg Sauthoff
218 #68697. Also clean up the filesystem remounting readonly. As a last
219 resort to filesystems which won't remount readonly, we try to unmount them
220 with the force/readonly options. Idea from #70349.
221
222 03 Dec 2004; Roy Marples <uberlord@gentoo.org>:
223
224 Fixed config-system for only changing hostname when needed
225 udhcpc and dhclient now restore saved configs when stopping and work
226 with non-infinite leases
227 Moved generic dhcp options into a space seperated string
228 udhcpc now caches it's IP address and requests it the next time it starts
229 if the address is not released
230 udhcpc and dhclient no longer flush interfaces if we don't need too
231 ipppd module now looks for ipppd in /usr/sbin - fixes #73067
232
233 02 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
234
235 Merge time checking function (is_older_than) to help simplify config
236 file update checking. Used for now in env-update.sh #71285. Function
237 written by Paul Pacheco #55329.
238
239 02 Dec 2004; Roy Marples <uberlord@gentoo.org>:
240
241 Added option dhcp_release to specify if we release the DHCP lease or not
242 defaults to no
243 Changed variables peer_* to dhcp_*
244 dhclient and udhcpc now specify a pidfile
245 Fixed iwconfig report if iwgetid does not support --channel
246
247 01 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
248
249 Refix and clean up the netmount script to kill processes #64034.
250
251 01 Dec 2004; Roy Marples <uberlord@gentoo.org>:
252
253 Documentation fixes regarding iwconfig and linux-wlan-ng
254 Fixed bonding deps per bug #71419
255
256 30 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
257
258 Fix the UML/coLinux check in init.d/clock #72937.
259
260 Allow the user to override the default mount options via /etc/fstab
261 for all the mounts. Added a 'is_in_fstab' function to see if the
262 user has defined the mount, and if not, fall back to the hardcoded
263 stuff from before. This also lets us get rid of $RC_DEVICE_FS #70044.
264
265 26 Nov 2004; Roy Marples <uberlord@gentoo.org>:
266
267 Fixed up address detection in apipa
268 net.lo now checks for duplicate static IPv4 addresses before assigning
269 iwconfig now supports preassociate and postassociate user hooks
270 net.example - changed $1 to ${IFACE} in examples
271 clarified lack of linux-wlan-ng support
272
273 24 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
274
275 Allow users to specify charset option to dumpkeys when using unicode
276 in conf.d/keymaps #72225. Also move all the init.d/keymap specific
277 options out of rc.conf and into conf.d/keymaps and add some config
278 checks to init.d/keymaps like the clock/hostname init.d scripts.
279
280 Make sure /etc/rc.conf overrides conf.d files when starting up
281 critical services. Should help out with transition from rc.conf.
282
283 24 Nov 2004; Roy Marples <uberlord@gentoo.org>:
284
285 Ensure all net-scripts modules depend on interface_variable function
286 where applicable
287 Fixed adsl stopping - #68934. Thanks to Andreas Kauer
288
289 23 Nov 2004; Roy Marples <uberlord@gentoo.org>:
290
291 iproute2 does not need to create dummy interfaces for aliases
292 unlike ifconfig so we no longer do this
293 We now bring down all aliases and addresses properly
294 Split off some functions from net.lo into helpers.d/functions
295 so that our DHCP helper scripts can use them too :)
296 Deprecated interface specific setup in favour of a generic config
297 macchanger brings interface up now - fixes #71929
298 DHCP over VLAN now works - fixes #71860
299 Disabled modified function checking as it's far too expensive on CPU
300 and still isn't 100% reliable
301 When specifing a module that isn't emerged, you now get an error
302 telling you what to emerge
303 Removed -p option from the diff call used for function removal
304 Removed rp_filter setting - fixes first part of bug #71971
305 Added sysctl.conf settings relating to rp_filter to sysctl.conf
306 - fixes last part of bug #71971
307 Fixed pump exporing ntp servers
308 implemented MODULES_DIR so we can change directory we load from on the fly
309 fixed variables for vlans in most modules
310
311 19 Nov 2004; Aron Grffis <agriffis@gentoo.org>:
312
313 Remove crap "ll" and "d" aliases from skel .bashrc
314
315 19 Nov 2004; Roy Marples <uberlord@gentoo.org>:
316
317 tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump
318 udhcpc now does correct signal handling so we can release leases and
319 terminate cleanly
320 Improved pump process detection
321 Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc
322 scripts. This makes things much saner as udhcpc is much saner - also fixed
323 essidnet and ipv6 local link for them.
324 removed iproute2 udhcpc reliance on the "bc" command
325
326 17 Nov 2004; Roy Marples <uberlord@gentoo.org>:
327
328 Fixed invalid variable handling in bonding and vlan - bug #71419
329 apipa now brings the interface up before testing if address exists
330 Updated bonding documentation - bug #71419
331 Fixed iproute2 adding addresses for vlans - bug #71419
332 ifconfig handle inet6 routing automatically - bug #33310
333 ifconfig - fixed old gateway + gateway in routes conflict
334 iproute2 cleaned up some functions
335
336 16 Nov 2004; Roy Marples <uberlord@gentoo.org>:
337
338 We no longer default a fallback to APIPA when no config is given
339 net.example fleshed out a bit more for dhcpcd - fixes #60845
340 Improved forced module handling a touch
341 modules_sort and modules_check_user in net.lo buffer _provides,
342 _before and _after in arrays to avoid shelling out
343
344 15 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
345
346 Add a check to clock init.d to make sure users dont try to set
347 config their clock in rc.conf anymore.
348
349 Redo hostname/domainname scripts to use files in /etc/conf.d/
350 instead of creating files in /etc/. Allows for controlling things
351 like the behavior of setting the 'domain' in resolv.conf since users
352 may not always understand exactly what's going on.
353
354 Stop referring to conf.d/basic as a global rc config option. That
355 file hasn't been used in a long time and has since been replaced
356 with env.d/00basic. Updated sbin/runscript.sh, etc/profile,
357 sbin/rc-help.sh, and src/awk/cachedepends.awk.
358
359 Run `find | xargs` instead of `find -exec`. Much better performance
360 this way, and busybox friendly #59732.
361
362 15 Nov 2004; Roy Marples <uberlord@gentoo.org>:
363
364 Split modules_load into smaller more managable functions in net.lo
365 Added modules_force option to net.lo with a big phat warning in
366 net.example about it potentially breaking networking
367 Added searchdomains_ESSID option to essidnet
368 Stopped the domain setting from putting the same entry in search
369 in config-system and essidnet
370 Removed second warning in net.lo when configuration not set
371 Documented APIPA module in net.example
372 Added kernel checking for vlan - fixes #70829
373 Added kernel checking for bonding, bridging and tuntap
374 Added iproute2 support to the APIPA module
375
376 13 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
377
378 Update the svcdir mounting #69595. Instead of mounting in /mnt
379 and then bind mounting to $svcdir, we mount the ramdisk on $svcidr.
380
381 12 Nov 2004; Roy Marples <uberlord@gentoo.org>:
382
383 Added arping duplicate address detection to net.lo
384 Created Automatic Private IP Addressing (APIPA) module
385
386 Added dependancy checking to ipppd
387 Bonding is now started pre instead of post
388 Fixed iface variable in dhcp modules for vlans
389 Changed get_device to interface_device
390 Changed get_type to interface_type
391 Added vlan configuration options and documented them in net.example
392 Fixed bridge configuration handling
393 Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
394
395 11 Nov 2004; Roy Marples <uberlord@gentoo.org>:
396
397 Fixed category of rp-pppoe to net-dialup error when requesting ADSL
398 Improved inet6 address deletion and detection in iproute2
399 Improved gateway logic in ifconfig
400 Changed all wireless reporting functions to use iwgetid instead of
401 parsing iwconfig output except for essid
402
403* rc-scripts 1.6.6 (08 Nov 2004)
404
405 08 Nov 2004; Roy Marples <uberlord@gentoo.org>:
406
407 Added options to configure bridge
408 Added bridge configuration example to net.example
409 Added missing required function interface_exists to iptunnel check_depends
410
411 07 Nov 2004; Aron Griffis <agriffis@gentoo.org>:
412
413 Fix shell scripting errors that would result in
414 /sbin/functions.sh: line 166: [: too many arguments.
415
416 05 Nov 2004; Roy Marples <uberlord@gentoo.org>:
417
418 net-scripts/net.modules.d/bridge
419 - fixed destroying a bridge if no ports were added
420 - starts interfaces if they don't exist - fixed bug #65153
421
422 net-scrips/net.modules.d/bonding
423 - starts interfaces if they don't exist
424
425 net-scripts/init.d/net.lo
426 - added net_start() function to start depandant ifaces
427 so that bridge br0 can active tun0 which net.tun0 has to create
428 - added use dependany on wlan incase we're using linux-wlan-ng drivers
429 fixes bug #64978
430 - moved start() to run_start() and stop() to run_stop()
431 created run() and new start()/stop() functions
432 this is so that we have one single entry point to localise variables
433 and to remove any added functions loaded by our modules
434 - removed redundant interface_exists() as it's provided by
435 ifconfig and/or iproute2
436
437 net-scripts/net.modules.d/ifconfig and iproute2
438 - added ifconfig_tunnel and iproute2_tunnel functions
439
440 addred gre/ipip tunnel support via the the tunnel module
441 - fixes bug #50765
442
443 04 Nov 2004; Roy Marples <uberlord@gentoo.org>:
444
445 net-scripts/net.modules.d/pump
446 - fixed setting ntp servers
447
448 net-scripts/net.modules.d/dhcpcd
449 - fixed stopping function
450
451 net-scripts/net.modules.d/bonding
452 - fixed module to actually work with the interface
453
454 net-scripts/init.d/net.lo
455 - we remove all added functions when restarting an interface
456 this relies on the diff command being available
457
458 added isdn support via the new ipppd module - fixes bug #69035
459
460 net-scripts/conf.d/net.example
461 - added sample isdn setup
462
463 net-scripts/conf.d/wireless.example
464 - added better descriptions to the _sleep variables
465
466 Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
467 - fixed bug #70022
468
469 net.lo - added get_type function to return the type of the interface
470 - eth, ippp, etc
471
472 ipppd, tuntap
473 - start() moved to pre_start() and we now test by type
474 this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
475 as ippp0 is always an isdn device
476
477 bridge - fixed stop function and moved start() to pre_start()
478 and automatically start if the variable bridge_${iface} exists
479
480 net.example - fixed up documentation for changed behaviour above
481
482 03 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
483
484 When launching critical services in /sbin/rc, make sure we source
485 the conf.d file (if it exists). Resolves #69956.
486
487 03 Nov 2004; Roy Marples <uberlord@gentoo.org>:
488
489 net-scripts/init.d/net.lo
490 - fixed !module when it's not installed
491 - we can now specify null inet addresses in the config
492 this allows a pure inet6 setup
493 - shutdown lo the same way we bring it up
494
495 net-scripts/net.modules.d/ifconfig
496 - changed IPv6 to inet6 in output of adding inet6 addresses
497 - just output inet6 address removed, not eth0 del foo
498
499 net-scripts/net.modules.d/iproute2
500 - fix deletion of non-link addresses - fixes bug #65417 (again)
501 - handle inet6 addresses like ifconfig - fixes more bug #65417
502
503 net-scripts/conf.d/net.example
504 - noted that inet6 addresses do not create aliases
505 - added examples of assigning inet6 addresses
506
507 net-scripts/net.modules.d/iwconfig
508 - improve error message when card does not support scanning
509
510 net-scripts/conf.d/wireless.example
511 - fixed comment regarding preferred_aps not working with cards that don't
512 support scanning
513
514 02 Nov 2004; Roy Marples <uberlord@gentoo.org>:
515
516 net-scripts/conf.d/net.example
517 - added bridging and tuntap examples
518
519 net-scripts/init.d/net.lo
520 - modprobe ${IFACE} when ${IFACE} does not exist
521
522 net-scripts/net.modules.d/ifconfig
523 - fixed interface existance check
524
525 net-scripts/net.modules.d
526 ifconfig & iproute2
527 - added boolean to interface_exists to report if it exists or not
528 - added checks to see if the interface exists or not when starting
529
530 dhcpcd
531 - removed debug line
532
533 bonding, dhclient, dhcpcd, essidnet, macchanger, pump, udhcpc
534 - added checks to see if the interface exists or not when starting
535
536 tuntap
537 - added checks to see if the interface exists or not when stopping
538
539 01 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
540
541 Dump the error message that hwclock returns since it tends to be
542 quite useful. Modified init.d/clock.
543
544 Fix error in functions.sh [ -z "$@" ] -> [[ -z "$@" ]] #69789.
545
546 Don't create /dev/sndstat link anymore in populate_udev per #69635.
547
548 01 Nov 2004; Roy Marples <uberlord@gentoo.org>:
549
550 net-scripts/init.d/net.lo:
551 - modules specified by interface config now error if they are not loaded
552 - moved interface check to after preup incase user preup loads drivers
553 - modules can be explicitly not used by prefixing them with a !
554 however, they are still available to other modules
555 fixes bugs #68908, #69027
556 - remove check to see if interface exists
557 - modules may setup new interfaces and still require config
558 so we have a new label counter in iface_start
559 - removed the check to see if a class wrapping already exists
560 this fixes the bug where ifconfig and iproute2 are installed, but
561 ifconfig is asked for and the interface is restarted.
562 - added check to see if the configured module is loaded
563 and installed or not in iface_start
564 - add dependancy on isdn4linux - fixes bug #69035
565 - interface_exists moved to iproute and ifconfig
566
567 net-scripts/net.modules.d
568 - Split wireless module into iwconfig and essidnet modules
569 - Added tuntap and bridge modules, fixes bug #55394, #30688
570
571 net-scripts/init.d/iwconfig:
572 - wep mode is now reported
573 - removed post_stop function so we keep existing config
574 - added pre_stop to set the ESSID variable
575 - changed to veinfo/vewarn where appropriate
576 - check if interface exists otherwise abort gracefully
577 - no longer deletes addresses as we now avoid
578 ipv6 local addresses in detecting if interface has an addresses or not
579
580 net-scripts/init.d/ifconfig:
581 - added flag enable/disable function
582 - scope:link inet6 addresses are ignored when testing is_up and
583 del_addresses - fixes bug #65417
584
585 net-scripts/init.d/iproute2:
586 - added flag enable/disable function
587 - scope:link inet6 addresses are ignored when testing is_up and
588 del_addresses - fixes bug #65417
589
590 net-scripts/init.d/macchanger:
591 - fixed detecting whether the change worked or not, fixes bug #68893
592
593 net-scripts/init.d/vlan:
594 - fixed old config problem
595
596 31 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
597
598 Do not delete depscan and envupdate caches on reboot, as this should
599 improve bootup times - works nicely with the '-u' parameters of both.
600 Also move the '-u' parameter test of depscan.sh after the directory
601 exist test, else ${svcdir}/started/, etc do not exist. Modified both
602 /sbin/rc and /sbin/depscan.sh for this.
603
604 Move things around in /sbin/functions.sh to have all functions above.
605
606 Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.
607
608 28 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
609
610 Only add files not managed by udev to device tarball, bug #57110.
611
612 28 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
613
614 Revert pam_console_apply udev check in bootmisc/halt.sh since
615 the bug is with pam_console_apply and not udev/pam.
616
617 Use ${EUID} instead of $(id -u) to help out BSD in runscript.sh.
618
619 Allow users to select ramfs instead of default tmpfs for mounting
620 on /dev with udev #69091.
621
622 Add issue.devfix which would be auto copied to /etc/issue if
623 /sbin/rc detects the user is missing /dev/null or /dev/console.
624 Includes a simple explanation/fix for what's wrong.
625
626 Make sure the clock init script runs after checkroot/modules/localmount
627 so that timestamps are synchronized asap #68133 / #70008.
628
629 Accept '-nc' as a short option to '--nocolor' #64736.
630
631 26 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
632
633 Don't use -A with fsck to respect the fs_passno since it'll try
634 to fsck all filesystems, not just the ones specified. Instead,
635 awk /etc/fstab to review the passno field in checkroot #68822.
636
637 Add support for 'gentoo=forcefsck' boot option in checkroot.
638
639 Make sure we run devfsd in /sbin/rc even when /dev has been
640 automounted by the kernel #68795.
641
642 Don't generate the device tarball in halt.sh with livecds #68469.
643
644 25 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
645
646 net-scripts/net.modules.d/ifconfig:
647 - Simplify ifconfig_is_up()
648 - Fix ifconfig_get_aliases_rev() to actually work... you can't
649 specify an interface name to ifconfig if you want to see the
650 aliases.
651 - Workaround a couple ifconfig bugs dealing with aliases
652 - Correct a return status in ifconfig_interface_del_addresses()
653 - ifconfig_iface_stop() is bool, not void; fix the comments
654
655 net-scripts/net.modules.d/iproute2:
656 - iproute2_iface_stop() is bool, not void. Fix the code so it
657 returns meaningful values
658
659 net-scripts/init.d/net.lo:
660 - Fix preferred (ifconfig/dhcpcd) module loading so it doesn't
661 barf when a preferred module is either (1) missing from
662 net.modules.d or (2) not available due to missing dependencies
663 - When loading all modules in order to stop an interface, only use
664 the first available to satisfy each class wrapper
665
666 24 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
667
668 Include livecd patch that was applied to baselayout-1.9.4-r6
669 to use agetty instead of mingetty
670
671 24 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
672
673 Mount tmpfs instead of ramfs on /dev when using udev systems.
674 The problem with ramfs is that it has no size limitations so
675 one could easily take down their machine by accident #68653.
676
677* rc-scripts 1.6.3 (23 Oct 2004)
678
679 22 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
680
681 Add support for user_eth0 in the adsl module and in net.example.
682 This means that most users won't need to edit pppoe.conf at all
683
684 21 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
685
686 Remove old etc/conf.d/net and try to clarify instructions in
687 net-scripts/conf.d/net.example. Add example for ADSL
688
689 21 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
690
691 Merge all of the UML checks into one function, is_uml_sys(),
692 which is now in functions.sh.
693
694 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
695
696 Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
697 depend on RC_VERBOSE which defaults to no. Add --verbose to args
698 understood by runscript.sh.
699
700 In net.lo, use veinfo and friends when loading modules since this
701 information is confusing to users.
702
703 In net.lo, always load global "modules" setting in following
704 "modules_iface" since this is a little easier for users to
705 understand.
706
707 In net.lo, use eindent for output of pre/post scripts
708
709 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
710
711 Add shfs to our list of net filesystems #61452. Also add afs/nfs4.
712
713 Add a '-u' parameter to depscan.sh to allow for updates only when
714 the config files have changed. With /sbin/rc using this, we speed
715 up bootup by only regenerating the cache when need be #67976. Also
716 add a '-u' parameter to env-update.sh for same reasons.
717
718 Don't run depscan.sh in rc-update anymore since the cache files don't
719 depend on runlevels (which is all that rc-update modifies).
720
721 Add unicode support to keymaps/consolefont #32111 and UML support #29707.
722
723 Add checks to many filesystem operations in the eventuality that the
724 filesystems are mounted read only.
725
726 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
727
728 Update the default fstab /dev/shm mount to include the nodev, nosuid,
729 and noexec mount flags. No reason for the filesystem to have those.
730
731 Cleaned up the clock init script. Moved the clock options out of
732 rc.conf and into its own conf.d/clock file. Added support for the
733 weird Alpha consoles SRM/ARC since they need special config options.
734 Also made the syncing of system clock to hardware clock at shutdown
735 optional (with the default being off) #15834. Don't try to set the
736 clock if running inside a coLinux environment #52870.
737
738 Update default PATH ordering to try to follow default behavior in
739 other distro's and because it's logical that /usr/local should
740 override /usr which should override /. Fixes #12531.
741
742 Move devfs stuff out of baselayout and into the devfsd package.
743
744 Don't run /sbin/pam_console_apply -r if using udev on /dev #50315.
745
746 14 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
747
748 Fix rc-status to work with new COLS code.
749
750 14 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
751
752 Allow users to mount ramfs/tmpfs/ramdisk as their svcdir and
753 stop assuming ramfs==ramdisk #64079.
754
755 13 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
756
757 Rework the code for managing /dev to make it more flexible for
758 users. Some don't want to use devfs/udev but rather just create
759 their own nodes. Handles some issues with #44906 / #67276.
760
761 Move the utmp clearing code out of bootmisc and into /sbin/rc.
762 The utmp log must be cleared while in the initial boot level
763 (meaning inside /sbin/rc) because as soon as rc exists, init
764 writes a 'boot' record (`who -b`) which would normally be lost
765 when the bootmisc init.d script is run #61727.
766
767 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
768
769 Cosmetic fixes for starting loopback interface
770
771 SpanKY doesn't like the dots... disable them by default, but you
772 can set RC_DOT_PATTERN=' .' in /etc/conf.d/rc to get them back
773
774* rc-scripts 1.6.2 (13 Oct 2004)
775
776 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
777
778 Install net.modules.d to /lib/rcscripts instead of /etc so we
779 don't have to deal with CONFIG_PROTECT
780
781 Fix diff code in modules_load so it can identify which functions
782 have been modified
783
784 Fix fallback mechanism in iface_start so that it works correctly
785 and doesn't report a bogus error message when trying the fallback
786
787 Get rid of need_begin trickery in iface_stop
788
789 Simplify eend processing in dhcp modules
790
791 Implement eindent, eoutdent, esetdent in functions.sh and adjust
792 net-scripts to use them.
793
794 Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
795 RC_INDENTATION and to work better on serial terminals
796
797 Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
798
799 12 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
800
801 Fix ipaddr_fallback in net-scripts/conf.d/net.example
802
803 09 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
804
805 Remove init.d/net.eth0 net.lo and net.ppp0. The first two are
806 provided now by net-scripts and net.ppp0 is shipped in
807 net-dialup/ppp
808
809 Create NET_FS_LIST and is_net_fs in functions.sh and use them in
810 checkroot, localmount, netmount, net.example, and net.lo
811
812 09 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
813
814 If the hostname has already been set via the kernel/dhcp, don't
815 force it to 'localhost'. Used in netboot/terminal setups #38172.
816
817 Add domainname to default boot runlevel list #47041.
818
819 08 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
820
821 Make sure that when we try to mount /sys, we do so with -n (tigger).
822
823 Add some examples for nfs to sysctl.conf #66575.
824
825 06 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
826
827 Update to net-scripts 1.0.2 from Roy
828 ------------------------------------
829 - wireless module: replaced preferred_only var with
830 associate_order this makes more sense now as we have changed the
831 possible values
832 - wireless module: added patch from Daniel Zappala we should call
833 wireless_get_essid everywhere now
834 - wireless module: don't declare ESSID local in
835 wireless_configure(). This allows ESSID to be tested in the
836 user defined postup() function
837 - wireless module: test type != "NOT READY!" instead of testing =
838 IEEE. this resolves problems with intel and ra-tech drivers
839 - net.lo start() now errors when the interface does not exist
840 - dhcpcd, dhclient, udhcpc and pump now expose peer_* vars this
841 enables wireless to map them from peer_dns_ESSID
842 - config-system helper now loads wireless module to remap
843 variables from ESSID this allows udhcpc and dhclient to use
844 remapped wireless vars
845 - fixed dhcpcd and pump modules using peer_* vars
846 - wireless aborts after 5 seconds if it cannot report a valid
847 ESSID this fixes a potential infinite loop problem
848 - wireless_setup_iface() renamed to wireless_map_essid_vars() this
849 avoids confusion about what the function actually does
850
851 06 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
852
853 Change the default net.ipv4.conf.default.rp_filter setting to 1
854 in sysctl.conf since it shouldn't be harmful in anyway. Redhat
855 does the same.
856
857 05 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
858
859 Get rid of getcols() in sbin/functions.sh. Use COLUMNS when
860 possible and otherwise clean up the COLS code. Fix the "emerge
861 depend" detection code to use RC_ENDCOL="no"
862
863 05 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
864
865 Changed behavior of the domainname init.d script. It will now
866 override any settings obtained via dhcp/whatever. See #48277.
867
868 Updated bootmisc to dump the output of `dmesg` to /var/log/dmesg.
869 This way users have an 'after-boot' log of their dmesg saved
870 somewhere useful #55421.
871
872 Added the 'eend' back to depscan.sh since the script starts with a
873 call to 'ebegin' #59694.
874
875 Add selinux update from Chris PeBenito for src/runscript.c #64019.
876
877 Add more quoting to rc-help.sh to fix some non-critical errors.
878 Make rc-help.sh respect the value of RC_NOCOLOR. Allow RC_NOCOLOR
879 in functions.sh to be set via the environment.
880
881 Flesh out the default sysctl.conf with comments and more examples
882 since our previous one was pretty sparse #59993.
883
884 Change calls to `uniq` to `sort -u` in checkroot/halt.sh. This way
885 we only require sort in / and not both #36453.
886
887 04 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
888
889 More (I mean a LOT more) services. This takes care of #44458,
890 #52881 #55939 #58997 #66166 #66297. Gleaned many from the IANA
891 list/Fedora/FreeBSD/Debian.
892
893 Change the test for /proc/cmdline from -e to -r. On grsecurity
894 based systems for example, the file may exist, but not be readable
895 by non-root users (patch by Ned Ludd).
896
897 03 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
898
899 Add support for NFSv4 from #25106 to the netmount script. Don't
900 try to fsck / if the root is a remote filesystem (like NFS) #36624.
901
902 Update the fs_passno values in the default fstab to match the
903 settings suggested by the manpage #37314. Make checkroot respect
904 a fs_passno setting of 0 when dealing with / #39212. Change
905 default / filesystem type to ext3 instead of xfs #42670.
906
907 Re-order the arguments to mount to match POSIX requirements #66225.
908
909 Don't pipe swapon in localmount to /dev/null and ignore return
910 codes anymore. A swapon that works shows no output #39834.
911
912 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
913
914 Break up the COL/COLOR code properly this time. Not all serial
915 consoles can handle adjusting to the end of the line, so let's not
916 bother running stty at all anymore. This should fix up #32453.
917
918 30 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
919
920 Disable cryptfs by default in the conf.d file. Also cleanup
921 the output generated in localmount/checkfs/halt.sh for dm-crypt.
922 Add an extra check so that cryptfs is only run when the conf.d
923 file exists as well as /bin/cryptsetup.
924
925 29 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
926
927 Let glibc install nscd since different versions of glibc will
928 need to be handled differently. See #43076 by Rui Malheiro.
929
930 29 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
931
932 Prefer ~/.dir_colors over /etc/DIR_COLORS when it exists #64489
933
934 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
935
936 Clear the screen in .bash_logout #32330
937
938* rc-scripts 1.6.1 (27 Sep 2004)
939
940 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
941
942 Update dm-crypt to work with multi-line configuration files.
943 Also don't set status in a subshell; it was being lost before.
944
945 23 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
946
947 Rework the logic behind the $COLS code. It should not depend
948 on whether color is enabled. Also add a check for negative
949 values (like when using a serial console).
950
951* rc-scripts 1.6.0 (15 Sep 2004)
952
953 15 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
954
955 Fix bug 64034: simplify netmount script's stop function so that
956 mountpoints containing spaces work correctly
957
958 Update tarball.sh to use net-scripts
959
960 14 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
961
962 Commit dm-crypt enablement patch from Tigger (Rob Holland) in
963 bug 43146
964
965* rc-scripts 1.5.3 (18 Aug 2004)
966
967 18 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
968
969 Fix bug 60719 (request for better error messages from runscript)
970 by allowing errors to show on the screen when they're encountered
971 in wrap_rcscript
972
973 Apply Spock's bootsplash patch from bug 45784. This moves most of
974 the splash functionality out of baselayout.
975
976 13 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
977
978 Don't export PS1. Continuation of bug 26951, comments 60-62.
979
980* rc-scripts 1.5.2 (02 Aug 2004)
981
982 02 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
983
984 Related to bug 38955, don't set INPUTRC. Instead patch bash so
985 that it looks for /etc/inputrc automatically if ~/.inputrc is
986 missing. This is better than using INPUTRC since that will
987 override even after the user creates ~/.inputrc.
988
989 Fix bug 54275: Don't set INFODIR. The correct variable used by
990 texinfo is INFOPATH, which is already set in 00basic. Setting
991 INFODIR is useless, and breaks a NetBSD cross compile from Gentoo
992
993 01 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
994
995 Fix bug 58805: net.eth0 should use bridge so that bridge
996 interfaces are configured prior to net.br0 running
997
998 Fix bug 56856: Get rid of net.rej and integrate missing stuff to
999 conf.d/net
1000
1001 Apply half of spock's patch in bug 45784: Check for
1002 conf.d/bootsplash instead of conf.d/bootsplash.conf
1003
1004 Fix bug 51351: Quote parsed output of /proc/filesystems to handle
1005 octal sequences in mountpoint such as encoded spaces (\040)
1006
1007 Fix bug 46680: Add cifs support to localmount and netmount.
1008 Thanks to Ronald Moesbergen for the patches
1009
1010 21 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
1011
1012 Fix bug 26952: Use /etc/bash/bashrc to setup PS1, testing $- to
1013 determine if shell is interactive. The new system-wide bashrc is
1014 installed by bash-2.05b-r10
1015
1016 19 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
1017
1018 Fix bug 38743: strip leading and trailing spaces from variable
1019 values in genenviron.awk. Thanks to Marius Mauch for the patch.
1020
1021 09 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
1022
1023 Fix bug 55576: swap words "start" and "stop" in runscript.sh error
1024 message
1025
1026* rc-scripts 1.5.1 (28 Jun 2004)
1027
1028 28 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
1029
1030 Fix dhcp in iface_start_ifconfig: It was re-using the variable
1031 ${i} which would result in the following error:
1032 /sbin/runscript.sh: line 441: ((: 16.141.88.153: syntax error
1033 in expression (error token is ".141.88.153")
1034
1035 Use vlan_IFACE instead of iface_IFACE_vlans in net.eth0 for more
1036 consistent vlan configuration. Thanks to robbat2 in bug 55394
1037 (not fully resolved)
1038
1039 Add example for checking if root filesystem is NFS-mounted via
1040 predown function in conf.d/net for bug 53104. This might be
1041 better integrated at some point into net.eth0
1042
1043* rc-scripts 1.5.0 (26 Jun 2004)
1044
1045 26 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
1046
1047 Fix bug 47659: support iproute2-style configuration. Thanks to
1048 Dean Bailey for some fantastic patches, including documentation
1049 for conf.d/net. This is a pretty huge re-write of net.eth0
1050
1051 Fix bug 34607: provide examples for in conf.d/net for preup,
1052 postup, predown, postdown functions. Also pay attention to return
1053 value from predown function (previously ignored)
1054
1055 15 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
1056
1057 Fix bug 25975: support adsl in net.eth0. Thanks to Patrick McLean
1058 for the initial pass at the code.
1059
1060 Fix bug 34140: add --servicelist option to rc-status. Thanks to
1061 Eldad Zack for the patch.
1062
1063 Fix bug 37418: fix order of LVM and RAID in checkfs. Thanks to
1064 Raimondo Giammanco for the patch.
1065
1066* rc-scripts 1.4.16 (06 Jun 2004)
1067
1068 06 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
1069
1070 Only call generate-modprobe.conf with --assume-kernel if
1071 modules-update was called with --assume-kernel. This means that
1072 only catalyst has the dependency on module-init-tools, not
1073 everybody with the newer baselayout
1074
1075* rc-scripts 1.4.15 (21 May 2004)
1076
1077 21 May 2004; Aron Grifis <agriffis@gentoo.org>:
1078
1079 Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh
1080
1081 Fix bug 51626: wrong variable declaration at top of
1082 get_bootparam() in /sbin/functions.sh
1083
1084* rc-scripts 1.4.14 (17 May 2004)
1085
1086 17 May 2004; Aron Griffis <agriffis@gentoo.org>:
1087
1088 Bump version to 1.4.14 to push out gmsoft's fix for hppa console
1089 on ttyB0
1090
1091* rc-scripts 1.4.13 (15 May 2004)
1092
1093 15 May 2004; Aron Griffis <agriffis@gentoo.org>:
1094
1095 Bump version to 1.4.13 to push out Gustavo's livecd serial console
1096 fixes for sparc and hppa.
1097
1098* rc-scripts 1.4.12 (07 May 2004)
1099
1100 10 May 2004; Aron Griffis <agriffis@gentoo.org>:
1101
1102 Bump version to 1.4.12 to release these critical bug fixes
1103
1104 Fix bug 50434: The new version of start-stop-daemon changes
1105 directory to / by default unless --chdir is specified. Revert
1106 this behavior to maintain working directory. This fixes openvpn
1107 startup (probably among other things). Thanks to Sven Wegener for
1108 the patch.
1109
1110 Fix bug 50448: Four days ago I changed bash loops to use the wrong
1111 conditional syntax in net.eth0. Thanks to Sven Wegener for
1112 pointing out the problem and providing a patch.
1113
1114* rc-scripts 1.4.11 (07 May 2004)
1115
1116 07 May 2004; Aron Griffis <agriffis@gentoo.org>:
1117
1118 Fix bug 20597: Skip RCS files when updating modules
1119
1120 Fix bug 49926: Add a --assume-kernel flag to modules-update. This
1121 requires a companion patch in module-init-tools-3.0-r2 to handle
1122 the same flag in generate-modprobe.conf; this dependency won't be
1123 handled in the baselayout ebuild since it only affects livecd
1124 building.
1125
1126 06 May 2004; Aron Griffis <agriffis@gentoo.org>:
1127
1128 In net.eth0, fix many instances of loops like "for ((i = 0; i <
1129 100; i = i + 1))". The problem here is that the middle comparison
1130 is being interpreted as a bash conditional, which means that it's
1131 doing string comparison by default. It needs to be "i -lt 100"
1132
1133 Fix bug 34827: net.eth0 breaks when localized because the ifconfig
1134 output changes. Wrap ifconfig in a function that overrides
1135 LC_ALL=C
1136
1137 Fix bug 48305: Provide a new network configuration variable
1138 ifconfig_fallback_eth0 which allows one to specify a fallback
1139 configuration in case DHCP fails.
1140
1141 Fix bug 50246: Give root an invalid password ("*" in /etc/shadow)
1142 in the default baselayout. This prevents the first reboot after
1143 installation from having a blank password.
1144
1145 05 May 2004; Aron Griffis <agriffis@gentoo.org>:
1146
1147 Fix bug 48595: Make sure $(id -u) is zero (root user) when running
1148 init scripts to avoid a lot of error messages.
1149
1150 Replace many lines of awk with two lines of grep in
1151 init.d/localmount
1152
1153 Fix bug 44316: Use 0644 instead of 0640 for resolv.conf in net.ppp0
1154
1155 03 May 2004; Aron Griffis <agriffis@gentoo.org>:
1156
1157 Update to version 1.10.20 of Debian's start-stop-daemon (contained
1158 in dpkg at http://packages.debian.org/testing/base/dpkg). This
1159 fixes bug 22686 (start-stop-daemon in baselayout doesn't allow
1160 altered nicelevel).
1161
1162* rc-scripts 1.4.10 (25 Apr 2004)
1163
1164 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1165
1166 Fix typos in sbin/rc: "try try mount" and "mount ... & >/dev/null"
1167 Also removed the errstr double-checking since the need for that is
1168 alleviated by these typo fixes.
1169
1170 23 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1171
1172 Fix bug 48629 (/sbin/rc fixups for udev) with patch from GregKH
1173
1174 Fix bug 40987 (gentoo should be able to boot with an empty /dev)
1175 with patch from Spanky. The patch avoids redirection to /dev/null
1176 when it doesn't exist; this was breaking /sbin/rc.
1177
1178* rc-scripts 1.4.9 (15 Apr 2004)
1179
1180 15 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1181
1182 Fix bug 47111 (severe depcache problems) with tons of help from
1183 dswhite42 and the rest of the crew in that bug. Thanks guys!
1184
1185* rc-scripts 1.4.8 (14 Apr 2004)
1186
1187 14 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1188
1189 Fix bug 47623 (error removing inet6 addresses) with patch provided
1190 by Vlad Yasevich.
1191
1192* rc-scripts 1.4.7 (12 Apr 2004)
1193
1194 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1195
1196 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
1197 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
1198 /var/lib/init.d/* directories) with patch from Terje Bergström.
1199
1200* rc-scripts 1.4.6 (08 Apr 2004)
1201
1202 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1203
1204 Update patch from Gustavoz; -ln /bin/bash should have been -nl /bin/bash
1205
1206* rc-scripts 1.4.5 (08 Apr 2004)
1207
1208 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1209
1210 Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
1211 Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
1212 serial consoles, necessary due to scrambled root passwords.
1213
1214* rc-scripts 1.4.4 (07 Apr 2004)
1215
1216 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
1217
1218 Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
1219 output. Also support 4800 baud correctly.
1220
1221 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
1222
1223 The changes in this commit pertain primarily to
1224 http://bugs.gentoo.org/show_bug.cgi?id=19695
1225 http://bugs.gentoo.org/show_bug.cgi?id=35736
1226
1227 Specify routes as an array per interface, for example:
1228 routes_eth0=(
1229 "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
1230 "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
1231 "-host 10.3.0.1 dev eth0"
1232 )
1233
1234 You can optionally use the gateway variable or just put the default route
1235 in the routes variable. The following two are REDUNDANT:
1236
1237 routes_eth0=( "default gw 10.0.0.5" )
1238 gateway="eth0/10.0.0.5"
1239
1240 Old configuration variables in /etc/conf.d/net are fully supported and
1241 used transparently if ifconfig_eth0 is missing. In other words, this new
1242 script is fully backward-compatible. However you can get rid of
1243 iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
1244 using the new syntax:
1245
1246 ifconfig_eth0=(
1247 "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
1248 "192.168.1.1 netmask 255.255.255.0"
1249 "123.456.789.1"
1250 )
1251
1252 Full backward compatibility so no danger to screwing up users relying on
1253 existing /etc/conf.d/net setup
1254
1255 NET_DEBUG can be set in the environment for copious debugging output
1256
1257 Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
1258 better functionality (and is even slightly faster)
1259
1260 Properly localize all variables, including variables returned by
1261 setup_vars
1262
1263 Allow full options for every ifconfig command, both base address and
1264 aliases via ifconfig_eth0, replacing the convoluted and less-functional
1265 iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
1266
1267 Provide full support for static routes via routes_eth0
1268
1269 Fix potential quoting problems in setup_vars by using better eval syntax
1270 instead of eval echo
1271
1272 Display IP addresses while configuring, both DHCP-retrieved and
1273 statically set addresses
1274
1275 Collapse redundant caching of $? since eend returns $? again
1276
1277 Report when keeping kernel configuration for an interface along with IP
1278 address gleaned
1279
1280 Don't reset the default gateway if it is already set correctly
1281
1282 Don't bind default gateway to particular interface when /sbin/route is
1283 called so that it can survive if there is more than one interface on the
1284 required subnet. (Old behavior can be obtained by setting
1285 routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
1286
1287 Don't bomb if default gateway can't be set since that doesn't
1288 necessarily mean that the interface configuration is invalid.
1289 (Old behavior was completely broken, but commented section
1290 demonstrates how to do it right if necessary)
1291
1292 iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
1293 This is very good because it means you can put new configuration in
1294 /etc/conf.d/net, then restart the interface and the old configuration will
1295 be properly shut down.
1296
1297 iface_stop reports when it is releasing the DHCP lease
1298
1299* rc-scripts 1.4.3.13p1 (26 Feb 2004)
1300
1301 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1302
1303 Remove /etc/DIR_COLORS, as coreutils provides it now.
1304
1305 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
1306 Also modified /sbin/rc and /etc/init.d/halt.sh for this.
1307
1308 Start udevd if present.
1309
1310 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
1311 virtual service - it had no mtime generated, so check_mtime() failed
1312 for it ...
1313
1314 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1315
1316 Update to enable checking of mtimes on rc-scripts, and auto running
1317 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
1318 is not set instead of just erroring.
1319
1320 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1321
1322 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
1323
1324 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
4 1325
5 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>: 1326 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
6 1327
7 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices 1328 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
8 are used in scripts such as consolefonts, numlock, etc. This should 1329 are used in scripts such as consolefonts, numlock, etc. This should
9 close bug #39863. 1330 close bug #39863.
1331
1332 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
1333 Cory Tusar <ctusar@adelphia.net>.
10 1334
11 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>: 1335 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
12 1336
13 Add SELinux modifications to /sbin/runscript. This allows runscript to 1337 Add SELinux modifications to /sbin/runscript. This allows runscript to
14 make sure it is running in the right domain. Patch done by 1338 make sure it is running in the right domain. Patch done by
1376 2700
1377 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified 2701 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
1378 /etc/env.d/00basic for this. 2702 /etc/env.d/00basic for this.
1379 2703
1380 Add some new daemon stop and pid detection stuff to /sbin/functions.sh. 2704 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
1381 Nothing official, but I spent enouth time on it not to want to loose it :) 2705 Nothing official, but I spent enough time on it not to want to loose it :)
1382 2706
1383 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs 2707 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
1384 to give output to stderr. This was caused by a call to "stty", which when 2708 to give output to stderr. This was caused by a call to "stty", which when
1385 run without a attatched terminal, have this effect. Basically just pipe 2709 run without a attatched terminal, have this effect. Basically just pipe
1386 stderr to /dev/null. 2710 stderr to /dev/null.
1493 is needed, else /usr/bin/newgrp segfault. 2817 is needed, else /usr/bin/newgrp segfault.
1494 2818
1495 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>: 2819 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1496 2820
1497 Update /etc/skel/.bash_profile to make it tcsh compadible. 2821 Update /etc/skel/.bash_profile to make it tcsh compadible.
1498 Thanks to Vin Jrvel for this fix. 2822 Thanks to Väinö Järvelä for this fix.
1499 2823
1500 Update /etc/profile to also set the PS? variables if $SHELL 2824 Update /etc/profile to also set the PS? variables if $SHELL
1501 is set to /bin/sh. This should make prompt colours in 2825 is set to /bin/sh. This should make prompt colours in
1502 bootstrap work again. 2826 bootstrap work again.
1503 2827

Legend:
Removed from v.1.319  
changed lines
  Added in v.1.586

  ViewVC Help
Powered by ViewVC 1.1.20