/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.46 - (hide annotations) (download)
Fri Mar 1 22:31:03 2002 UTC (13 years, 1 month ago) by azarah
Branch: MAIN
Changes since 1.45: +10 -0 lines
fixes and wrapping for syntax error detection

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

  ViewVC Help
Powered by ViewVC 1.1.20