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

Diff of /rc-scripts/ChangeLog

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

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

Legend:
Removed from v.1.358  
changed lines
  Added in v.1.589

  ViewVC Help
Powered by ViewVC 1.1.20