| 1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
| 2 | # Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL |
2 | # Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL |
| 3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
|
|
4 | |
|
|
5 | 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update |
|
|
6 | /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the |
|
|
7 | halt and reboot. This fixes a problem where / was not unmounted |
|
|
8 | properly in some cases. |
|
|
9 | |
|
|
10 | 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to |
|
|
11 | to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and |
|
|
12 | /etc/init.d/depscan.sh for this |
|
|
13 | |
|
|
14 | Modified /etc/init.d/runscript.sh to also restart the services that |
|
|
15 | depend on a service if that service is restarted. Enhanced the |
|
|
16 | restart function to be able to have custom restart() functions in |
|
|
17 | rc-scripts. The custom restart() have to use svc_stop() and |
|
|
18 | svc_start() to restart the service. |
|
|
19 | |
|
|
20 | Add a pause function to /etc/init.d/runscript.sh. It will basically |
|
|
21 | stop a service without stopping the services that depends on that |
|
|
22 | service. |
|
|
23 | |
|
|
24 | * rc-scripts 1.2.3 (18 Dec 2001) |
|
|
25 | |
|
|
26 | 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from |
|
|
27 | /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used). |
|
|
28 | |
|
|
29 | Some cleanups: take out the shm resize comment; |
|
|
30 | |
|
|
31 | remove the $wrongmount; |
|
|
32 | |
|
|
33 | remove the mountshm() function and insert it directly |
|
|
34 | where needed; |
|
|
35 | |
|
|
36 | remove the setting of $PATH as /sbin/init already do |
|
|
37 | this for us. |
|
|
38 | |
|
|
39 | Added the if statement to detect if it is the first time the 'boot' |
|
|
40 | runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]). |
|
|
41 | $RUNLEVEL is a env var set by /sbin/init. |
|
|
42 | |
|
|
43 | Also added functionality to detect if the kernel have DEVFS support |
|
|
44 | compiled in; seems new users thinks devfs is unstable and as they do |
|
|
45 | not always read the docs, it does not get compiled in ;/ Should |
|
|
46 | make live for us a bit easier. |
|
|
47 | |
|
|
48 | 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill |
|
|
49 | a cosmetic bug in the part that stops all the unneeded services. |
| 4 | |
50 | |
| 5 | * rc-scripts 1.2.2 (8 Dec 2001) |
51 | * rc-scripts 1.2.2 (8 Dec 2001) |
| 6 | |
52 | |
| 7 | 10 Dec 2001; Added a localhost entry in /etc/hosts. |
53 | 10 Dec 2001; Added a localhost entry in /etc/hosts. |
| 8 | |
54 | |
| … | |
… | |
| 25 | to work correctly with the 'gentoo=nodevfs' option, and cleaned |
71 | to work correctly with the 'gentoo=nodevfs' option, and cleaned |
| 26 | out old code. |
72 | out old code. |
| 27 | |
73 | |
| 28 | Updated /etc/init.d/bootmisc with additional lock files to clean. |
74 | Updated /etc/init.d/bootmisc with additional lock files to clean. |
| 29 | |
75 | |
| 30 | Updated /etc/init.d/hdparm to check if devfs is uddsed. |
|
|
| 31 | |
|
|
| 32 | 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
76 | 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
| 33 | /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' |
77 | /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' |
| 34 | that can be used for services that needs to have a logger started |
78 | that can be used for services that needs to have a logger started |
| 35 | before they are started. Updated /etc/conf.d/basic with $SYSLOGGER |
79 | before they are started. Updated /etc/conf.d/basic with $SYSLOGGER |
| 36 | that is used to define what loggers the 'logger' depend represent. |
80 | that is used to define what loggers the 'logger' depend represent. |
| 37 | Also updated /etc/init.d/hdparm and /etc/init.d/modules to use |
|
|
| 38 | this new depend. |
|
|
| 39 | |
81 | |
| 40 | 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
82 | 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
| 41 | /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. |
83 | /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. |
| 42 | |
84 | |
| 43 | 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in |
85 | 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in |
| 44 | /etc/profile for the user to 077 for security. |
86 | /etc/profile for the user to 077 for security. |
| 45 | |
87 | |
| 46 | Added a localhost line to /etc/hosts after yet another post to gentoo-user. |
|
|
| 47 | I cant see any problem with this, and since nobody else wants to take the |
|
|
| 48 | plunge .... |
|
|
| 49 | |
|
|
| 50 | Added a stop() function to /etc/init.d/clock. Also removed uneeded |
88 | Added a stop() function to /etc/init.d/clock. Also removed uneeded |
| 51 | 'source /etc/rc.conf' line. |
89 | 'source /etc/rc.conf' line. |
| 52 | |
90 | |
| 53 | Updated /etc/init.d/hostname to set the hostname to 'localhost' if |
91 | Updated /etc/init.d/hostname to set the hostname to 'localhost' if |
| 54 | /etc/hostname is invalid. |
92 | /etc/hostname is invalid. |
| 55 | |
|
|
| 56 | Updated /etc/init.d/hdparm to display a [ok] for each drive it optimizes. |
|
|
| 57 | |
93 | |
| 58 | Updated /sbin/init to move the entries in /lib/dev-state to /dev before |
94 | Updated /sbin/init to move the entries in /lib/dev-state to /dev before |
| 59 | running devfsd, as it did still not save settings properly. Also removed |
95 | running devfsd, as it did still not save settings properly. Also removed |
| 60 | old /dev-state/compat stuff. |
96 | old /dev-state/compat stuff. |
| 61 | |
97 | |
| 62 | Removed a stupid bug out of /sbin/init ... /lib/dev-state/* was moved |
|
|
| 63 | to /dev *before* /dev was mounted. |
|
|
| 64 | |
|
|
| 65 | Seems the .keep files in /lib/dev-state/pts and /lib/dev-state/shm |
|
|
| 66 | caused /sbin/init to lock while moving /lib/dev-state/* to /dev. Added |
|
|
| 67 | the needed fixes to the baselayout ebuild. |
|
|
| 68 | |
|
|
| 69 | On second thoughts, removed the 'try' out of the code that moves |
|
|
| 70 | /lib/dev-state/* to /dev, since this is not a critical task, and |
|
|
| 71 | booting will still continue on failure. |
|
|
| 72 | |
|
|
| 73 | 25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
98 | 25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
| 74 | from the default "default" runlevel. It still exists in the archive so that |
99 | from the default "default" runlevel. It still exists in the archive so that |
| 75 | users who want/need it can add it easily. |
100 | users who want/need it can add it easily. |
| 76 | |
101 | |
| 77 | 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
102 | 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
| … | |
… | |
| 80 | 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
105 | 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
| 81 | |
106 | |
| 82 | 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf |
107 | 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf |
| 83 | and updated /sbin/init to use a new scheme for saving /dev permissions. |
108 | and updated /sbin/init to use a new scheme for saving /dev permissions. |
| 84 | Also moved /dev-state to /lib/dev-state which is a more standard location. |
109 | Also moved /dev-state to /lib/dev-state which is a more standard location. |
| 85 | |
|
|
| 86 | Added /etc/conf.d and moved rc.conf there as /etc/conf.d/basic. Created |
|
|
| 87 | /etc/rc.conf again as a blank file .. the website should be updated to |
|
|
| 88 | say that the user should look in /etc/conf.d/* for stuff to configure. |
|
|
| 89 | |
|
|
| 90 | Added /etc/init.d/hdparm and /etc/conf.d/hdparm; a script and config |
|
|
| 91 | file for setting generic optimizations for the disk drives. |
|
|
| 92 | |
110 | |
| 93 | Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on |
111 | Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on |
| 94 | itself, calling depscan.sh or changing runlevels cause a tempory effect |
112 | itself, calling depscan.sh or changing runlevels cause a tempory effect |
| 95 | similar to a 'mini fork bomb'. Afterwards the depends was broken, and |
113 | similar to a 'mini fork bomb'. Afterwards the depends was broken, and |
| 96 | changing runlevels did not want to work. |
114 | changing runlevels did not want to work. |
| 97 | |
115 | |
| 98 | Updated /etc/init.d/halt.sh to terminate and display message for devfsd. |
116 | Updated /etc/init.d/halt.sh to terminate and display message for devfsd. |
| 99 | More cosmetic than anything else, but cant hurt with the new dev-state |
117 | More cosmetic than anything else, but cant hurt with the new dev-state |
| 100 | scheme. |
118 | scheme. |
| 101 | |
119 | |
| 102 | Removed config stuff from /etc/init.d/net.eth0, and moved it to |
|
|
| 103 | /etc/conf.d/net.eth0. Also added a comment to this effect. |
|
|
| 104 | |
|
|
| 105 | Removed config stuff from /etc/init.d/net.eth0-dhcp, and moved it to |
|
|
| 106 | /etc/conf.d/net.eth0-dhcp. Also added a comment to this effect. |
|
|
| 107 | |
|
|
| 108 | Updated gentoo-src/rc-scripts/rc-lists/default to add /etc/init.d/hdparm |
|
|
| 109 | to the default runlevel. |
|
|
| 110 | |
|
|
| 111 | Updated /sbin/init to set the console log level to 1, so that bootup |
120 | Updated /sbin/init to set the console log level to 1, so that bootup |
| 112 | can be much cleaner. Also updated /etc/init.d/modules not to have |
121 | can be much cleaner. Also updated /etc/init.d/modules not to have |
| 113 | a logger in it 'use' depends, as it should not be needed anymore. |
122 | a logger in it 'use' depends, as it should not be needed anymore. |
| 114 | |
123 | |
| 115 | Updated /sbin/rc to check if devfsd is still running between runlevel |
124 | Updated /sbin/rc to check if devfsd is still running between runlevel |
| … | |
… | |
| 123 | |
132 | |
| 124 | Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and |
133 | Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and |
| 125 | /usr/lib/ppp/chat-default as part of my new pppd scripts. Also |
134 | /usr/lib/ppp/chat-default as part of my new pppd scripts. Also |
| 126 | updated tarball.sh to handle ppp/chat-default. |
135 | updated tarball.sh to handle ppp/chat-default. |
| 127 | |
136 | |
| 128 | Added /etc/skel/.bash* to make things cleaner and set $INPUTRC. |
137 | Added /etc/skel/.bash* to make things cleaner. |
| 129 | |
138 | |
| 130 | Minor changes I forgot about. |
139 | Other minor changes. |
| 131 | |
140 | |
| 132 | 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
141 | 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
| 133 | to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
142 | to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
| 134 | |
143 | |
| 135 | * rc-scripts 1.1.8 (15 Nov 2001) |
144 | * rc-scripts 1.1.8 (15 Nov 2001) |