/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 61 Revision 127
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 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to
6 'after' and 'before', updated /etc/init.d/runscript.sh for this.
7 This should fix services not getting started in the correct order
8 in a tight loop, services getting stopped out of order, and some
9 other sanity checks.
10
11 Updated rc-script.sh for updated help.
12
13 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update
14 /etc/profile to resolve bug #588.
15
16 Reimplemented things a bit, and added the 'after' type. 'before'
17 and 'after' will only work currently for a change of runlevel.
18 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and
19 /sbin/rc for it.
20
21 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more
22 entries to /etc/devfsd.conf to make alsa users life easier ...
23 thanks Tod.
24
25 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more
26 cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
27
28 Fixed some services not starting again when restarting a service.
29 Seems simple is still the best way.
30
31 Fixed some other problems created with feature additions and cleanups.
32
33 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups
34 to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
35
36 Added 'before *' to /etc/init.d/checkroot to make sure it gets
37 started first.
38
39 Added 'use *' to /etc/init.d/local to make sure it gets started
40 last.
41
42 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc
43 to stop a service on change of runlevel if it is in 'use' by
44 another service.
45
46 Added the 'provide' depend type for creating virtual services.
47 Updated /etc/init.d/depscan.sh for this.
48
49 Added the 'before' depend type. This is more for changing the
50 order services start in. Updated /etc/init.d/depscan.sh and
51 /etc/init.d/functions.sh for this.
52
53 Updated /etc/init.d/depscan.sh to work with '*' as argument for
54 dependancy types. This can be used with 'use' and 'before' to
55 start a script last or first respectively.
56
57 Added save_options() and get_options() to /etc/init.d/functions.sh
58 for saving misc settings between startup/shutdown. Updated
59 /etc/init.d/net.eth0 to use these and properly down virtual
60 interfaces.
61
62 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both
63 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no
64 errors.
65
66* rc-scripts 1.2.6 (6 Feb 2002)
67
68 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
69 to specify the gateway device via the $gateway variable (something like
70 gateway="eth0/192.168.0.1").
71
72 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script
73 /etc/init.d/numlock, for enabling numlock at boot.
74
75 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the
76 last fix to /etc/init.d/netmount to umount cleanly. This fix
77 implements a retry if not successful the first time, and will
78 kill processess using the mount. Also small type-o fix to
79 /etc/init.d/halt.sh.
80
81 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
82 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
83 Fixed /etc/passwd,group for user/group mysql.
84
85 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
86 map file support to /etc/init.d/consolefont and the setting to
87 /etc/rc.conf.
88
89 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
90 in skel files to support both versions of dircolors.
91
92 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
93 in the restart stuff of /etc/init.d/runscript.sh that caused
94 a restart of a 'net' service not to restart services again
95 that depended on it.
96
97* rc-scripts 1.2.5 (20 Jan 2002)
98
99 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
100 /etc/init.d/net.eth0 to 'use' pcmcia.
101
102 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
103 the dircolors command in /etc/skel/.bash_profile to handle cases
104 where bash do not export $SHELL.
105
106 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
107 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
108 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
109 scheme for the net.eth* scripts.
110
111 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
112 from manpages; no need for that..
113
114 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
115 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
116
117* rc-scripts 1.2.4 (30 Dec 2001)
118
119 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
120 back to 022 as it should be.
121
122 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
123 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
124
125 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
126 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
127
128 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated
129 /etc/init.d/depscan.sh to store info about missing dependancies of
130 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
131 to use this when starting a script ('need' dependancies is critical for
132 startup). Added the broken() function to /etc/init.d/runscript.sh
133 to list the missing dependancies.
134
135 Updated /etc/init.d/runscript.sh for svc_start() to have better error
136 checking.
137
138 Updated /etc/init.d/functions.sh with ewend(), which is the same as
139 eend(), but print a warning on error, not a error. Updated
140 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
141
142 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c
143 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script.
144
145 Added /etc/init.d/rc-help.sh, simple script that prints out help for
146 the rc-scripts.
147
148 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update
149 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
150 halt and reboot. This fixes a problem where / was not unmounted
151 properly in some cases.
152
153 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to
154 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and
155 /etc/init.d/depscan.sh for this
156
157 Modified /etc/init.d/runscript.sh to also restart the services that
158 depend on a service if that service is restarted. Enhanced the
159 restart function to be able to have custom restart() functions in
160 rc-scripts. The custom restart() have to use svc_stop() and
161 svc_start() to restart the service.
162
163 Add a pause function to /etc/init.d/runscript.sh. It will basically
164 stop a service without stopping the services that depends on that
165 service.
166
167 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
168 service without stopping the services that depends on that service.
169
170* rc-scripts 1.2.3 (18 Dec 2001)
171
172 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from
173 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used).
174
175 Some cleanups: take out the shm resize comment;
176
177 remove the $wrongmount;
178
179 remove the mountshm() function and insert it directly
180 where needed;
181
182 remove the setting of $PATH as /sbin/init already do
183 this for us.
184
185 Added the if statement to detect if it is the first time the 'boot'
186 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
187 $RUNLEVEL is a env var set by /sbin/init.
188
189 Also added functionality to detect if the kernel have DEVFS support
190 compiled in; seems new users thinks devfs is unstable and as they do
191 not always read the docs, it does not get compiled in ;/ Should
192 make live for us a bit easier.
193
194 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill
195 a cosmetic bug in the part that stops all the unneeded services.
196
197* rc-scripts 1.2.2 (8 Dec 2001)
198
199 10 Dec 2001; Added a localhost entry in /etc/hosts.
200
201 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
202 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
203 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
204 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
205 in this ChangeLog that needs to be removed! Like the changes to hosts,
206 profile. /etc/{passwd,group} have minor UID and GID type fixes for
207 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
208 directories.
209
5 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory 210 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
6 to rc-scripts. Checked in two manpages there, one for modules.autoload.5 211 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
7 and one for update-modules.8. Need to edit update-modules.8. I think 212 and one for update-modules.8. These were adapted from Debian. Updated
8 baselayout needs to be updated to install these manpages, so Ill look at 213 tarball.sh to include the new man directory. Updated baselayout to install
9 that once update-modules.8 is tidied up. :/ 214 these manpages. Slightly tweak the /etc/modules.autoload comments.
215
216 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init
217 to work correctly with the 'gentoo=nodevfs' option, and cleaned
218 out old code.
219
220 Updated /etc/init.d/bootmisc with additional lock files to clean.
221
222 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
223 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
224 that can be used for services that needs to have a logger started
225 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER
226 that is used to define what loggers the 'logger' depend represent.
227
228 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
229 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck.
230
231 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in
232 /etc/profile for the user to 077 for security.
233
234 Added a stop() function to /etc/init.d/clock. Also removed uneeded
235 'source /etc/rc.conf' line.
236
237 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
238 /etc/hostname is invalid.
239
240 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
241 running devfsd, as it did still not save settings properly. Also removed
242 old /dev-state/compat stuff.
10 243
11 25 Nov 2001; ncsd, the name service cache daemon script, has been removed 244 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
12 from the default "default" runlevel. It still exists in the archive so that 245 from the default "default" runlevel. It still exists in the archive so that
13 users who want/need it can add it easily. 246 users who want/need it can add it easily.
14 247
15 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 248 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
16 removed notail from the ext2 boot partition, other cleanups. 249 removed notail from the ext2 boot partition, other cleanups.
17 250
18 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 251 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
19 252
253 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf
254 and updated /sbin/init to use a new scheme for saving /dev permissions.
255 Also moved /dev-state to /lib/dev-state which is a more standard location.
256
257 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
258 itself, calling depscan.sh or changing runlevels cause a tempory effect
259 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
260 changing runlevels did not want to work.
261
262 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
263 More cosmetic than anything else, but cant hurt with the new dev-state
264 scheme.
265
266 Updated /sbin/init to set the console log level to 1, so that bootup
267 can be much cleaner. Also updated /etc/init.d/modules not to have
268 a logger in it 'use' depends, as it should not be needed anymore.
269
270 Updated /sbin/rc to check if devfsd is still running between runlevel
271 changes.
272
273 Updated /etc/init.d/modules to run update-modules. We want to be sure
274 /etc/modules.conf is updated when running depmod -a.
275
276 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
277 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
278
279 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
280 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
281 updated tarball.sh to handle ppp/chat-default.
282
283 Added /etc/skel/.bash* to make things cleaner.
284
285 Other minor changes.
286
20 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file 287 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
21 to rc-scripts. Can remove it from sys-libs/shadow at the next release. 288 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
22 289
23* rc-scripts 1.1.8 (15 Nov 2001) 290* rc-scripts 1.1.8 (15 Nov 2001)
24 291
31 functions in init.d/runscript.sh to better sounding ones. Updated 298 functions in init.d/runscript.sh to better sounding ones. Updated
32 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. 299 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups.
33 Removed try() out of init.d/runscript.sh (why was this here ?). 300 Removed try() out of init.d/runscript.sh (why was this here ?).
34 301
35 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 302 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now
36 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. 303 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist.
37 304
38 init.d/hostname: Added check for a valid /etc/hostname. 305 init.d/hostname: Added check for a valid /etc/hostname.
39 306
40 init.d/keymaps: Added check for valid $KEYMAP. 307 init.d/keymaps: Added check for valid $KEYMAP.
41 308
42 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This 309 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
43 should solve Woodchip's syslog+glue issue. We just have to change the 310 should solve Woodchip's syslog+glue issue. We just have to change the
44 console loglevel for metalog and syslog-ng (sysklogd already updated) not to 311 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
45 output info and warnings, etc to the console, then boot will be much cleaner. 312 output info and warnings, etc to the console, then boot will be much cleaner.
46 Also the install guide will need changing to add the loggers to 'boot' and 313 Also the install guide will need changing to add the loggers to 'boot' and
47 not 'default' runlevel. 314 not 'default' runlevel.
48 315
49 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is 316 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
50 this really needed (I cannot see that it is used anywhere ...)? 317 this really needed (I cannot see that it is used anywhere ...)?
51 318
52 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 319 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated
53 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called 320 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called
54 'uses'. It basically have the same usage as 'need', except that it do not 321 'uses'. It basically have the same usage as 'need', except that it do not
55 start services that is not in the current and 'boot' runlevels. 322 start services that is not in the current and 'boot' runlevels.
56 323
57 Updated init.d/netmount to use the 'uses' depend. 324 Updated init.d/netmount to use the 'uses' depend.
58 325
59 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 326 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh
60 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 327 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent
61 starting and stopping of services not to start depends. 328 starting and stopping of services not to start depends.
62 329

Legend:
Removed from v.61  
changed lines
  Added in v.127

  ViewVC Help
Powered by ViewVC 1.1.20