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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.501 - (show annotations) (download)
Fri Nov 19 16:22:04 2004 UTC (10 years, 1 month ago) by uberlord
Branch: MAIN
Changes since 1.500: +9 -0 lines
tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump
udhcpc now does correct signal handling so we can release leases and
terminate cleanly
Improved pump process detection
Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc
scripts. This makes things much saner as udhcpc is much saner - also fixed
essidnet and ipv6 local link for them.

1 # ChangeLog for Gentoo System Intialization ("rc") scripts
2 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPLv2
3
4 19 Nov 2004; Roy Marples <uberlord@gentoo.org>:
5 tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump
6 udhcpc now does correct signal handling so we can release leases and
7 terminate cleanly
8 Improved pump process detection
9 Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc
10 scripts. This makes things much saner as udhcpc is much saner - also fixed
11 essidnet and ipv6 local link for them.
12
13 17 Nov 2004; Roy Marples <uberlord@gentoo.org>:
14 Fixed invalid variable handling in bonding and vlan - bug #71419
15 apipa now brings the interface up before testing if address exists
16 Updated bonding documentation - bug #71419
17 Fixed iproute2 adding addresses for vlans - bug #71419
18 ifconfig handle inet6 routing automatically - bug #33310
19 ifconfig - fixed old gateway + gateway in routes conflict
20 iproute2 cleaned up some functions
21
22 16 Nov 2004; Roy Marples <uberlord@gentoo.org>:
23
24 We no longer default a fallback to APIPA when no config is given
25 net.example fleshed out a bit more for dhcpcd - fixes #60845
26 Improved forced module handling a touch
27 modules_sort and modules_check_user in net.lo buffer _provides,
28 _before and _after in arrays to avoid shelling out
29
30 15 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
31
32 Add a check to clock init.d to make sure users dont try to set
33 config their clock in rc.conf anymore.
34
35 Redo hostname/domainname scripts to use files in /etc/conf.d/
36 instead of creating files in /etc/. Allows for controlling things
37 like the behavior of setting the 'domain' in resolv.conf since users
38 may not always understand exactly what's going on.
39
40 Stop referring to conf.d/basic as a global rc config option. That
41 file hasn't been used in a long time and has since been replaced
42 with env.d/00basic. Updated sbin/runscript.sh, etc/profile,
43 sbin/rc-help.sh, and src/awk/cachedepends.awk.
44
45 Run `find | xargs` instead of `find -exec`. Much better performance
46 this way, and busybox friendly #59732.
47
48 15 Nov 2004; Roy Marples <uberlord@gentoo.org>:
49
50 Split modules_load into smaller more managable functions in net.lo
51 Added modules_force option to net.lo with a big phat warning in
52 net.example about it potentially breaking networking
53 Added searchdomains_ESSID option to essidnet
54 Stopped the domain setting from putting the same entry in search
55 in config-system and essidnet
56 Removed second warning in net.lo when configuration not set
57 Documented APIPA module in net.example
58 Added kernel checking for vlan - fixes #70829
59 Added kernel checking for bonding, bridging and tuntap
60 Added iproute2 support to the APIPA module
61
62 13 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
63
64 Update the svcdir mounting #69595. Instead of mounting in /mnt
65 and then bind mounting to $svcdir, we mount the ramdisk on $svcidr.
66
67 12 Nov 2004; Roy Marples <uberlord@gentoo.org>:
68
69 Added arping duplicate address detection to net.lo
70 Created Automatic Private IP Addressing (APIPA) module
71
72 Added dependancy checking to ipppd
73 Bonding is now started pre instead of post
74 Fixed iface variable in dhcp modules for vlans
75 Changed get_device to interface_device
76 Changed get_type to interface_type
77 Added vlan configuration options and documented them in net.example
78 Fixed bridge configuration handling
79 Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
80
81 11 Nov 2004; Roy Marples <uberlord@gentoo.org>:
82
83 Fixed category of rp-pppoe to net-dialup error when requesting ADSL
84 Improved inet6 address deletion and detection in iproute2
85 Improved gateway logic in ifconfig
86 Changed all wireless reporting functions to use iwgetid instead of
87 parsing iwconfig output except for essid
88
89 * rc-scripts 1.6.6 (08 Nov 2004)
90
91 08 Nov 2004; Roy Marples <uberlord@gentoo.org>:
92
93 Added options to configure bridge
94 Added bridge configuration example to net.example
95 Added missing required function interface_exists to iptunnel check_depends
96
97 07 Nov 2004; Aron Griffis <agriffis@gentoo.org>:
98
99 Fix shell scripting errors that would result in
100 /sbin/functions.sh: line 166: [: too many arguments.
101
102 05 Nov 2004; Roy Marples <uberlord@gentoo.org>:
103
104 net-scripts/net.modules.d/bridge
105 - fixed destroying a bridge if no ports were added
106 - starts interfaces if they don't exist - fixed bug #65153
107
108 net-scrips/net.modules.d/bonding
109 - starts interfaces if they don't exist
110
111 net-scripts/init.d/net.lo
112 - added net_start() function to start depandant ifaces
113 so that bridge br0 can active tun0 which net.tun0 has to create
114 - added use dependany on wlan incase we're using linux-wlan-ng drivers
115 fixes bug #64978
116 - moved start() to run_start() and stop() to run_stop()
117 created run() and new start()/stop() functions
118 this is so that we have one single entry point to localise variables
119 and to remove any added functions loaded by our modules
120 - removed redundant interface_exists() as it's provided by
121 ifconfig and/or iproute2
122
123 net-scripts/net.modules.d/ifconfig and iproute2
124 - added ifconfig_tunnel and iproute2_tunnel functions
125
126 addred gre/ipip tunnel support via the the tunnel module
127 - fixes bug #50765
128
129 04 Nov 2004; Roy Marples <uberlord@gentoo.org>:
130
131 net-scripts/net.modules.d/pump
132 - fixed setting ntp servers
133
134 net-scripts/net.modules.d/dhcpcd
135 - fixed stopping function
136
137 net-scripts/net.modules.d/bonding
138 - fixed module to actually work with the interface
139
140 net-scripts/init.d/net.lo
141 - we remove all added functions when restarting an interface
142 this relies on the diff command being available
143
144 added isdn support via the new ipppd module - fixes bug #69035
145
146 net-scripts/conf.d/net.example
147 - added sample isdn setup
148
149 net-scripts/conf.d/wireless.example
150 - added better descriptions to the _sleep variables
151
152 Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
153 - fixed bug #70022
154
155 net.lo - added get_type function to return the type of the interface
156 - eth, ippp, etc
157
158 ipppd, tuntap
159 - start() moved to pre_start() and we now test by type
160 this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
161 as ippp0 is always an isdn device
162
163 bridge - fixed stop function and moved start() to pre_start()
164 and automatically start if the variable bridge_${iface} exists
165
166 net.example - fixed up documentation for changed behaviour above
167
168 03 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
169
170 When launching critical services in /sbin/rc, make sure we source
171 the conf.d file (if it exists). Resolves #69956.
172
173 03 Nov 2004; Roy Marples <uberlord@gentoo.org>:
174
175 net-scripts/init.d/net.lo
176 - fixed !module when it's not installed
177 - we can now specify null inet addresses in the config
178 this allows a pure inet6 setup
179 - shutdown lo the same way we bring it up
180
181 net-scripts/net.modules.d/ifconfig
182 - changed IPv6 to inet6 in output of adding inet6 addresses
183 - just output inet6 address removed, not eth0 del foo
184
185 net-scripts/net.modules.d/iproute2
186 - fix deletion of non-link addresses - fixes bug #65417 (again)
187 - handle inet6 addresses like ifconfig - fixes more bug #65417
188
189 net-scripts/conf.d/net.example
190 - noted that inet6 addresses do not create aliases
191 - added examples of assigning inet6 addresses
192
193 net-scripts/net.modules.d/iwconfig
194 - improve error message when card does not support scanning
195
196 net-scripts/conf.d/wireless.example
197 - fixed comment regarding preferred_aps not working with cards that don't
198 support scanning
199
200 02 Nov 2004; Roy Marples <uberlord@gentoo.org>:
201
202 net-scripts/conf.d/net.example
203 - added bridging and tuntap examples
204
205 net-scripts/init.d/net.lo
206 - modprobe ${IFACE} when ${IFACE} does not exist
207
208 net-scripts/net.modules.d/ifconfig
209 - fixed interface existance check
210
211 net-scripts/net.modules.d
212 ifconfig & iproute2
213 - added boolean to interface_exists to report if it exists or not
214 - added checks to see if the interface exists or not when starting
215
216 dhcpcd
217 - removed debug line
218
219 bonding, dhclient, dhcpcd, essidnet, macchanger, pump, udhcpc
220 - added checks to see if the interface exists or not when starting
221
222 tuntap
223 - added checks to see if the interface exists or not when stopping
224
225 01 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
226
227 Dump the error message that hwclock returns since it tends to be
228 quite useful. Modified init.d/clock.
229
230 Fix error in functions.sh [ -z "$@" ] -> [[ -z "$@" ]] #69789.
231
232 Don't create /dev/sndstat link anymore in populate_udev per #69635.
233
234 01 Nov 2004; Roy Marples <uberlord@gentoo.org>:
235
236 net-scripts/init.d/net.lo:
237 - modules specified by interface config now error if they are not loaded
238 - moved interface check to after preup incase user preup loads drivers
239 - modules can be explicitly not used by prefixing them with a !
240 however, they are still available to other modules
241 fixes bugs #68908, #69027
242 - remove check to see if interface exists
243 - modules may setup new interfaces and still require config
244 so we have a new label counter in iface_start
245 - removed the check to see if a class wrapping already exists
246 this fixes the bug where ifconfig and iproute2 are installed, but
247 ifconfig is asked for and the interface is restarted.
248 - added check to see if the configured module is loaded
249 and installed or not in iface_start
250 - add dependancy on isdn4linux - fixes bug #69035
251 - interface_exists moved to iproute and ifconfig
252
253 net-scripts/net.modules.d
254 - Split wireless module into iwconfig and essidnet modules
255 - Added tuntap and bridge modules, fixes bug #55394, #30688
256
257 net-scripts/init.d/iwconfig:
258 - wep mode is now reported
259 - removed post_stop function so we keep existing config
260 - added pre_stop to set the ESSID variable
261 - changed to veinfo/vewarn where appropriate
262 - check if interface exists otherwise abort gracefully
263 - no longer deletes addresses as we now avoid
264 ipv6 local addresses in detecting if interface has an addresses or not
265
266 net-scripts/init.d/ifconfig:
267 - added flag enable/disable function
268 - scope:link inet6 addresses are ignored when testing is_up and
269 del_addresses - fixes bug #65417
270
271 net-scripts/init.d/iproute2:
272 - added flag enable/disable function
273 - scope:link inet6 addresses are ignored when testing is_up and
274 del_addresses - fixes bug #65417
275
276 net-scripts/init.d/macchanger:
277 - fixed detecting whether the change worked or not, fixes bug #68893
278
279 net-scripts/init.d/vlan:
280 - fixed old config problem
281
282 31 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
283
284 Do not delete depscan and envupdate caches on reboot, as this should
285 improve bootup times - works nicely with the '-u' parameters of both.
286 Also move the '-u' parameter test of depscan.sh after the directory
287 exist test, else ${svcdir}/started/, etc do not exist. Modified both
288 /sbin/rc and /sbin/depscan.sh for this.
289
290 Move things around in /sbin/functions.sh to have all functions above.
291
292 Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.
293
294 28 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
295
296 Only add files not managed by udev to device tarball, bug #57110.
297
298 28 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
299
300 Revert pam_console_apply udev check in bootmisc/halt.sh since
301 the bug is with pam_console_apply and not udev/pam.
302
303 Use ${EUID} instead of $(id -u) to help out BSD in runscript.sh.
304
305 Allow users to select ramfs instead of default tmpfs for mounting
306 on /dev with udev #69091.
307
308 Add issue.devfix which would be auto copied to /etc/issue if
309 /sbin/rc detects the user is missing /dev/null or /dev/console.
310 Includes a simple explanation/fix for what's wrong.
311
312 Make sure the clock init script runs after checkroot/modules/localmount
313 so that timestamps are synchronized asap #68133 / #70008.
314
315 Accept '-nc' as a short option to '--nocolor' #64736.
316
317 26 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
318
319 Don't use -A with fsck to respect the fs_passno since it'll try
320 to fsck all filesystems, not just the ones specified. Instead,
321 awk /etc/fstab to review the passno field in checkroot #68822.
322
323 Add support for 'gentoo=forcefsck' boot option in checkroot.
324
325 Make sure we run devfsd in /sbin/rc even when /dev has been
326 automounted by the kernel #68795.
327
328 Don't generate the device tarball in halt.sh with livecds #68469.
329
330 25 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
331
332 net-scripts/net.modules.d/ifconfig:
333 - Simplify ifconfig_is_up()
334 - Fix ifconfig_get_aliases_rev() to actually work... you can't
335 specify an interface name to ifconfig if you want to see the
336 aliases.
337 - Workaround a couple ifconfig bugs dealing with aliases
338 - Correct a return status in ifconfig_interface_del_addresses()
339 - ifconfig_iface_stop() is bool, not void; fix the comments
340
341 net-scripts/net.modules.d/iproute2:
342 - iproute2_iface_stop() is bool, not void. Fix the code so it
343 returns meaningful values
344
345 net-scripts/init.d/net.lo:
346 - Fix preferred (ifconfig/dhcpcd) module loading so it doesn't
347 barf when a preferred module is either (1) missing from
348 net.modules.d or (2) not available due to missing dependencies
349 - When loading all modules in order to stop an interface, only use
350 the first available to satisfy each class wrapper
351
352 24 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
353
354 Include livecd patch that was applied to baselayout-1.9.4-r6
355 to use agetty instead of mingetty
356
357 24 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
358
359 Mount tmpfs instead of ramfs on /dev when using udev systems.
360 The problem with ramfs is that it has no size limitations so
361 one could easily take down their machine by accident #68653.
362
363 * rc-scripts 1.6.3 (23 Oct 2004)
364
365 22 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
366
367 Add support for user_eth0 in the adsl module and in net.example.
368 This means that most users won't need to edit pppoe.conf at all
369
370 21 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
371
372 Remove old etc/conf.d/net and try to clarify instructions in
373 net-scripts/conf.d/net.example. Add example for ADSL
374
375 21 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
376
377 Merge all of the UML checks into one function, is_uml_sys(),
378 which is now in functions.sh.
379
380 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
381
382 Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
383 depend on RC_VERBOSE which defaults to no. Add --verbose to args
384 understood by runscript.sh.
385
386 In net.lo, use veinfo and friends when loading modules since this
387 information is confusing to users.
388
389 In net.lo, always load global "modules" setting in following
390 "modules_iface" since this is a little easier for users to
391 understand.
392
393 In net.lo, use eindent for output of pre/post scripts
394
395 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
396
397 Add shfs to our list of net filesystems #61452. Also add afs/nfs4.
398
399 Add a '-u' parameter to depscan.sh to allow for updates only when
400 the config files have changed. With /sbin/rc using this, we speed
401 up bootup by only regenerating the cache when need be #67976. Also
402 add a '-u' parameter to env-update.sh for same reasons.
403
404 Don't run depscan.sh in rc-update anymore since the cache files don't
405 depend on runlevels (which is all that rc-update modifies).
406
407 Add unicode support to keymaps/consolefont #32111 and UML support #29707.
408
409 Add checks to many filesystem operations in the eventuality that the
410 filesystems are mounted read only.
411
412 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
413
414 Update the default fstab /dev/shm mount to include the nodev, nosuid,
415 and noexec mount flags. No reason for the filesystem to have those.
416
417 Cleaned up the clock init script. Moved the clock options out of
418 rc.conf and into its own conf.d/clock file. Added support for the
419 weird Alpha consoles SRM/ARC since they need special config options.
420 Also made the syncing of system clock to hardware clock at shutdown
421 optional (with the default being off) #15834. Don't try to set the
422 clock if running inside a coLinux environment #52870.
423
424 Update default PATH ordering to try to follow default behavior in
425 other distro's and because it's logical that /usr/local should
426 override /usr which should override /. Fixes #12531.
427
428 Move devfs stuff out of baselayout and into the devfsd package.
429
430 Don't run /sbin/pam_console_apply -r if using udev on /dev #50315.
431
432 14 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
433
434 Fix rc-status to work with new COLS code.
435
436 14 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
437
438 Allow users to mount ramfs/tmpfs/ramdisk as their svcdir and
439 stop assuming ramfs==ramdisk #64079.
440
441 13 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
442
443 Rework the code for managing /dev to make it more flexible for
444 users. Some don't want to use devfs/udev but rather just create
445 their own nodes. Handles some issues with #44906 / #67276.
446
447 Move the utmp clearing code out of bootmisc and into /sbin/rc.
448 The utmp log must be cleared while in the initial boot level
449 (meaning inside /sbin/rc) because as soon as rc exists, init
450 writes a 'boot' record (`who -b`) which would normally be lost
451 when the bootmisc init.d script is run #61727.
452
453 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
454
455 Cosmetic fixes for starting loopback interface
456
457 SpanKY doesn't like the dots... disable them by default, but you
458 can set RC_DOT_PATTERN=' .' in /etc/conf.d/rc to get them back
459
460 * rc-scripts 1.6.2 (13 Oct 2004)
461
462 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
463
464 Install net.modules.d to /lib/rcscripts instead of /etc so we
465 don't have to deal with CONFIG_PROTECT
466
467 Fix diff code in modules_load so it can identify which functions
468 have been modified
469
470 Fix fallback mechanism in iface_start so that it works correctly
471 and doesn't report a bogus error message when trying the fallback
472
473 Get rid of need_begin trickery in iface_stop
474
475 Simplify eend processing in dhcp modules
476
477 Implement eindent, eoutdent, esetdent in functions.sh and adjust
478 net-scripts to use them.
479
480 Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
481 RC_INDENTATION and to work better on serial terminals
482
483 Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
484
485 12 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
486
487 Fix ipaddr_fallback in net-scripts/conf.d/net.example
488
489 09 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
490
491 Remove init.d/net.eth0 net.lo and net.ppp0. The first two are
492 provided now by net-scripts and net.ppp0 is shipped in
493 net-dialup/ppp
494
495 Create NET_FS_LIST and is_net_fs in functions.sh and use them in
496 checkroot, localmount, netmount, net.example, and net.lo
497
498 09 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
499
500 If the hostname has already been set via the kernel/dhcp, don't
501 force it to 'localhost'. Used in netboot/terminal setups #38172.
502
503 Add domainname to default boot runlevel list #47041.
504
505 08 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
506
507 Make sure that when we try to mount /sys, we do so with -n (tigger).
508
509 Add some examples for nfs to sysctl.conf #66575.
510
511 06 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
512
513 Update to net-scripts 1.0.2 from Roy
514 ------------------------------------
515 - wireless module: replaced preferred_only var with
516 associate_order this makes more sense now as we have changed the
517 possible values
518 - wireless module: added patch from Daniel Zappala we should call
519 wireless_get_essid everywhere now
520 - wireless module: don't declare ESSID local in
521 wireless_configure(). This allows ESSID to be tested in the
522 user defined postup() function
523 - wireless module: test type != "NOT READY!" instead of testing =
524 IEEE. this resolves problems with intel and ra-tech drivers
525 - net.lo start() now errors when the interface does not exist
526 - dhcpcd, dhclient, udhcpc and pump now expose peer_* vars this
527 enables wireless to map them from peer_dns_ESSID
528 - config-system helper now loads wireless module to remap
529 variables from ESSID this allows udhcpc and dhclient to use
530 remapped wireless vars
531 - fixed dhcpcd and pump modules using peer_* vars
532 - wireless aborts after 5 seconds if it cannot report a valid
533 ESSID this fixes a potential infinite loop problem
534 - wireless_setup_iface() renamed to wireless_map_essid_vars() this
535 avoids confusion about what the function actually does
536
537 06 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
538
539 Change the default net.ipv4.conf.default.rp_filter setting to 1
540 in sysctl.conf since it shouldn't be harmful in anyway. Redhat
541 does the same.
542
543 05 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
544
545 Get rid of getcols() in sbin/functions.sh. Use COLUMNS when
546 possible and otherwise clean up the COLS code. Fix the "emerge
547 depend" detection code to use RC_ENDCOL="no"
548
549 05 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
550
551 Changed behavior of the domainname init.d script. It will now
552 override any settings obtained via dhcp/whatever. See #48277.
553
554 Updated bootmisc to dump the output of `dmesg` to /var/log/dmesg.
555 This way users have an 'after-boot' log of their dmesg saved
556 somewhere useful #55421.
557
558 Added the 'eend' back to depscan.sh since the script starts with a
559 call to 'ebegin' #59694.
560
561 Add selinux update from Chris PeBenito for src/runscript.c #64019.
562
563 Add more quoting to rc-help.sh to fix some non-critical errors.
564 Make rc-help.sh respect the value of RC_NOCOLOR. Allow RC_NOCOLOR
565 in functions.sh to be set via the environment.
566
567 Flesh out the default sysctl.conf with comments and more examples
568 since our previous one was pretty sparse #59993.
569
570 Change calls to `uniq` to `sort -u` in checkroot/halt.sh. This way
571 we only require sort in / and not both #36453.
572
573 04 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
574
575 More (I mean a LOT more) services. This takes care of #44458,
576 #52881 #55939 #58997 #66166 #66297. Gleaned many from the IANA
577 list/Fedora/FreeBSD/Debian.
578
579 Change the test for /proc/cmdline from -e to -r. On grsecurity
580 based systems for example, the file may exist, but not be readable
581 by non-root users (patch by Ned Ludd).
582
583 03 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
584
585 Add support for NFSv4 from #25106 to the netmount script. Don't
586 try to fsck / if the root is a remote filesystem (like NFS) #36624.
587
588 Update the fs_passno values in the default fstab to match the
589 settings suggested by the manpage #37314. Make checkroot respect
590 a fs_passno setting of 0 when dealing with / #39212. Change
591 default / filesystem type to ext3 instead of xfs #42670.
592
593 Re-order the arguments to mount to match POSIX requirements #66225.
594
595 Don't pipe swapon in localmount to /dev/null and ignore return
596 codes anymore. A swapon that works shows no output #39834.
597
598 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
599
600 Break up the COL/COLOR code properly this time. Not all serial
601 consoles can handle adjusting to the end of the line, so let's not
602 bother running stty at all anymore. This should fix up #32453.
603
604 30 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
605
606 Disable cryptfs by default in the conf.d file. Also cleanup
607 the output generated in localmount/checkfs/halt.sh for dm-crypt.
608 Add an extra check so that cryptfs is only run when the conf.d
609 file exists as well as /bin/cryptsetup.
610
611 29 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
612
613 Let glibc install nscd since different versions of glibc will
614 need to be handled differently. See #43076 by Rui Malheiro.
615
616 29 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
617
618 Prefer ~/.dir_colors over /etc/DIR_COLORS when it exists #64489
619
620 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
621
622 Clear the screen in .bash_logout #32330
623
624 * rc-scripts 1.6.1 (27 Sep 2004)
625
626 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
627
628 Update dm-crypt to work with multi-line configuration files.
629 Also don't set status in a subshell; it was being lost before.
630
631 23 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
632
633 Rework the logic behind the $COLS code. It should not depend
634 on whether color is enabled. Also add a check for negative
635 values (like when using a serial console).
636
637 * rc-scripts 1.6.0 (15 Sep 2004)
638
639 15 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
640
641 Fix bug 64034: simplify netmount script's stop function so that
642 mountpoints containing spaces work correctly
643
644 Update tarball.sh to use net-scripts
645
646 14 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
647
648 Commit dm-crypt enablement patch from Tigger (Rob Holland) in
649 bug 43146
650
651 * rc-scripts 1.5.3 (18 Aug 2004)
652
653 18 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
654
655 Fix bug 60719 (request for better error messages from runscript)
656 by allowing errors to show on the screen when they're encountered
657 in wrap_rcscript
658
659 Apply Spock's bootsplash patch from bug 45784. This moves most of
660 the splash functionality out of baselayout.
661
662 13 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
663
664 Don't export PS1. Continuation of bug 26951, comments 60-62.
665
666 * rc-scripts 1.5.2 (02 Aug 2004)
667
668 02 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
669
670 Related to bug 38955, don't set INPUTRC. Instead patch bash so
671 that it looks for /etc/inputrc automatically if ~/.inputrc is
672 missing. This is better than using INPUTRC since that will
673 override even after the user creates ~/.inputrc.
674
675 Fix bug 54275: Don't set INFODIR. The correct variable used by
676 texinfo is INFOPATH, which is already set in 00basic. Setting
677 INFODIR is useless, and breaks a NetBSD cross compile from Gentoo
678
679 01 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
680
681 Fix bug 58805: net.eth0 should use bridge so that bridge
682 interfaces are configured prior to net.br0 running
683
684 Fix bug 56856: Get rid of net.rej and integrate missing stuff to
685 conf.d/net
686
687 Apply half of spock's patch in bug 45784: Check for
688 conf.d/bootsplash instead of conf.d/bootsplash.conf
689
690 Fix bug 51351: Quote parsed output of /proc/filesystems to handle
691 octal sequences in mountpoint such as encoded spaces (\040)
692
693 Fix bug 46680: Add cifs support to localmount and netmount.
694 Thanks to Ronald Moesbergen for the patches
695
696 21 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
697
698 Fix bug 26952: Use /etc/bash/bashrc to setup PS1, testing $- to
699 determine if shell is interactive. The new system-wide bashrc is
700 installed by bash-2.05b-r10
701
702 19 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
703
704 Fix bug 38743: strip leading and trailing spaces from variable
705 values in genenviron.awk. Thanks to Marius Mauch for the patch.
706
707 09 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
708
709 Fix bug 55576: swap words "start" and "stop" in runscript.sh error
710 message
711
712 * rc-scripts 1.5.1 (28 Jun 2004)
713
714 28 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
715
716 Fix dhcp in iface_start_ifconfig: It was re-using the variable
717 ${i} which would result in the following error:
718 /sbin/runscript.sh: line 441: ((: 16.141.88.153: syntax error
719 in expression (error token is ".141.88.153")
720
721 Use vlan_IFACE instead of iface_IFACE_vlans in net.eth0 for more
722 consistent vlan configuration. Thanks to robbat2 in bug 55394
723 (not fully resolved)
724
725 Add example for checking if root filesystem is NFS-mounted via
726 predown function in conf.d/net for bug 53104. This might be
727 better integrated at some point into net.eth0
728
729 * rc-scripts 1.5.0 (26 Jun 2004)
730
731 26 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
732
733 Fix bug 47659: support iproute2-style configuration. Thanks to
734 Dean Bailey for some fantastic patches, including documentation
735 for conf.d/net. This is a pretty huge re-write of net.eth0
736
737 Fix bug 34607: provide examples for in conf.d/net for preup,
738 postup, predown, postdown functions. Also pay attention to return
739 value from predown function (previously ignored)
740
741 15 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
742
743 Fix bug 25975: support adsl in net.eth0. Thanks to Patrick McLean
744 for the initial pass at the code.
745
746 Fix bug 34140: add --servicelist option to rc-status. Thanks to
747 Eldad Zack for the patch.
748
749 Fix bug 37418: fix order of LVM and RAID in checkfs. Thanks to
750 Raimondo Giammanco for the patch.
751
752 * rc-scripts 1.4.16 (06 Jun 2004)
753
754 06 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
755
756 Only call generate-modprobe.conf with --assume-kernel if
757 modules-update was called with --assume-kernel. This means that
758 only catalyst has the dependency on module-init-tools, not
759 everybody with the newer baselayout
760
761 * rc-scripts 1.4.15 (21 May 2004)
762
763 21 May 2004; Aron Grifis <agriffis@gentoo.org>:
764
765 Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh
766
767 Fix bug 51626: wrong variable declaration at top of
768 get_bootparam() in /sbin/functions.sh
769
770 * rc-scripts 1.4.14 (17 May 2004)
771
772 17 May 2004; Aron Griffis <agriffis@gentoo.org>:
773
774 Bump version to 1.4.14 to push out gmsoft's fix for hppa console
775 on ttyB0
776
777 * rc-scripts 1.4.13 (15 May 2004)
778
779 15 May 2004; Aron Griffis <agriffis@gentoo.org>:
780
781 Bump version to 1.4.13 to push out Gustavo's livecd serial console
782 fixes for sparc and hppa.
783
784 * rc-scripts 1.4.12 (07 May 2004)
785
786 10 May 2004; Aron Griffis <agriffis@gentoo.org>:
787
788 Bump version to 1.4.12 to release these critical bug fixes
789
790 Fix bug 50434: The new version of start-stop-daemon changes
791 directory to / by default unless --chdir is specified. Revert
792 this behavior to maintain working directory. This fixes openvpn
793 startup (probably among other things). Thanks to Sven Wegener for
794 the patch.
795
796 Fix bug 50448: Four days ago I changed bash loops to use the wrong
797 conditional syntax in net.eth0. Thanks to Sven Wegener for
798 pointing out the problem and providing a patch.
799
800 * rc-scripts 1.4.11 (07 May 2004)
801
802 07 May 2004; Aron Griffis <agriffis@gentoo.org>:
803
804 Fix bug 20597: Skip RCS files when updating modules
805
806 Fix bug 49926: Add a --assume-kernel flag to modules-update. This
807 requires a companion patch in module-init-tools-3.0-r2 to handle
808 the same flag in generate-modprobe.conf; this dependency won't be
809 handled in the baselayout ebuild since it only affects livecd
810 building.
811
812 06 May 2004; Aron Griffis <agriffis@gentoo.org>:
813
814 In net.eth0, fix many instances of loops like "for ((i = 0; i <
815 100; i = i + 1))". The problem here is that the middle comparison
816 is being interpreted as a bash conditional, which means that it's
817 doing string comparison by default. It needs to be "i -lt 100"
818
819 Fix bug 34827: net.eth0 breaks when localized because the ifconfig
820 output changes. Wrap ifconfig in a function that overrides
821 LC_ALL=C
822
823 Fix bug 48305: Provide a new network configuration variable
824 ifconfig_fallback_eth0 which allows one to specify a fallback
825 configuration in case DHCP fails.
826
827 Fix bug 50246: Give root an invalid password ("*" in /etc/shadow)
828 in the default baselayout. This prevents the first reboot after
829 installation from having a blank password.
830
831 05 May 2004; Aron Griffis <agriffis@gentoo.org>:
832
833 Fix bug 48595: Make sure $(id -u) is zero (root user) when running
834 init scripts to avoid a lot of error messages.
835
836 Replace many lines of awk with two lines of grep in
837 init.d/localmount
838
839 Fix bug 44316: Use 0644 instead of 0640 for resolv.conf in net.ppp0
840
841 03 May 2004; Aron Griffis <agriffis@gentoo.org>:
842
843 Update to version 1.10.20 of Debian's start-stop-daemon (contained
844 in dpkg at http://packages.debian.org/testing/base/dpkg). This
845 fixes bug 22686 (start-stop-daemon in baselayout doesn't allow
846 altered nicelevel).
847
848 * rc-scripts 1.4.10 (25 Apr 2004)
849
850 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
851
852 Fix typos in sbin/rc: "try try mount" and "mount ... & >/dev/null"
853 Also removed the errstr double-checking since the need for that is
854 alleviated by these typo fixes.
855
856 23 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
857
858 Fix bug 48629 (/sbin/rc fixups for udev) with patch from GregKH
859
860 Fix bug 40987 (gentoo should be able to boot with an empty /dev)
861 with patch from Spanky. The patch avoids redirection to /dev/null
862 when it doesn't exist; this was breaking /sbin/rc.
863
864 * rc-scripts 1.4.9 (15 Apr 2004)
865
866 15 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
867
868 Fix bug 47111 (severe depcache problems) with tons of help from
869 dswhite42 and the rest of the crew in that bug. Thanks guys!
870
871 * rc-scripts 1.4.8 (14 Apr 2004)
872
873 14 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
874
875 Fix bug 47623 (error removing inet6 addresses) with patch provided
876 by Vlad Yasevich.
877
878 * rc-scripts 1.4.7 (12 Apr 2004)
879
880 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
881
882 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
883 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
884 /var/lib/init.d/* directories) with patch from Terje Bergström.
885
886 * rc-scripts 1.4.6 (08 Apr 2004)
887
888 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
889
890 Update patch from Gustavoz; -ln /bin/bash should have been -nl /bin/bash
891
892 * rc-scripts 1.4.5 (08 Apr 2004)
893
894 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
895
896 Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
897 Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
898 serial consoles, necessary due to scrambled root passwords.
899
900 * rc-scripts 1.4.4 (07 Apr 2004)
901
902 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
903
904 Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
905 output. Also support 4800 baud correctly.
906
907 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
908
909 The changes in this commit pertain primarily to
910 http://bugs.gentoo.org/show_bug.cgi?id=19695
911 http://bugs.gentoo.org/show_bug.cgi?id=35736
912
913 Specify routes as an array per interface, for example:
914 routes_eth0=(
915 "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
916 "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
917 "-host 10.3.0.1 dev eth0"
918 )
919
920 You can optionally use the gateway variable or just put the default route
921 in the routes variable. The following two are REDUNDANT:
922
923 routes_eth0=( "default gw 10.0.0.5" )
924 gateway="eth0/10.0.0.5"
925
926 Old configuration variables in /etc/conf.d/net are fully supported and
927 used transparently if ifconfig_eth0 is missing. In other words, this new
928 script is fully backward-compatible. However you can get rid of
929 iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
930 using the new syntax:
931
932 ifconfig_eth0=(
933 "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
934 "192.168.1.1 netmask 255.255.255.0"
935 "123.456.789.1"
936 )
937
938 Full backward compatibility so no danger to screwing up users relying on
939 existing /etc/conf.d/net setup
940
941 NET_DEBUG can be set in the environment for copious debugging output
942
943 Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
944 better functionality (and is even slightly faster)
945
946 Properly localize all variables, including variables returned by
947 setup_vars
948
949 Allow full options for every ifconfig command, both base address and
950 aliases via ifconfig_eth0, replacing the convoluted and less-functional
951 iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
952
953 Provide full support for static routes via routes_eth0
954
955 Fix potential quoting problems in setup_vars by using better eval syntax
956 instead of eval echo
957
958 Display IP addresses while configuring, both DHCP-retrieved and
959 statically set addresses
960
961 Collapse redundant caching of $? since eend returns $? again
962
963 Report when keeping kernel configuration for an interface along with IP
964 address gleaned
965
966 Don't reset the default gateway if it is already set correctly
967
968 Don't bind default gateway to particular interface when /sbin/route is
969 called so that it can survive if there is more than one interface on the
970 required subnet. (Old behavior can be obtained by setting
971 routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
972
973 Don't bomb if default gateway can't be set since that doesn't
974 necessarily mean that the interface configuration is invalid.
975 (Old behavior was completely broken, but commented section
976 demonstrates how to do it right if necessary)
977
978 iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
979 This is very good because it means you can put new configuration in
980 /etc/conf.d/net, then restart the interface and the old configuration will
981 be properly shut down.
982
983 iface_stop reports when it is releasing the DHCP lease
984
985 * rc-scripts 1.4.3.13p1 (26 Feb 2004)
986
987 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
988
989 Remove /etc/DIR_COLORS, as coreutils provides it now.
990
991 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
992 Also modified /sbin/rc and /etc/init.d/halt.sh for this.
993
994 Start udevd if present.
995
996 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
997 virtual service - it had no mtime generated, so check_mtime() failed
998 for it ...
999
1000 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1001
1002 Update to enable checking of mtimes on rc-scripts, and auto running
1003 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
1004 is not set instead of just erroring.
1005
1006 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1007
1008 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
1009
1010 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
1011
1012 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1013
1014 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
1015 are used in scripts such as consolefonts, numlock, etc. This should
1016 close bug #39863.
1017
1018 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
1019 Cory Tusar <ctusar@adelphia.net>.
1020
1021 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1022
1023 Add SELinux modifications to /sbin/runscript. This allows runscript to
1024 make sure it is running in the right domain. Patch done by
1025 Chris PeBenito <pebenito@gentoo.org>.
1026
1027 * rc-scripts 1.4.3.13 (08 Feb 2004)
1028
1029 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1030
1031 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
1032 _but_ /mnt/cdrom and /mnt/livecd.
1033
1034 Update /etc/init.d/consolefont to use newer kbd. Should also close
1035 bug #39864.
1036
1037 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
1038 than install, as newer versions of install is located in /usr/bin. This
1039 closes bug #39648.
1040
1041 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
1042
1043 Tweak livecd support changes and add some more to hopefully sort out
1044 last issues, with help from Brad House <brad_mssw@gentoo.org>.
1045
1046 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
1047 bug #37349.
1048
1049 * rc-scripts 1.4.3.12p3 (21 Jan 2004)
1050
1051 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
1052
1053 Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
1054 for livecd support. Add bits to /sbin/rc to support it.
1055
1056 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
1057
1058 Fix type-o in /etc/init.d/checkfs, bug #37113.
1059
1060 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
1061
1062 Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
1063 src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
1064 then gawk -v. Also add some tests to see if we got the environment
1065 variables.
1066
1067 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
1068
1069 Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
1070
1071 * rc-scripts 1.4.3.12p2 (27 Dec 2003)
1072
1073 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
1074
1075 Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
1076 hack to not make udev sleep - its not needed as these entries
1077 are already present, and not a hotplug event.
1078
1079 Update /etc/init.d/{consolefont,numlock} to work with udev managed
1080 /dev that have devfs layout.
1081
1082 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
1083
1084 Fix type-o in /sbin/rc, bug #34837.
1085
1086 * rc-scripts 1.4.3.12p1 (26 Nov 2003)
1087
1088 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
1089
1090 Fix /etc/init.d/halt.sh to reset pam_console permissions, else
1091 the next bootup might be done with some non-root nodes which cause
1092 some odd issues.
1093
1094 Add code to generate /dev from sysfs entries - not much it currently
1095 support but block/tty devices, but it is a start for when we have
1096 full sysfs support in all drivers.
1097
1098 Revert carrier detection check, as there is currently too many
1099 issues with it, bug #33272.
1100
1101 Make sure we mount already mounted mount (done in /sbin/rc) with
1102 correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
1103 for this.
1104
1105 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
1106
1107 Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
1108 some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
1109 Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
1110
1111 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
1112
1113 Add a warning to cachedepends.awk if a rc-script's name ends in
1114 '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
1115
1116 Fix /etc/init.d/halt.sh to not try and remount virtual devices,
1117 also do a few cleanups. Closes bug #33271.
1118
1119 * rc-scripts 1.4.3.12 (11 Nov 2003)
1120
1121 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
1122
1123 Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
1124 patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
1125
1126 Add extra checks for critical directories to /sbin/rc.
1127
1128 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
1129
1130 Update /bin/rc-status giving a working '-u' parameter, bug #32417.
1131 Fix by Michael Frysinger <vapier@gentoo.org>.
1132
1133 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1134
1135 Add support for --tty switch added to setfont and remove consolechars
1136 support; modified /etc/init.d/consolefont for this. Also remove
1137 consoletools support from /etc/init.d/keymaps.
1138
1139 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1140
1141 We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
1142 not exist. Updated /sbin/rc for this.
1143
1144 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
1145 '-u' in the call to loadkeys when using unicode).
1146
1147 We should not use '-' in variable names for bash, bug #31184, thanks
1148 to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
1149
1150 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1151
1152 Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
1153
1154 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1155
1156 The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
1157 it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
1158 unmounted anyhow. Change it to remount the last filesystems readonly
1159 without trying to unmount any. This fixes a few cases where reboot
1160 would halt due to unmounted /proc, etc.
1161
1162 This change set fixes two things:
1163 1) In exporting all functions/variables in functions.sh, rc-services.sh
1164 and rc-daemon.sh, we created an overly large environment, and also
1165 broke stuff like glftpd. Do not do this, and hope whatever caused
1166 the issues previously is fixed in the meantime. This should close
1167 bugs #25754 and #31794.
1168 2) gendepend.awk used to generate deptree with functions called
1169 depinfo_<scriptname> which set appropriate variables when called.
1170 This broke if the scriptname contained characters that is not valid
1171 for bash variable names. Changed things to use an array fixing this.
1172 This closes bug #24092.
1173
1174 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
1175 /sbin/hotplug will call udev as well.
1176
1177 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
1178 get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
1179 array (in my case 'net').
1180
1181 We did not handle the 'net' dependency properly in valid_iuse() and
1182 valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
1183 bugs #30327 and #31950.
1184
1185 Change an occurance of /etc/modutils in modules-update.8 to
1186 /etc/modules.d/ closing bug #31171.
1187
1188 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1189
1190 More bootsplash fixes, bug #21019 (comment #21).
1191
1192 Remove the killall5 stuff from /etc/init.d/halt.sh, as it messes with
1193 bootsplash. Add support to kill processes still using non-critical
1194 mounts with fuser though.
1195
1196 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1197
1198 Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
1199 and #16 from bug #21019).
1200
1201 Bootsplash coded did not play nice with boot profiles, so I fixed that
1202 as well. Some other style tweaks.
1203
1204 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
1205 Also changed the permissions on tty's, ibcs and scanner devices
1206 to 0660.
1207
1208 * rc-scripts 1.4.3.11p2 (14 Sep 2003)
1209
1210 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1211
1212 Revert previous changes, and substitute it for the bootsplash patches
1213 from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
1214 can be reached at:
1215
1216 http://www.aichler.net/gentoo/bootsplash/
1217
1218 I should note that the bootsplash stuff is not 100% tested.
1219
1220
1221 * rc-scripts 1.4.3.11p1 (14 Sep 2003)
1222
1223 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1224
1225 Initial bootsplash patch as from LiveCD's.
1226
1227 Add more tty's to /etc/init.d/numlock, bug #28252.
1228
1229 * rc-scripts 1.4.3.11 (14 Sep 2003)
1230
1231 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
1232
1233 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
1234 Resolves bug #27527.
1235
1236 Add squid to /etc/services, bug #30995. Other cleanups from rac.
1237
1238 Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
1239 running while pwd is root (/).
1240
1241 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
1242
1243 Add entry for floppy in /etc/fstab, bug #30574.
1244
1245 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
1246 bug #28861.
1247
1248 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
1249 It now will work with runlevels named with any characters (other than
1250 ones found in default bash IFS). It also adds a few sanity/error
1251 checks, bug #26432.
1252
1253 Change /etc/inputrc to have PageUp/PageDown search through bash
1254 history again, bug #26036.
1255
1256 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
1257
1258 Change update-modules to modules-update in manpage, bug #28101.
1259
1260 * rc-scripts 1.4.3.10p1 (08 Sep 2003)
1261
1262 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
1263
1264 Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
1265
1266 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
1267
1268 Add missing 'local x' to filter_environ() (bug #26429), thanks to
1269 Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
1270
1271 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
1272
1273 Modify /etc/init.d/modules not to print the autoloading stuff if
1274 no modules should be loaded (resolving bug #26288), per request from
1275 Michael Frysinger <vapier@gentoo.org>.
1276
1277 Fix get_bootparam() in /sbin/functions.sh to check for existance of
1278 the /proc/cmdline proc entry.
1279
1280 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
1281
1282 Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
1283 request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
1284 whole way of devfs handling changed long ago already.
1285
1286 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
1287 Also change it to 'mount -d' to detach the loop device. Patch by
1288 Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
1289
1290 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
1291 is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
1292
1293 * rc-scripts 1.4.3.10 (04 Aug 2003)
1294
1295 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
1296
1297 Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
1298 bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
1299 Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
1300 stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
1301
1302 Fixed modules-update to only do the /etc/modprobe.conf generation if we
1303 are actually running a 2.5+ kernel.
1304
1305 Add pop3 entries to /etc/services, bug #25501.
1306
1307 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
1308 RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
1309 Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
1310
1311 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
1312
1313 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
1314
1315 Fix type-o in /sbin/rc-update, bug #25854.
1316
1317 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1318
1319 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
1320 and not the whole block. Tweak check checkroot to reboot if need be
1321 (This is with sufficient warning and message). Tweak checkfs to not
1322 drop to a sulogin if return code 2 or 3 is given - as we did not
1323 mount the filesystems yet, we should not need to reboot ... bug #25398.
1324
1325 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
1326 Michael Frysinger <vapier@gentoo.org>.
1327
1328 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1329
1330 Rework changes for the Adelie project to support boot config profiles
1331 better. Added support for /etc/runlevels/LEVEL/.fake to specify which
1332 runlevels should be marked started or stopped without executing the
1333 script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for
1334 more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh
1335 for this.
1336
1337 Add better support for services that provide the "logger" virtual. We
1338 should really start the logger earlier, and stop it as late as possible.
1339 Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk
1340 for this.
1341
1342 Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh,
1343 thanks to Jean-Francois Richard <jean-francois@richard.name>.
1344
1345 Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918.
1346
1347 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1348
1349 From Jean-Francois Richard <jean-francois@richard.name> and
1350 Olivier Crete <tester@gentoo.org> from the Adelie project:
1351
1352 The last four patches are the "adaptation" of our previous patches to
1353 the new "no-tmpfs" init system in Gentoo. Since we were using quite
1354 different scripts for the boot runlevel (no "checkroot" for example) and
1355 that the new system hardcodes some of the boot services, we had to find
1356 a simple yet elegant solution.
1357
1358 We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to
1359 know what are the boot runlevel services. If this file is not present,
1360 it uses the Gentoo hardcoded defaults.
1361
1362 This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and
1363 /etc/init.d/halt.sh.
1364
1365 I just changed the behaviour of 'softlevel' kernel command line argument
1366 to not only add a suffix and some other cleanups.
1367
1368 Add support for irqbalance.
1369
1370 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1371
1372 Fix the /dev/root entry in /etc/mtab, bug #24916.
1373
1374 Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>,
1375 bug #24064.
1376
1377 * rc-scripts 1.4.3.9 (17 Jul 2003)
1378
1379 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1380
1381 Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to
1382 Andy Dustman <andy-gentoo.54e552@dustman.net>.
1383
1384 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423.
1385
1386 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks
1387 to Wes Kurdziolek <wkurdzio@vtluug.org>.
1388
1389 Rather use 'uname -r' to get kernel version, as else we need sysctl.
1390 This closes bug #23923, modified /etc/init.d/modules.
1391
1392 Fix a type-o in /etc/fstab, bug #23308.
1393
1394 Add support for the new 'O' agetty option to display the DNS domainname
1395 in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275.
1396 Updated /etc/issue and /etc/issue.logo for this.
1397
1398 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1399
1400 Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks
1401 to Antonio Dolcetta <zagarna@yahoo.com>.
1402
1403 Fix /etc/init.d/net.eth0 to not set rp_filter if already set via
1404 /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>.
1405
1406 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work
1407 with symlinks in /etc/init.d/, closing bug #24228.
1408
1409 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to
1410 John Mylchreest <johnm@gentoo.org>.
1411
1412 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109,
1413 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>.
1414
1415 Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to
1416 "true" in /etc/make.conf, closing bug #24107.
1417
1418 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow
1419 more keymaps to be specified in /etc/rc.conf, bug #24084.
1420
1421 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
1422
1423 Add /bin/csh to /etc/shells.
1424
1425 Add new protocols to /etc/services, thanks Rajiv Aaron Manglani
1426 <rajiv@gentoo.org>.
1427
1428 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
1429
1430 Cleanups for bug #21438 from bug #22637, thanks to
1431 Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>.
1432
1433 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
1434
1435 Really commit fix for bug #21438 to CVS.
1436
1437 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1438
1439 Call /proc mount with explicit options to fix issues where user
1440 have 'bind' mounts for /proc in fstab as well, bug #21068.
1441
1442 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
1443 reported by Gunnlaugur Thor Briem <gthb@hi.is>.
1444
1445 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
1446 it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
1447
1448 * rc-scripts 1.4.3.8p1 (21 May 2003)
1449
1450 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1451
1452 Last fix I did not use the modified 'myservice', but used $1 again,
1453 causing the network dependencies to bork. I did not notice this
1454 as I have net.eth0 in default runlevel.
1455
1456 * rc-scripts 1.4.3.8 (20 May 2003)
1457
1458 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1459
1460 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
1461 rc-service.sh to handle this, thanks to YAMAKURA Makoto
1462 <makoto@dsb.club.ne.jp>.
1463
1464 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
1465 about the host it is running on.
1466
1467 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1468
1469 Do not let devfsd handle /dev/log's permission management, as it breaks
1470 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
1471 <pebenito@gentoo.org>.
1472
1473 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
1474
1475 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1476
1477 We should not export the RC_GOT_* variables, as it breaks on some systems,
1478 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
1479
1480 From C. Brewer <killian@gentoo.org>:
1481 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
1482 suppose to be default, but why take chances?
1483 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
1484 kppp complaint.
1485
1486 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1487
1488 For the network functions, the dependency code tried to create a funcion
1489 with a '.' in the name, causing the network rc-scripts to not have any
1490 dependencies. This should fix bug #20849 's order issue, thanks to
1491 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
1492
1493 Fix query_{before,after} to also check 'net' if 'service2' is a network
1494 service.
1495
1496 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1497
1498 More cleanups:
1499 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
1500 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
1501 this.
1502 - Add functions for more common tasks in /sbin/runscript.sh to
1503 /sbin/rc-services.sh.
1504 - Move 'consoletype' to /sbin.
1505 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
1506 /etc/init.d/bootmisc for this.
1507 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
1508 - Improve detection of circular depends ... modified gendepend.awk for this.
1509
1510 * rc-scripts 1.4.3.7 (11 May 2003)
1511
1512 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1513
1514 Too many things to remember, so here is changes of note:
1515 - More changes to gendepend.awk. This basically modifies it to not use
1516 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
1517 create a file that can be sourced. Seems to speedup things nicely.
1518 - Add /sbin/rc-services.sh. This is basically a module to get dependency
1519 info from the new $svcdir/deptree, and some other new service functions.
1520 - Modify the whole works to *only* source all needed files once. This
1521 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
1522 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
1523 is sourced more than once (actually each time a service is started or
1524 stopped, but is is cut down much). Also seems to speed things up again.
1525 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
1526 dependency to not be actually used in shutdown, causing the services
1527 needing it to be stoped before net.* services.
1528 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
1529 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
1530 startup of services, and seems to work nicely. Only issues to date is
1531 that printing of messages is not synced, and a race very intermittantly
1532 that causes a service to be started when it was already scheduled.
1533 - Add a new dependency type 'parallel' that can be used to control if a
1534 service can be started in paralled or not. Possible arguments is "yes"
1535 or "no"; if it is not present, it is considered as "yes":
1536
1537 depend() {
1538 parallel yes|no
1539 }
1540
1541 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
1542 - Fix the 'single' runlevel to actually work properly, and without a
1543 /etc/runlevels/single directory.
1544 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
1545 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
1546
1547 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1548
1549 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
1550 and adding more sanity checks.
1551
1552 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
1553
1554 Revert /etc/init.d/hostname the way it was, as it should be the user's
1555 choice if he want to have a FQDN in there or not, bug #14946.
1556
1557 Add /etc/init.d/domainname for those that want to use it.
1558
1559 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1560
1561 Change the root check back the way it was, else it breaks with non bash
1562 shells; modified /etc/profile.
1563
1564 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1565
1566 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
1567
1568 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1569
1570 Add various patches from Rachel Holmes <rach@gmx.net>:
1571
1572 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
1573 purpose. Modified:
1574
1575 /etc/init.d/net.ppp0
1576 /etc/init.d/nscd
1577 /sbin/functions.sh
1578 /sbin/rc
1579 /sbin/rc-daemon.sh
1580 /sbin/rc-envupdate.sh.bash
1581 /sbin/runscript.sh
1582
1583 Exchanged some gratuitous use of awk for grep. Awk is a little resource
1584 hungry just for a simple test. (I [azarah] did not apply the changes to
1585 tests for 'devfs', as having 'usbdevfs' in the equation will break
1586 things). Modified /sbin/rc for this.
1587
1588 Gentoo enforces having /proc, so uname -r is a little redundant when the
1589 information is available without an external command. Modified:
1590
1591 /etc/init.d/modules
1592 /etc/init.d/serial
1593 /sbin/functions.sh
1594 /sbin/modules-update
1595
1596 Changed 'id -u' commands to use $EUID in bash executed scripts, same
1597 result no extra command. Modified:
1598
1599 /sbin/rc-envupdate.sh
1600 /sbin/rc-envupdate.sh.bash
1601 /sbin/rc-update
1602
1603 Removed all the cat sections, and the separate echo sections. The output
1604 is _exactly_ the same, minus some spare spaces that have been removed.
1605 Fourfold speed increase in the (granted flimsy) tests I have done.
1606 Modified /sbin/rc-help.sh for this.
1607
1608 Final remaining 'cat' commands removed, in favour of using bash's internal
1609 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
1610 i18n anyway. Modified:
1611
1612 /sbin/rc
1613 /sbin/rc-envupdate.sh
1614 /sbin/rc-envupdate.sh.bash
1615
1616
1617
1618 * rc-scripts 1.4.3.6 (27 Apr 2003)
1619
1620 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1621
1622 Add a 'save' function /etc/init.d/clock, bug #19685.
1623
1624 Add a slocate group to /etc/group, bug #19604.
1625
1626 Do not stop a network service if we do not reboot on runlevel change,
1627 as it could have been started by the user or hotplug. This should
1628 address bug #12763; modified /sbin/rc for this.
1629
1630 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
1631 domainname.
1632
1633 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
1634 This should close bug #16884.
1635
1636 Fix /etc/profile to be /bin/sh compadible, bug #18918.
1637
1638 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
1639 be more 'generic' ? Only try to disable swap if any devices/files was
1640 activated. This should close bug #19089.
1641
1642 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
1643 rw in /etc/fstab, bug #19158.
1644
1645 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1646
1647 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
1648 but the ppp link was already down, bug #15333.
1649
1650 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1651
1652 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
1653 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
1654
1655 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
1656 updated /sbin/rc for this.
1657
1658 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1659
1660 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
1661
1662 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1663
1664 Make checking in unmount more strict, fixing bug #19007.
1665
1666 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1667
1668 Add one more check to genenviron.awk, to spot cases where there is a
1669 space between the variable and the '='.
1670
1671 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1672
1673 Fix interactive shell not to have coloured prompt when used as a
1674 dumb client, bug #18886. Fix was inspired by patch from
1675 Matthew Kennedy <mkennedy@gentoo.org>.
1676
1677 * rc-scripts 1.4.3.5 (06 Apr 2003)
1678
1679 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
1680
1681 Hopefully get the serial support sane again. Added /bin/consoletype
1682 from Redhat to check for serial console. This should resolve bug
1683 #18329 partly.
1684
1685 Add the --nocolor option to suppress the use of colors.
1686
1687 Change the 'status' option to return true if the service is running,
1688 and false if stopped. This is only if the '--quiet' flag was also
1689 given.
1690
1691 Change the start and stop options not to output or return false if
1692 the '--quiet' flag was given.
1693
1694 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
1695 as well, fixing bug #18344.
1696
1697 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
1698 Aron Griffis <agriffis@gentoo.org>.
1699
1700 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
1701 or rebooting.
1702
1703 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1704
1705 Fix bug #18329 ... $COLS was not setup properly for serial console.
1706
1707 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1708
1709 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
1710 Fix a problem where it might not have mounted the USB fs when usbcore
1711 was compiled as module, and the kernel did not mount it by the time
1712 the script was started. Get it to rather check what filesystems is
1713 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
1714 later 2.4 kernels now also support the newer 'usbfs'.
1715
1716 Optimize RAID stuff in /etc/init.d/checkfs a bit.
1717
1718 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1719
1720 Update sbin/rc-envupdate.sh.bash for bug #17549.
1721
1722 * rc-scripts 1.4.3.4 (16 Mar 2003)
1723
1724 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1725
1726 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
1727 modifications (purple and display hostname, etc). Closes bug #16806.
1728
1729 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
1730 work properly. Closes bug #17348.
1731
1732 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
1733 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
1734
1735 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1736
1737 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
1738 <lostlogic@gentoo.org>!
1739
1740 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1741
1742 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
1743 and /etc/init.d/halt.sh for this.
1744
1745 Update /etc/fstab to correctly mount /proc with:
1746
1747 mount -t proc none /proc
1748
1749 Do the same for /dev/shm:
1750
1751 mount -t tmpfs none /dev/shm
1752
1753 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
1754 noise if we exited a recovery console.
1755
1756 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
1757 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
1758
1759 Bring down default gateway before adding new one .. this fixes issues
1760 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
1761 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
1762 fix.
1763
1764 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
1765 it fails for module-init-tools if the module is already loaded. This
1766 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
1767
1768 * rc-scripts 1.4.3.3 (09 Mar 2003)
1769
1770 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1771
1772 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
1773
1774 Fix net.eth0 not to try and start an interface if already up.
1775
1776 Update MAKEDEV from Debian to support more archs. This adds support
1777 for 'arm', 'hppa' among others. URL:
1778
1779 http://packages.debian.org/stable/base/makedev.html
1780
1781 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
1782 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
1783 are using a 2.5 kernel ... bug #17109.
1784
1785 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1786
1787 Update /etc/init.d/hostname to only set the hostname to whatever is before
1788 the first '.', and then set the domainname to the rest, closing bug #14946.
1789
1790 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1791
1792 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
1793
1794 Fix spelling of dependency and some other spelling/grammer issues.
1795 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
1796 Mike Frysinger <vapier@gentoo.org>, bug #15498.
1797
1798 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
1799
1800 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
1801
1802 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
1803 bug #14556.
1804
1805 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1806
1807 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
1808
1809 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1810
1811 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
1812 to 'test -c /dev/ttyp0 &> /dev/null'.
1813
1814 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1815
1816 Update /sbin/modules-update to generate /etc/modprobe.devfs from
1817 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
1818 module-init-tools-0.9.9 should get rid of many of the warnings/errors
1819 with devfs, and makes it work a bit better.
1820
1821 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1822
1823 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
1824
1825 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1826
1827 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
1828 support. This resolves bug #14994.
1829
1830 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
1831 according to /etc/rc.conf.
1832
1833 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
1834 and used 'basename' which is located in /usr/bin.
1835
1836 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1837
1838 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
1839 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
1840 this.
1841
1842 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1843
1844 Update src/awk/genenviron.awk to properly set the environment for each
1845 rc-script's depend() function by sourcing required config files.
1846
1847 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1848
1849 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
1850 to Max Kalika <alkern23@yahoo.com>, bug #15050.
1851
1852 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1853
1854 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
1855
1856 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1857
1858 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
1859 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
1860
1861 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
1862
1863 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
1864 Add fix from the wonderful analysis of Toby Dickenson
1865 <tdickenson@geminidataloggers.com> in #12947.
1866
1867 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1868
1869 Fix start-stop-daemon to check the call to nice() correctly for failure,
1870 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
1871
1872 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
1873 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
1874 Malcolm Scott <m@lcolm.org.uk>.
1875
1876 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
1877
1878 Updated /etc/rc.conf to add elogin/entrance support #13790.
1879
1880 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1881
1882 Update /etc/init.d/keymaps to enable unicode if required. This closes
1883 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
1884
1885 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1886
1887 Fix deadlock durning shutdown if tmpfs filesystems larger than free
1888 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
1889 for this.
1890
1891 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
1892 This closes bug #13868.
1893
1894 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
1895 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
1896
1897 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
1898
1899 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1900
1901 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
1902 not have stale entries left from hard reboot, thanks to pac1085 on
1903 irc.
1904
1905 * rc-scripts 1.4.3.2 (15 Jan 2003)
1906
1907 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1908
1909 Truely fix bootup on seperate /var.
1910
1911 Add some fixes and optimizations to /sbin/rc-update, thanks to
1912 Daniel Robbins <drobbins@gentoo.org>.
1913
1914 * rc-scripts 1.4.3.1 (15 Jan 2003)
1915
1916 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1917
1918 Fix bootup on seperate /var.
1919
1920 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1921
1922 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
1923
1924 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1925
1926 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
1927 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
1928
1929 Turn on -C option to fsck on for all calls to fsck. Updated scripts
1930 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
1931
1932 * rc-scripts 1.4.3.0 (07 Jan 2003)
1933
1934 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1935
1936 Too much to mention, but here are a few:
1937 - Major rewrite of software RAID startup, based on Mandrake's, as
1938 ours was pretty broken :(
1939 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
1940 Much of /sbin/functions.sh and other scripts have been changed
1941 to support this.
1942 - Reworked /etc/inittab to support this. Also moved critical
1943 mounting of local filesystems to 'sysinit' function of /sbin/rc.
1944 - Move state directory to /var/state/init.d/ ($svcdir).
1945 - Move Adelie node init to /sbin/functions.sh to try and simplify
1946 /sbin/rc a bit.
1947 - Updated Copyright dates to 2003.
1948
1949 * rc-scripts 1.4.2.8 (06 Jan 2003)
1950
1951 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1952
1953 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
1954 lines, as it seems users do not note the need to have them all on
1955 one line ....
1956
1957 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
1958 script not ending on a digit. This closes bug #12887.
1959
1960 Fix get_KV to also check micro version of kernel; add KV_to_int()
1961 helper function for get_KV. Update /etc/init.d/localmount to work
1962 with new get_KV ...
1963
1964 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1965
1966 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
1967 in the new sys-apps/module-init-tools. Note that you need version
1968 0.9.7 or later of sys-apps/module-init-tools. Updated
1969 /sbin/modules-update for this.
1970
1971 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
1972 we are running kernel 2.5 or later ...
1973
1974 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1975
1976 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
1977 rc-script to setup encrypted loopback devices. This was kindly
1978 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
1979
1980 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1981
1982 Fix src/awk/genenviron.awk stripping *all* '=', closing
1983 bug #8901.
1984
1985 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
1986 spaces ...
1987
1988 * rc-scripts 1.4.2.7 (24 Dec 2002)
1989
1990 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1991
1992 Add a fix to /sbin/functions.sh for bug #12601.
1993
1994 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1995
1996 Add INFOPATH to /etc/env.d/00basic.
1997
1998 Fix src/awk/genenviron.awk to get the order of the env.d files
1999 correct. Also fix it to handle *all* the SPECIALS correctly.
2000 This closes bug #12411.
2001
2002 * rc-scripts 1.4.2.6 (18 Dec 2002)
2003
2004 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
2005
2006 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
2007 thanks to Nicholas Wourms <nwourms@netscape.net>.
2008
2009 Quote some tests in /sbin/rc-update to fix/avoid the problem
2010 in bug #
2011
2012 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
2013
2014 Update shell for postgres user, closing bug #12258.
2015
2016 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
2017
2018 Fix src/awk/genenviron.awk not to add duplicate entries, closing
2019 bug #8999.
2020
2021 * rc-scripts 1.4.2.5 (09 Dec 2002)
2022
2023 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
2024
2025 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
2026
2027 Add smmsp uid and gid. Closes bug #8952.
2028
2029 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
2030
2031 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
2032 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
2033
2034 Add headers similar to that of portage-2.0.45 and up to the
2035 generated profile files (/etc/{profile,csh}.env). Updated
2036 src/awk/genenviron.awk for this.
2037
2038 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
2039
2040 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
2041 sharp eye of Techie2000 <Linux@mochamail.com>.
2042
2043 Rename /sbin/update-modules to /sbin/modules-update, closing
2044 bug #11445.
2045
2046 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
2047 /etc/env.d/00basic, bug #10916.
2048
2049 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2050
2051 Add more improvements to clustering code. This is from
2052 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
2053
2054 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2055
2056 Change default 'net' dependency behaviour to be more suited
2057 for notebook users. Basically if at least one net.* service
2058 beside net.lo start successfully, the 'net' dependency is
2059 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
2060 in /etc/conf.d/rc to change this back to the old default.
2061 This is the start to address bug #2706.
2062
2063 * rc-scripts 1.4.2.4 (26 Nov 2002)
2064
2065 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2066
2067 Initial merge of bits for Adelie Linux for SSI clusters. More
2068 info at:
2069
2070 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
2071
2072 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2073
2074 One liner fix to src/awk/cachedepends.awk to once again fix
2075 bug #7803.
2076
2077 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2078
2079 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
2080 This should close bug #10891.
2081
2082 * rc-scripts 1.4.2.3 (18 Nov 2002)
2083
2084 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2085
2086 Add some more checks to src/awk/*. Fix error printing for
2087 /sbin/depscan.sh.
2088
2089 Link awk module with gcc and not with ld. This should fix
2090 problems on sparc and alpha. Many thanks for this fix to
2091 Stephan Jones <cretin@gentoo.org>.
2092
2093 Remove the copyright info from config files, thanks to
2094 Matthew Kennedy <mkennedy@gentoo.org>.
2095
2096 * rc-scripts 1.4.2.2 (18 Nov 2002)
2097
2098 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2099
2100 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
2101 to awk. This is also much faster than its bash version.
2102
2103 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
2104 things even slower on older boxes. Bug #10548.
2105
2106 After a bored Vapier decided that he needed to update the
2107 licenses of things in /etc :P, I did the rest. Hopefully
2108 not too many people will nuke thier fstab :/
2109
2110 * rc-scripts 1.4.2.1 (18 Nov 2002)
2111
2112 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2113
2114 Update src/awk/cachedepends.awk to find its own rc-scripts,
2115 fixing the need for find which broke systems with /usr on
2116 a different partition.
2117
2118 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2119
2120 Add some extra checks to src/awk/cachedepends.awk and
2121 src/awk/gendepends.awk.
2122
2123 Move some of the more generic functions in src/awk/gendepends.awk
2124 to src/awk/functions.awk.
2125
2126 * rc-scripts 1.4.2 (17 Nov 2002)
2127
2128 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2129
2130 Add initial version of new depscan.sh. This uses awk scripts
2131 to do the main work, giving about 10 times speed improvement on
2132 slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
2133 src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
2134 for this. This should close bug #10548.
2135
2136 * rc-scripts 1.4.1.2 (5 Nov 2002)
2137
2138 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2139
2140 Add UID/GID of 250 for Portage Fakeroot account.
2141
2142 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
2143
2144 Change /etc/init.d/clock to depend on localmount again, fixing
2145 bug #10048.
2146
2147 Get deps on logger sane again. I wanted to get the logger started
2148 as early as possible, but clock for one breaks if /usr is mounted
2149 on seperate partition.
2150
2151 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
2152
2153 Fix return in /etc/init.d/modules to return 0 if /proc/modules
2154 do not exists. Closes bug #7738, comment #5.
2155
2156 * rc-scripts 1.4.1.1 (28 Oct 2002)
2157
2158 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
2159
2160 Fix /sbin/update-modules not to include backup files. Closes
2161 bug #9707.
2162
2163 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
2164
2165 Fix update-modules borking if there are directories present
2166 in /etc/modules.d/. Closes bug #9632.
2167
2168 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
2169
2170 Change deps on /etc/init.d/{clock,hostname,modules} not to
2171 depend on localmount, but rather on checkroot, as all of them
2172 just need / to be mounted. This should fix race conditions
2173 because of checkfs dependency on modules. This should close
2174 bug #9266.
2175
2176 * rc-scripts 1.4.1 (13 Oct 2002)
2177
2178 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
2179
2180 Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
2181 is additional measures for bug #8281.
2182
2183 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
2184
2185 Update /etc/init.d/net.eth0 to fix bug #8626.
2186
2187 Fix /sbin/rc-update to check return code of "ln". This should
2188 close bug #8867.
2189
2190 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2191
2192 Fix indentation in /etc/inputrc. This should close
2193 bug #8368.
2194
2195 Add extended status functionality. Should close bug #2462.
2196
2197 Add support for /sbin/rc-update to check if the rc-script
2198 is executable or not. Thanks to widersacher@gmx.net, closing
2199 bug #8326.
2200
2201 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2202
2203 Fix /etc/init.d/bootmisc not to kill pidfiles of running
2204 daemons. Improve NGPT support in /sbin/rc a bit.
2205
2206 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2207
2208 Fix my last screwup with /etc/init.d/net.ppp0. Basically
2209 forgot to change a few DEVICE's to IFACE ...
2210
2211 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2212
2213 NGPT support.
2214
2215 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2216
2217 Did a small fix to /etc/init.d/net.eth0, thanks to
2218 naanyaar2000@yahoo.com, bug #7407.
2219
2220 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2221
2222 Add the permission stuff for generic scsi when compiled as
2223 module, thanks to Bauno <bauno@inwind.it>.
2224
2225 Add support for /etc/devfs.d/ for additional devfs config
2226 stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
2227
2228 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2229
2230 Fix small type-o from last changes to /etc/init.d/netmount.
2231 Should resolve bug #7803.
2232
2233 * rc-scripts 1.4.0 (7 Sep 2002)
2234
2235 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
2236
2237 Update /etc/init.d/net.eth0 to handle individual broadcast
2238 and netmask for aliases. Should close bug #7407.
2239
2240 Give /var/run/utmp and /var/log/wtmp the proper permissions
2241 and ownership. First steps in fixing bug #7630.
2242
2243 Change Raid stuff again in /etc/init.d/checkfs.
2244
2245 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
2246
2247 Give root a 'root' GECOS in /etc/passwd, was NULL before.
2248
2249 * rc-scripts 1.3.9 (25 Aug 2002)
2250
2251 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
2252
2253 Update /sbin/rc to fix some spelling/slang mistakes. Closes
2254 bug #6887.
2255
2256 Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
2257 This closes bug #6378.
2258
2259 Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
2260 with many thanks to Asbjorn Sannes <ace@sannes.org>.
2261
2262 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
2263
2264 Update /etc/init.d/bootmisc to reset pam_console permissions.
2265
2266 Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
2267 line for getting devfs to work with pam_console.
2268
2269 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
2270
2271 Update /etc/init.d/keymaps to first load the windowkeys.inc then
2272 the user selected one, fixing bug #6295.
2273
2274 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
2275
2276 Change the 'cat' in check_rcscript() to a single 'awk' in
2277 /sbin/depscan.sh. This should fix broken pipe issues if the
2278 loop exists too early. Resolves bug #5961.
2279
2280 Fix software RAID startup/shutdown, bug #5310. Modified
2281 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
2282
2283 * rc-scripts 1.3.8 (08 Aug 2002)
2284
2285 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
2286
2287 Move the color ls stuff to .bashrc. Fix bug #5250.
2288
2289 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
2290
2291 Correct the comments in rc.conf about the XSESSION variable: it should
2292 be set to "kde-<version>" not "KDE". Closes bug #5948.
2293
2294 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
2295
2296 Fix the 'Usage' line in the help to return the correct options for
2297 the script (/sbin/runscript.sh). Resolve bug #6029.
2298
2299 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
2300
2301 Added UPS shutdown support for nut to halt.sh.
2302 Added nut user/group as uid/gid 84.
2303
2304 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
2305
2306 Updated /sbin/rc's way of checking for devfs support (now rather uses
2307 awk, as it is more accurate). Closes bug #5458.
2308
2309 Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
2310 and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
2311 Thanks goes to Chris PeBenito (bug #5570).
2312
2313 Changed most daemons to use /bin/false as shell. Should close bug #5388.
2314
2315 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
2316
2317 Added vpopmail user and group as 89:89
2318
2319 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
2320
2321 Add the cyrus user to /etc/passwd. Resolves bug #4100.
2322
2323 Some bugfixes and speed improvements to /sbin/depscan.sh after
2324 last changes.
2325
2326 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
2327 get some speed improvements.
2328
2329 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
2330
2331 Fix LVM support in /etc/init.d/checkfs again, thanks to help from
2332 Kyle Manna <nitro@gentoo.org>.
2333
2334 Add software RAID support to /etc/init.d/checkfs, thanks to
2335 Daniel Ahlberg <aliz@gentoo.org>.
2336
2337 Update the cache_depend() funtion in /sbin/depscan.sh not to
2338 quit on any "}", but only on the one matching the first "{". This
2339 requires wc in /bin, so baselayout should depend on
2340 >=sys-apps/textutils-2.0.19-r2
2341
2342 Update /etc/init.d/netmount to try and detect nfs mounts that should be
2343 mounted automatically on boot. This requires awk in /bin, so baselayout
2344 should depend on >=sys-apps/gawk-3.1.0-r3.
2345
2346 * rc-scripts 1.3.7 (17 Jul 2002)
2347
2348 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
2349
2350 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
2351 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
2352
2353 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
2354
2355 Add additional entries to /etc/services to support cyrus-imapd, thanks
2356 to Nick Hadaway <raker@gentoo.org>.
2357
2358 Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
2359 problem with non 7bit ascii symbols.
2360
2361 Updated /etc/init.d/checkfs to detect if lvm is already active.
2362 This should resolve bug #3613.
2363
2364 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
2365
2366 Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
2367 "games" user and group to 35
2368
2369 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
2370
2371 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
2372 (aka cybersystem). Updated /sbin/rc for this.
2373
2374 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
2375
2376 Update /etc/skel/.bashrc to update the window title of X terminals
2377 that supports it. Closes bug #4232.
2378
2379 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
2380
2381 Add sshd user and group. Updated /etc/passwd and /etc/group for this.
2382
2383 Update /etc/inputrc to resolve bug #2599.
2384
2385 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
2386
2387 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
2388 /etc/env.d/00basic for this.
2389
2390 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
2391 Nothing official, but I spent enough time on it not to want to loose it :)
2392
2393 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
2394 to give output to stderr. This was caused by a call to "stty", which when
2395 run without a attatched terminal, have this effect. Basically just pipe
2396 stderr to /dev/null.
2397
2398 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
2399
2400 Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
2401 bug #3363
2402
2403 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2404
2405 Update /etc/init.d/netmount not to try and mount NFS filesystems
2406 if portmap was not started. This is to stop "hang" problems for
2407 new users who do not add portmap to the default runlevel. See
2408 bug #2555.
2409
2410 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
2411
2412 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2413
2414 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
2415
2416 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2417
2418 Change the homes of user "at" and "cron" in /etc/passwd, as
2419 they moved to /var/spool/cron...
2420
2421 * rc-scripts 1.3.5 (12 May 2002)
2422
2423 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2424
2425 Make slight modifications to /sbin/depscan.sh to improve speed (about
2426 1 second on a celeron 633).
2427
2428 Finally fix /sbin/runscript.sh to properly handle interdependencies
2429 between types need/use and before/after on runlevel change. I can
2430 actually kick myself for previous implementations, as this fix simplifies
2431 things a lot, and is almost 30 lines of code less!
2432
2433 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
2434 It rather just exit with a warning, as I think most people have like
2435 me mounts that are to boxes that are not always up.
2436
2437 Resolve bug #2439 (should not use try with the dd command for ramdisk
2438 stuff). Also increase the number of inodes used for the ramdisk to
2439 fix "out of space" errors. Updated /sbin/rc for this.
2440
2441 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2442
2443 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
2444 backup files to generate /etc/profile.env.
2445
2446 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
2447 for this.
2448
2449 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2450
2451 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
2452 /etc/env.d/ file. Same for $QTDIR.
2453
2454 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
2455
2456 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
2457 and is needed for some fixes.
2458
2459 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2460
2461 Update /etc/rc.conf to be more clear and state that you should
2462 remove consolefont from startup if you do not use it. Should
2463 resolve bug #2174.
2464
2465 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
2466
2467 Added user/group apache with uid/gid 81.
2468
2469 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2470
2471 Remove the "-net" from the line setting the default gateway
2472 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
2473 noting this.
2474
2475 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
2476
2477 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
2478 which is installed with the nfs-utils package. Also tidied up some
2479 really old, leftover junk like the non-supported stuff from rc5.
2480 Closes #1754.
2481
2482 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2483
2484 Remove creation of /var/run/utmpx from bootmisc again. Seems
2485 other people have wierd problems.
2486
2487 * rc-scripts 1.3.4 (21 Apr 2002)
2488
2489 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2490
2491 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
2492 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
2493
2494 Implement the status commandline argument. Updated /sbin/runscript.sh
2495 and /sbin/rc-help.sh for this.
2496
2497 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
2498 and AFTER.
2499
2500 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2501
2502 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
2503 is needed, else /usr/bin/newgrp segfault.
2504
2505 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2506
2507 Update /etc/skel/.bash_profile to make it tcsh compadible.
2508 Thanks to Väinö Järvelä for this fix.
2509
2510 Update /etc/profile to also set the PS? variables if $SHELL
2511 is set to /bin/sh. This should make prompt colours in
2512 bootstrap work again.
2513
2514 Move LVM stuff to checkfs to ensure that they get fscked.
2515 This resolves bug #1552.
2516
2517 * rc-scripts 1.3.3 (5 Apr 2002)
2518
2519 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2520
2521 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
2522 This is done to try and ensure system integrity.
2523
2524 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
2525
2526 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
2527
2528 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
2529
2530 Add a bash check to the code that sets the prompt, fixing bug #1078.
2531
2532 * rc-scripts 1.3.2 (24 Mar 2002)
2533
2534 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2535
2536 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
2537 for this.
2538
2539 With the "before" and "after" stuff, recursion levels was getting too high,
2540 and with some cases, things just plain did not work as it should. Reworked
2541 things to to lower the levels of recursion and get the order right. Updated
2542 /etc/init.d/runscript.sh for this.
2543
2544 Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
2545 ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
2546
2547 Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
2548
2549 Remove /etc/pwdb.conf, as pwdb already install a copy of this.
2550
2551 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
2552
2553 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
2554 and it seems it has fallen now to my discression.
2555
2556 * rc-scripts 1.3.1 (23 Mar 2002)
2557
2558 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
2559 DHCP lease release from Jim Nutt.
2560
2561 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
2562 since there are a lot of important bug fixes in here that are needed.
2563
2564 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2565
2566 Resolve bug #1292.
2567
2568 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
2569 Spidler.
2570
2571 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2572
2573 Update /sbin/rc to fix a 'cat mounts' instead of the correct
2574 version, 'cat /proc/mounts'.
2575
2576 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2577
2578 Add initial support for the --quiet flag that suppress output.
2579
2580 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2581
2582 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
2583 as not all errors by depscan.sh is critical. It should be
2584 reworked to do better error handeling.
2585
2586 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2587
2588 Fix the GID and UID of nobody and nogroup in /etc/passwd and
2589 /etc/group to match those of Debian, FBSD and others. Thanks
2590 to those who reported it, and Woodchip for looking up the
2591 proper values.
2592
2593 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
2594 This resolves bug #1150, thanks to Paul Fleischer.
2595
2596 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2597
2598 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
2599 as some users have /usr on seperate partition which is not
2600 mounted when depscan.sh is run the first time.
2601
2602 Updated the checking for more than one service providing the
2603 same virtual function in /etc/init.d/depscan.sh. It should
2604 be working now, and this also fix a problem that when there is no
2605 service providing a virtual, counter was used uninitialized.
2606
2607 * rc-scripts 1.3.0 (10 Mar 2002)
2608
2609 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2610
2611 Resolved bug #1021; updated /etc/init.d/consolefont for this.
2612
2613 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
2614
2615 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
2616 and /etc/init.d/localmount for this.
2617
2618 Lots of form/syntax cleanups, most things should be more
2619 consistant now. Fixed fail detection/return values of lots of
2620 scripts.
2621
2622 Lots of cleanup/fixes in the three main scripts behind our
2623 rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
2624
2625 Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
2626 is sourced in a ebuild.
2627
2628 Fix a bug that our rc-script wrapper introduced: Global variables
2629 in scripts no longer worked. Updated /etc/init.d/runscript.sh for
2630 this.
2631
2632 Implemented more error checking for the main startup code in /sbin/rc.
2633 Also fixed try() for mounting /proc (maybe all mount commands).
2634 The function worked fine in a simulated test, but in real life failed
2635 to detect a error when mounting /proc (remember to thank Grant for
2636 his UserMode ebuilds, and Guide).
2637
2638 * rc-scripts 1.2.9 (6 Mar 2002)
2639
2640 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2641
2642 General form updates and some piping fixes.
2643
2644 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
2645 to fix a problem where startDM.sh would be respawned repeatedly
2646 if xdm was not in the default runlevel.
2647
2648 * rc-scripts 1.2.8 (4 Mar 2002)
2649
2650 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2651
2652 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
2653 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
2654 move them to the xfree ebuild later on when things settles down.
2655
2656 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
2657
2658 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
2659 where we had a invalid $PATH on boot in some cases.
2660
2661 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
2662 the new sys-apps/kbd package.
2663
2664 * rc-scripts 1.2.7 (3 Mar 2002)
2665
2666 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2667
2668 Fixed the problem of rc-scripts trying to start/stop a service multiple
2669 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
2670 for this.
2671
2672 Fixing some variable declarations in /etc/init.d/runscript.sh caused
2673 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
2674 this.
2675
2676 Added caching of the "depend() { need foo; } " lines, and updated
2677 /etc/init.d/depscan.sh to touch the actual files less. This should
2678 speedup dependency caching a lot, especially on slow machines.
2679
2680 Updated /etc/passwd to have users with no shell defined, use /bin/false
2681 for security.
2682
2683 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
2684
2685 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
2686
2687 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
2688 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
2689 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
2690 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
2691
2692 Removed stopping of dependent services that have current service as
2693 a 'use'dependency ... should be less confusing now.
2694 Updated /etc/init.d/runscript.sh for this.
2695
2696 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2697
2698 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
2699 programs to startup. This should pretty much have /etc/init.d/ static,
2700 except for baselayout updates, etc.
2701
2702 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2703
2704 In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
2705 problems. Fixed this in /sbin/rc.
2706
2707 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
2708 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
2709 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
2710
2711 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2712
2713 Fix my brain dead update of the 25th. It really should keep
2714 "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
2715 retrieving kernel options. Updated /etc/init.d/functions.sh,
2716 /etc/init.d/checkroot and /sbin/rc for this.
2717
2718 Updated /etc/init.d/consolefont to work without devfs as well.
2719
2720 When rebooting or shutting down, a service should not fail to stop
2721 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
2722 for this.
2723
2724 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2725
2726 Added a check if /dev is mounted when creating entries for /etc/mtab.
2727 This should solve a invalid entry or /dev being mounted even with
2728 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
2729
2730 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
2731 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
2732 just in a comment now)
2733
2734 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2735
2736 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
2737 this. This should fix services not getting started in the correct order
2738 in a tight loop, services getting stopped out of order, and some other
2739 sanity checks. Updated rc-script.sh for updated help.
2740
2741 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2742
2743 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
2744 and added the 'after' type. 'before' and 'after' will only work currently
2745 for a change of runlevel. Updated /etc/init.d/depscan.sh,
2746 /etc/init.d/runscript.sh and /sbin/rc for this.
2747
2748 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2749
2750 Add some more entries to /etc/devfsd.conf to make alsa users life
2751 easier ... thanks Tod.
2752
2753 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2754
2755 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
2756
2757 Fixed some services not starting again when restarting a service.
2758 Seems simple is still the best way.
2759
2760 Fixed some other problems created with feature additions and cleanups.
2761
2762 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2763
2764 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
2765
2766 Added 'before *' to /etc/init.d/checkroot to make sure it gets
2767 started first.
2768
2769 Added 'use *' to /etc/init.d/local to make sure it gets started
2770 last.
2771
2772 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2773
2774 Fixed /sbin/rc to stop a service on change of runlevel if it is
2775 in 'use' by another service.
2776
2777 Added the 'provide' depend type for creating virtual services.
2778 Updated /etc/init.d/depscan.sh for this.
2779
2780 Added the 'before' depend type. This is more for changing the
2781 order services start in. Updated /etc/init.d/depscan.sh and
2782 /etc/init.d/functions.sh for this.
2783
2784 Updated /etc/init.d/depscan.sh to work with '*' as argument for
2785 dependency types. This can be used with 'use' and 'before' to
2786 start a script last or first respectively.
2787
2788 Added save_options() and get_options() to /etc/init.d/functions.sh
2789 for saving misc settings between startup/shutdown. Updated
2790 /etc/init.d/net.eth0 to use these and properly down virtual
2791 interfaces.
2792
2793 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2794
2795 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
2796 on no errors.
2797
2798 * rc-scripts 1.2.6 (6 Feb 2002)
2799
2800 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2801
2802 Updated /etc/net.eth0 to specify the gateway device via the $gateway
2803 variable (something like gateway="eth0/192.168.0.1").
2804
2805 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2806
2807 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
2808
2809 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
2810
2811 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
2812 implements a retry if not successful the first time, and will kill
2813 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
2814
2815 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
2816 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
2817 Fixed /etc/passwd,group for user/group mysql.
2818
2819 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
2820 map file support to /etc/init.d/consolefont and the setting to
2821 /etc/rc.conf.
2822
2823 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
2824 in skel files to support both versions of dircolors.
2825
2826 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
2827 in the restart stuff of /etc/init.d/runscript.sh that caused
2828 a restart of a 'net' service not to restart services again
2829 that depended on it.
2830
2831 * rc-scripts 1.2.5 (20 Jan 2002)
2832
2833 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
2834 /etc/init.d/net.eth0 to 'use' pcmcia.
2835
2836 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
2837 the dircolors command in /etc/skel/.bash_profile to handle cases
2838 where bash do not export $SHELL.
2839
2840 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
2841 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
2842 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
2843 scheme for the net.eth* scripts.
2844
2845 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
2846 from manpages; no need for that..
2847
2848 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
2849 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
2850
2851 * rc-scripts 1.2.4 (30 Dec 2001)
2852
2853 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
2854 back to 022 as it should be.
2855
2856 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
2857 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
2858
2859 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
2860 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
2861
2862 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
2863
2864 Updated /etc/init.d/depscan.sh to store info about missing dependencies
2865 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
2866 to use this when starting a script ('need' dependencies is critical for
2867 startup). Added the broken() function to /etc/init.d/runscript.sh
2868 to list the missing dependencies.
2869
2870 Updated /etc/init.d/runscript.sh for svc_start() to have better error
2871 checking.
2872
2873 Updated /etc/init.d/functions.sh with ewend(), which is the same as
2874 eend(), but print a warning on error, not a error. Updated
2875 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
2876
2877 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
2878
2879 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
2880 is passed to a rc-script.
2881
2882 Added /etc/init.d/rc-help.sh, simple script that prints out help for
2883 the rc-scripts.
2884
2885 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
2886
2887 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
2888 halt and reboot. This fixes a problem where / was not unmounted properly
2889 in some cases.
2890
2891 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
2892
2893 Move $svcdir to to /etc/init.d/functions.sh, and update
2894 /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
2895
2896 Modified /etc/init.d/runscript.sh to also restart the services that
2897 depend on a service if that service is restarted. Enhanced the
2898 restart function to be able to have custom restart() functions in
2899 rc-scripts. The custom restart() have to use svc_stop() and
2900 svc_start() to restart the service.
2901
2902 Add a pause function to /etc/init.d/runscript.sh. It will basically
2903 stop a service without stopping the services that depends on that
2904 service.
2905
2906 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
2907 service without stopping the services that depends on that service.
2908
2909 * rc-scripts 1.2.3 (18 Dec 2001)
2910
2911 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
2912
2913 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
2914 init wrapper we used).
2915
2916 Some cleanups: take out the shm resize comment;
2917
2918 remove the $wrongmount;
2919
2920 remove the mountshm() function and insert it directly
2921 where needed;
2922
2923 remove the setting of $PATH as /sbin/init already do
2924 this for us.
2925
2926 Added the if statement to detect if it is the first time the 'boot'
2927 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
2928 $RUNLEVEL is a env var set by /sbin/init.
2929
2930 Also added functionality to detect if the kernel have DEVFS support
2931 compiled in; seems new users thinks devfs is unstable and as they do
2932 not always read the docs, it does not get compiled in ;/ Should
2933 make live for us a bit easier.
2934
2935 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
2936
2937 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
2938 the unneeded services.
2939
2940 * rc-scripts 1.2.2 (8 Dec 2001)
2941
2942 10 Dec 2001; Added a localhost entry in /etc/hosts.
2943
2944 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
2945 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
2946 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
2947 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
2948 in this ChangeLog that needs to be removed! Like the changes to hosts,
2949 profile. /etc/{passwd,group} have minor UID and GID type fixes for
2950 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
2951 directories.
2952
2953 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
2954 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
2955 and one for update-modules.8. These were adapted from Debian. Updated
2956 tarball.sh to include the new man directory. Updated baselayout to install
2957 these manpages. Slightly tweak the /etc/modules.autoload comments.
2958
2959 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2960
2961 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
2962 and cleaned out old code.
2963
2964 Updated /etc/init.d/bootmisc with additional lock files to clean.
2965
2966 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2967
2968 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
2969 that can be used for services that needs to have a logger started before
2970 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
2971 to define what loggers the 'logger' depend represent.
2972
2973 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2974
2975 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
2976 and grpck.
2977
2978 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2979
2980 Changed umask in /etc/profile for the user to 077 for security.
2981
2982 Added a stop() function to /etc/init.d/clock. Also removed uneeded
2983 'source /etc/rc.conf' line.
2984
2985 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
2986 /etc/hostname is invalid.
2987
2988 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
2989 running devfsd, as it did still not save settings properly. Also removed
2990 old /dev-state/compat stuff.
2991
2992 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
2993 from the default "default" runlevel. It still exists in the archive so that
2994 users who want/need it can add it easily.
2995
2996 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
2997 removed notail from the ext2 boot partition, other cleanups.
2998
2999 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
3000
3001 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
3002
3003 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
3004 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
3005 standard location.
3006
3007 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
3008 itself, calling depscan.sh or changing runlevels cause a tempory effect
3009 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
3010 changing runlevels did not want to work.
3011
3012 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
3013 More cosmetic than anything else, but cant hurt with the new dev-state
3014 scheme.
3015
3016 Updated /sbin/init to set the console log level to 1, so that bootup
3017 can be much cleaner. Also updated /etc/init.d/modules not to have
3018 a logger in it 'use' depends, as it should not be needed anymore.
3019
3020 Updated /sbin/rc to check if devfsd is still running between runlevel
3021 changes.
3022
3023 Updated /etc/init.d/modules to run update-modules. We want to be sure
3024 /etc/modules.conf is updated when running depmod -a.
3025
3026 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
3027 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
3028
3029 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
3030 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
3031 updated tarball.sh to handle ppp/chat-default.
3032
3033 Added /etc/skel/.bash* to make things cleaner.
3034
3035 Other minor changes.
3036
3037 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
3038 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
3039
3040 * rc-scripts 1.1.8 (15 Nov 2001)
3041
3042 16 Nov 2001; removed bogus "mountall.test" script.
3043
3044 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
3045
3046 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
3047 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
3048 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
3049 names of new functions in init.d/runscript.sh to better sounding ones.
3050 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
3051 fixes/cleanups.
3052
3053 Removed try() out of init.d/runscript.sh (why was this here ?).
3054
3055 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
3056
3057 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
3058 doesn't exist.
3059
3060 init.d/hostname: Added check for a valid /etc/hostname.
3061
3062 init.d/keymaps: Added check for valid $KEYMAP.
3063
3064 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
3065 should solve Woodchip's syslog+glue issue. We just have to change the
3066 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
3067 output info and warnings, etc to the console, then boot will be much cleaner.
3068 Also the install guide will need changing to add the loggers to 'boot' and
3069 not 'default' runlevel.
3070
3071 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
3072 this really needed (I cannot see that it is used anywhere ...)?
3073
3074 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
3075
3076 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
3077 called 'uses'. It basically have the same usage as 'need', except that it
3078 do not start services that is not in the current and 'boot' runlevels.
3079
3080 Updated init.d/netmount to use the 'uses' depend.
3081
3082 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
3083
3084 Fixed init.d/runscript.sh not to destroy the 'need' depends in
3085 /${svcdir}/need. This caused subsequent starting and stopping of services
3086 not to start depends.
3087
3088 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
3089
3090 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
3091 destroyed before stopping running services scheduled to be stopped. This
3092 with the fact that $SOFTLEVEL was set too early, caused the services to be
3093 stopped in the wrong order.
3094
3095 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
3096
3097 Modified init.d/netmount to check if any network filesystems is mounted.
3098
3099 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
3100 some awk and grep magic to find all remote filesystems and umount them.
3101
3102 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
3103
3104 A fix for checkroot (missing "/"); it now actually checks the root
3105 filesystem. Also, a localmount cleanliness fix.
3106
3107 * rc-scripts 1.1.7 (18 Oct 2001)
3108
3109 [old changelog format follows]
3110
3111 *lots of scripts; woodchip
3112 removed old rc5 scripts from cvs
3113
3114 *init.d/runscript.sh; agriffis
3115 Added support for rc.conf and home-grown functions
3116
3117 *init.d/modules;
3118 Now correctly looks at /etc/modules.autoload
3119
3120 rc-scripts-1.1.6, released 15 Sep 2001
3121 ======================================
3122
3123 *init.d/runscript.sh, others
3124 Handling of "net" dependencies resolve to all net devices in
3125 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
3126 variable in /etc/rc.conf has been removed.
3127
3128 *init.d/runscript.sh
3129 New "zap" option for manually resetting the state of an initscript
3130 to stopped.
3131
3132 *init.d/{samba,sysklogd,sshd}
3133 Removed from CVS; they live in their respective packages.
3134
3135 rc-scripts-1.1.5, released 02 Sep 2001
3136 ====================================
3137
3138 *sbin/rc-update
3139 New version of the rc-update command for the new initscripts. Works
3140 similarly to the old version, except this one updates our dependency
3141 cache.
3142
3143 *init.d/functions.sh
3144 New and better looking informational message functions (einfo, einfon).
3145 Brand new message functions (ewarn).
3146
3147 *sbin/init, init.d/checkroot
3148 We're going back to a /proc/mounts-based mtab symlink because it's
3149 just plain better. Appropriate changes made.
3150
3151 # vim:expandtab

  ViewVC Help
Powered by ViewVC 1.1.20