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 | |
4 | |
|
|
5 | * rc-scripts 1.2.2 (8 Dec 2001) |
|
|
6 | |
|
|
7 | 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c |
|
|
8 | to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to |
|
|
9 | rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon. |
|
|
10 | Start-stop-daemon is moved here from sysvinit by the way. There is stuff |
|
|
11 | in this ChangeLog that needs to be removed! Like the changes to hosts, |
|
|
12 | profile. /etc/{passwd,group} have minor UID and GID type fixes for |
|
|
13 | users ftp, postgres, xfs. |
|
|
14 | |
|
|
15 | 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory |
|
|
16 | to rc-scripts. Checked in two manpages there, one for modules.autoload.5 |
|
|
17 | and one for update-modules.8. These were adapted from Debian. Updated |
|
|
18 | tarball.sh to include the new man directory. Updated baselayout to install |
|
|
19 | these manpages. Slightly tweak the /etc/modules.autoload comments. |
|
|
20 | |
|
|
21 | 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init |
|
|
22 | to work correctly with the 'gentoo=nodevfs' option, and cleaned |
|
|
23 | out old code. |
|
|
24 | |
|
|
25 | Updated /etc/init.d/bootmisc with additional lock files to clean. |
|
|
26 | |
|
|
27 | Updated /etc/init.d/hdparm to check if devfs is used. |
|
|
28 | |
|
|
29 | 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
|
|
30 | /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' |
|
|
31 | that can be used for services that needs to have a logger started |
|
|
32 | before they are started. Updated /etc/conf.d/basic with $SYSLOGGER |
|
|
33 | that is used to define what loggers the 'logger' depend represent. |
|
|
34 | Also updated /etc/init.d/hdparm and /etc/init.d/modules to use |
|
|
35 | this new depend. |
|
|
36 | |
|
|
37 | 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
|
|
38 | /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. |
|
|
39 | |
|
|
40 | 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in |
|
|
41 | /etc/profile for the user to 077 for security. |
|
|
42 | |
|
|
43 | Added a localhost line to /etc/hosts after yet another post to gentoo-user. |
|
|
44 | I cant see any problem with this, and since nobody else wants to take the |
|
|
45 | plunge .... |
|
|
46 | |
|
|
47 | Added a stop() function to /etc/init.d/clock. Also removed uneeded |
|
|
48 | 'source /etc/rc.conf' line. |
|
|
49 | |
|
|
50 | Updated /etc/init.d/hostname to set the hostname to 'localhost' if |
|
|
51 | /etc/hostname is invalid. |
|
|
52 | |
|
|
53 | Updated /etc/init.d/hdparm to display a [ok] for each drive it optimizes. |
|
|
54 | |
|
|
55 | Updated /sbin/init to move the entries in /lib/dev-state to /dev before |
|
|
56 | running devfsd, as it did still not save settings properly. Also removed |
|
|
57 | old /dev-state/compat stuff. |
|
|
58 | |
|
|
59 | Removed a stupid bug out of /sbin/init ... /lib/dev-state/* was moved |
|
|
60 | to /dev *before* /dev was mounted. |
|
|
61 | |
|
|
62 | Seems the .keep files in /lib/dev-state/pts and /lib/dev-state/shm |
|
|
63 | caused /sbin/init to lock while moving /lib/dev-state/* to /dev. Added |
|
|
64 | the needed fixes to the baselayout ebuild. |
|
|
65 | |
|
|
66 | On second thoughts, removed the 'try' out of the code that moves |
|
|
67 | /lib/dev-state/* to /dev, since this is not a critical task, and |
|
|
68 | booting will still continue on failure. |
|
|
69 | |
5 | 25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
70 | 25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
6 | from the default "default" runlevel. It still exists in the archive so that |
71 | from the default "default" runlevel. It still exists in the archive so that |
7 | users who want/need it can add it easily. |
72 | users who want/need it can add it easily. |
8 | |
73 | |
9 | 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
74 | 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
10 | removed notail from the ext2 boot partition, other cleanups. |
75 | removed notail from the ext2 boot partition, other cleanups. |
11 | |
76 | |
12 | 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
77 | 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
13 | |
78 | |
|
|
79 | 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf |
|
|
80 | and updated /sbin/init to use a new scheme for saving /dev permissions. |
|
|
81 | Also moved /dev-state to /lib/dev-state which is a more standard location. |
|
|
82 | |
|
|
83 | Added /etc/conf.d and moved rc.conf there as /etc/conf.d/basic. Created |
|
|
84 | /etc/rc.conf again as a blank file .. the website should be updated to |
|
|
85 | say that the user should look in /etc/conf.d/* for stuff to configure. |
|
|
86 | |
|
|
87 | Added /etc/init.d/hdparm and /etc/conf.d/hdparm; a script and config |
|
|
88 | file for setting generic optimizations for the disk drives. |
|
|
89 | |
|
|
90 | Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on |
|
|
91 | itself, calling depscan.sh or changing runlevels cause a tempory effect |
|
|
92 | similar to a 'mini fork bomb'. Afterwards the depends was broken, and |
|
|
93 | changing runlevels did not want to work. |
|
|
94 | |
|
|
95 | Updated /etc/init.d/halt.sh to terminate and display message for devfsd. |
|
|
96 | More cosmetic than anything else, but cant hurt with the new dev-state |
|
|
97 | scheme. |
|
|
98 | |
|
|
99 | Removed config stuff from /etc/init.d/net.eth0, and moved it to |
|
|
100 | /etc/conf.d/net.eth0. Also added a comment to this effect. |
|
|
101 | |
|
|
102 | Removed config stuff from /etc/init.d/net.eth0-dhcp, and moved it to |
|
|
103 | /etc/conf.d/net.eth0-dhcp. Also added a comment to this effect. |
|
|
104 | |
|
|
105 | Updated gentoo-src/rc-scripts/rc-lists/default to add /etc/init.d/hdparm |
|
|
106 | to the default runlevel. |
|
|
107 | |
|
|
108 | Updated /sbin/init to set the console log level to 1, so that bootup |
|
|
109 | can be much cleaner. Also updated /etc/init.d/modules not to have |
|
|
110 | a logger in it 'use' depends, as it should not be needed anymore. |
|
|
111 | |
|
|
112 | Updated /sbin/rc to check if devfsd is still running between runlevel |
|
|
113 | changes. |
|
|
114 | |
|
|
115 | Updated /etc/init.d/modules to run update-modules. We want to be sure |
|
|
116 | /etc/modules.conf is updated when running depmod -a. |
|
|
117 | |
|
|
118 | Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also |
|
|
119 | added a entry for xfs (X Font Server) in /etc/passwd and /etc/group. |
|
|
120 | |
|
|
121 | Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and |
|
|
122 | /usr/lib/ppp/chat-default as part of my new pppd scripts. Also |
|
|
123 | updated tarball.sh to handle ppp/chat-default. |
|
|
124 | |
|
|
125 | Added /etc/skel/.bash* to make things cleaner and set $INPUTRC. |
|
|
126 | |
|
|
127 | Minor changes I forgot about. |
|
|
128 | |
14 | 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
129 | 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
15 | to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
130 | to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
16 | |
131 | |
17 | * rc-scripts 1.1.8 (15 Nov 2001) |
132 | * rc-scripts 1.1.8 (15 Nov 2001) |
18 | |
133 | |
… | |
… | |
25 | functions in init.d/runscript.sh to better sounding ones. Updated |
140 | functions in init.d/runscript.sh to better sounding ones. Updated |
26 | init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. |
141 | init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. |
27 | Removed try() out of init.d/runscript.sh (why was this here ?). |
142 | Removed try() out of init.d/runscript.sh (why was this here ?). |
28 | |
143 | |
29 | 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now |
144 | 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now |
30 | cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. |
145 | cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. |
31 | |
146 | |
32 | init.d/hostname: Added check for a valid /etc/hostname. |
147 | init.d/hostname: Added check for a valid /etc/hostname. |
33 | |
148 | |
34 | init.d/keymaps: Added check for valid $KEYMAP. |
149 | init.d/keymaps: Added check for valid $KEYMAP. |
35 | |
150 | |
36 | init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This |
151 | init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This |
37 | should solve Woodchip's syslog+glue issue. We just have to change the |
152 | should solve Woodchip's syslog+glue issue. We just have to change the |
38 | console loglevel for metalog and syslog-ng (sysklogd already updated) not to |
153 | console loglevel for metalog and syslog-ng (sysklogd already updated) not to |
39 | output info and warnings, etc to the console, then boot will be much cleaner. |
154 | output info and warnings, etc to the console, then boot will be much cleaner. |
40 | Also the install guide will need changing to add the loggers to 'boot' and |
155 | Also the install guide will need changing to add the loggers to 'boot' and |
41 | not 'default' runlevel. |
156 | not 'default' runlevel. |
42 | |
157 | |
43 | init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is |
158 | init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is |
44 | this really needed (I cannot see that it is used anywhere ...)? |
159 | this really needed (I cannot see that it is used anywhere ...)? |
45 | |
160 | |
46 | 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
161 | 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
47 | init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called |
162 | init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called |
48 | 'uses'. It basically have the same usage as 'need', except that it do not |
163 | 'uses'. It basically have the same usage as 'need', except that it do not |
49 | start services that is not in the current and 'boot' runlevels. |
164 | start services that is not in the current and 'boot' runlevels. |
50 | |
165 | |
51 | Updated init.d/netmount to use the 'uses' depend. |
166 | Updated init.d/netmount to use the 'uses' depend. |
52 | |
167 | |
53 | 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh |
168 | 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh |
54 | not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent |
169 | not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent |
55 | starting and stopping of services not to start depends. |
170 | starting and stopping of services not to start depends. |
56 | |
171 | |