/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 131 - (hide annotations) (download)
Tue Feb 26 21:20:59 2002 UTC (12 years, 4 months ago) by azarah
File size: 17325 byte(s)
fix services to stop on halt even if needed service fails to start

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

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20