| 1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
| 2 | # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL |
2 | # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL |
| 3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
| 4 | |
4 | |
| 5 | * rc-scripts 1.4.3.7 (10 May 2003) |
5 | * rc-scripts 1.4.3.7 (11 May 2003) |
|
|
6 | |
|
|
7 | 11 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
8 | |
|
|
9 | Too many things to remember, so here is changes of note: |
|
|
10 | - More changes to gendepend.awk. This basically modifies it to not use |
|
|
11 | symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather |
|
|
12 | create a file that can be sourced. Seems to speedup things nicely. |
|
|
13 | - Add /sbin/rc-services.sh. This is basically a module to get dependency |
|
|
14 | info from the new $svcdir/deptree, and some other new service functions. |
|
|
15 | - Modify the whole works to *only* source all needed files once. This |
|
|
16 | includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also |
|
|
17 | rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh |
|
|
18 | is sourced more than once (actually each time a service is started or |
|
|
19 | stopped, but is is cut down much). Also seems to speed things up again. |
|
|
20 | - Fix a long outstanding bug in gendepend.awk that caused the 'net' |
|
|
21 | dependency to not be actually used in shutdown, causing the services |
|
|
22 | needing it to be stoped before net.* services. |
|
|
23 | - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to |
|
|
24 | /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel |
|
|
25 | startup of services, and seems to work nicely. Only issues to date is |
|
|
26 | that printing of messages is not synced, and a race very intermittantly |
|
|
27 | that causes a service to be started when it was already scheduled. |
|
|
28 | - Add a new dependency type 'parallel' that can be used to control if a |
|
|
29 | service can be started in paralled or not. Possible arguments is "yes" |
|
|
30 | or "no"; if it is not present, it is considered as "yes": |
|
|
31 | |
|
|
32 | depend() { |
|
|
33 | parallel yes|no |
|
|
34 | } |
|
|
35 | |
|
|
36 | Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh. |
|
|
37 | - Fix the 'single' runlevel to actually work properly, and without a |
|
|
38 | /etc/runlevels/single directory. |
|
|
39 | - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly. |
|
|
40 | Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT. |
| 6 | |
41 | |
| 7 | 08 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
42 | 08 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 8 | |
43 | |
| 9 | Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely, |
44 | Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely, |
| 10 | and adding more sanity checks. |
45 | and adding more sanity checks. |
| 11 | |
46 | |
| 12 | 04 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
47 | 04 May 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 13 | |
48 | |
| 14 | Revert /etc/init.d/hostname the way it was, as it should be the user's |
49 | Revert /etc/init.d/hostname the way it was, as it should be the user's |
| 15 | choice if he want to have a FQDN in there or not, bug #14946. |
50 | choice if he want to have a FQDN in there or not, bug #14946. |
| … | |
… | |
| 17 | Add /etc/init.d/domainname for those that want to use it. |
52 | Add /etc/init.d/domainname for those that want to use it. |
| 18 | |
53 | |
| 19 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
54 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 20 | |
55 | |
| 21 | Change the root check back the way it was, else it breaks with non bash |
56 | Change the root check back the way it was, else it breaks with non bash |
| 22 | shells; modified /etc/profile. |
57 | shells; modified /etc/profile. |
| 23 | |
58 | |
| 24 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
59 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 25 | |
60 | |
| 26 | Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140. |
61 | Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140. |
| 27 | |
62 | |