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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.91 - (hide annotations) (download)
Wed Jul 3 19:52:15 2002 UTC (12 years, 2 months ago) by azarah
Branch: MAIN
Changes since 1.90: +5 -0 lines
fix copyright

1 drobbins 1.6 # ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2 azarah 1.51 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
3 drobbins 1.6 # Written by Daniel Robbins (drobbins@gentoo.org)
4 azarah 1.51
5 azarah 1.91 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
6    
7     Update Copyright displayed at boot, thanks to cybersystem. Updated
8     /sbin/rc for this.
9    
10 azarah 1.90 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
11    
12     Update /etc/skel/.bashrc to update the window title of X terminals
13     that supports it. Closes bug #4232.
14    
15 azarah 1.88 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
16    
17     Add sshd user and group. Updated /etc/passwd and /etc/group for this.
18    
19 azarah 1.89 Update /etc/inputrc to resolve bug #2599.
20    
21 azarah 1.87 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
22    
23     Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
24     /etc/env.d/00basic for this.
25    
26     Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
27     Nothing official, but I spent enouth time on it not to want to loose it :)
28    
29     Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
30     to give output to stderr. This was caused by a call to "stty", which when
31     run without a attatched terminal, have this effect. Basically just pipe
32     stderr to /dev/null.
33    
34 azarah 1.86 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
35    
36     Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
37     bug #3363
38    
39 azarah 1.84 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
40    
41     Update /etc/init.d/netmount not to try and mount NFS filesystems
42     if portmap was not started. This is to stop "hang" problems for
43     new users who do not add portmap to the default runlevel. See
44     bug #2555.
45    
46 azarah 1.85 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
47    
48 azarah 1.83 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
49    
50     Move $EDITOR from /etc/profile to /etc/env.d/00basic.
51    
52 azarah 1.82 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
53    
54     Change the homes of user "at" and "cron" in /etc/passwd, as
55     they moved to /var/spool/cron...
56    
57 azarah 1.81 * rc-scripts 1.3.5 (12 May 2002)
58    
59 azarah 1.79 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
60    
61     Make slight modifications to /sbin/depscan.sh to improve speed (about
62 azarah 1.80 1 second on a celeron 633).
63 azarah 1.79
64 azarah 1.80 Finally fix /sbin/runscript.sh to properly handle interdependencies
65     between types need/use and before/after on runlevel change. I can
66     actually kick myself for previous implementations, as this fix simplifies
67     things a lot, and is almost 30 lines of code less!
68    
69     Change /etc/init.d/netmount not to fail if all mounts are not mounted.
70     It rather just exit with a warning, as I think most people have like
71     me mounts that are to boxes that are not always up.
72    
73     Resolve bug #2439 (should not use try with the dd command for ramdisk
74     stuff). Also increase the number of inodes used for the ramdisk to
75     fix "out of space" errors. Updated /sbin/rc for this.
76 azarah 1.79
77 azarah 1.77 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
78    
79 azarah 1.78 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
80     backup files to generate /etc/profile.env.
81    
82 azarah 1.80 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
83     for this.
84 azarah 1.77
85 azarah 1.75 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
86    
87     Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
88 azarah 1.80 /etc/env.d/ file. Same for $QTDIR.
89 azarah 1.75
90     5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
91    
92     Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
93     and is needed for some fixes.
94    
95 azarah 1.74 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
96    
97     Update /etc/rc.conf to be more clear and state that you should
98 azarah 1.80 remove consolefont from startup if you do not use it. Should
99     resolve bug #2174.
100 azarah 1.74
101 woodchip 1.73 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
102    
103     Added user/group apache with uid/gid 81.
104    
105 azarah 1.72 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
106    
107     Remove the "-net" from the line setting the default gateway
108 azarah 1.80 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
109     noting this.
110 azarah 1.72
111 woodchip 1.71 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
112    
113     Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
114     which is installed with the nfs-utils package. Also tidied up some
115     really old, leftover junk like the non-supported stuff from rc5.
116     Closes #1754.
117    
118 azarah 1.70 23 April 2002; Martin Schlemmer <azarah@gentoo.org>:
119    
120     Remove creation of /var/run/utmpx from bootmisc again. Seems
121     other people have wierd problems.
122    
123 azarah 1.68 * rc-scripts 1.3.4 (21 April 2002)
124    
125     21 April 2002; Martin Schlemmer <azarah@gentoo.org>:
126    
127     Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
128 azarah 1.80 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
129 azarah 1.68
130 azarah 1.80 Implement the status commandline argument. Updated /sbin/runscript.sh
131     and /sbin/rc-help.sh for this.
132 azarah 1.69
133 azarah 1.80 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
134     and AFTER.
135 azarah 1.69
136 azarah 1.67 12 April 2002; Martin Schlemmer <azarah@gentoo.org>:
137    
138     Update /etc/init.d/bootmisc to create /var/run/utmpx. This
139     is needed, else /usr/bin/newgrp segfault.
140    
141 azarah 1.66 11 April 2002; Martin Schlemmer <azarah@gentoo.org>:
142    
143     Update /etc/skel/.bash_profile to make it tcsh compadible.
144 azarah 1.67 Thanks to Väinö Järvelä for this fix.
145 azarah 1.66
146 azarah 1.67 Update /etc/profile to also set the PS? variables if $SHELL
147     is set to /bin/sh. This should make prompt colours in
148     bootstrap work again.
149 azarah 1.66
150 azarah 1.67 Move LVM stuff to checkfs to ensure that they get fscked.
151     This resolves bug #1552.
152 azarah 1.66
153 azarah 1.65 * rc-scripts 1.3.3 (5 April 2002)
154    
155     5 April 2002; Martin Schlemmer <azarah@gentoo.org>:
156    
157     Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
158     This is done to try and ensure system integrity.
159    
160 azarah 1.64 1 April 2002; Martin Schlemmer <azarah@gentoo.org>:
161    
162     Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
163    
164     Add a error message to /etc/init.d/consolefont, resolving bug #1415.
165    
166     Add a bash check to the code that sets the prompt, fixing bug #1078.
167    
168 azarah 1.63 * rc-scripts 1.3.2 (24 Mar 2002)
169    
170 azarah 1.61 24 March 2002; Martin Schlemmer <azarah@gentoo.org>:
171    
172     Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
173     for this.
174    
175     With the "before" and "after" stuff, recursion levels was getting too high,
176     and with some cases, things just plain did not work as it should. Reworked
177     things to to lower the levels of recursion and get the order right. Updated
178     /etc/init.d/runscript.sh for this.
179    
180     Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
181     ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
182    
183     Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
184    
185     Remove /etc/pwdb.conf, as pwdb already install a copy of this.
186    
187     Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
188    
189 azarah 1.62 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
190     and it seems it has fallen now to my discression.
191    
192 drobbins 1.59 * rc-scripts 1.3.1 (23 Mar 2002)
193    
194 drobbins 1.60 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
195     DHCP lease release from Jim Nutt.
196    
197     23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
198     since there are a lot of important bug fixes in here that are needed.
199 drobbins 1.59
200 azarah 1.58 23 March 2002; Martin Schlemmer <azarah@gentoo.org>:
201    
202     Resolve bug #1292.
203    
204     Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
205     Spidler.
206    
207 azarah 1.57 21 March 2002; Martin Schlemmer <azarah@gentoo.org>:
208    
209     Update /sbin/rc to fix a 'cat mounts' instead of the correct
210     version, 'cat /proc/mounts'.
211    
212 azarah 1.56 19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
213    
214     Add initial support for the --quiet flag that suppress output.
215    
216 azarah 1.55 18 March 2002; Martin Schlemmer <azarah@gentoo.org>:
217    
218     Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
219     as not all errors by depscan.sh is critical. It should be
220     reworked to do better error handeling.
221    
222 azarah 1.54 14 March 2002; Martin Schlemmer <azarah@gentoo.org>:
223    
224     Fix the GID and UID of nobody and nogroup in /etc/passwd and
225     /etc/group to match those of Debian, FBSD and others. Thanks
226     to those who reported it, and Woodchip for looking up the
227     proper values.
228    
229     Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
230     This resolves bug #1150, thanks to Paul Fleischer.
231    
232 azarah 1.53 11 March 2002; Martin Schlemmer <azarah@gentoo.org>:
233    
234     Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
235     as some users have /usr on seperate partition which is not
236     mounted when depscan.sh is run the first time.
237    
238     Updated the checking for more than one service providing the
239     same virtual function in /etc/init.d/depscan.sh. It should
240     be working now, and this also fix a problem that when there is no
241     service providing a virtual, counter was used uninitialized.
242    
243 azarah 1.52 * rc-scripts 1.3.0 (10 March 2002)
244    
245 azarah 1.80 10 March 2002; Martin Schlemmer <azarah@gentoo.org>:
246    
247     Resolved bug #1021; updated /etc/init.d/consolefont for this.
248 azarah 1.52
249     Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
250    
251     Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
252     and /etc/init.d/localmount for this.
253    
254     Lots of form/syntax cleanups, most things should be more
255     consistant now. Fixed fail detection/return values of lots of
256     scripts.
257    
258     Lots of cleanup/fixes in the three main scripts behind our
259     rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
260    
261     Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
262     is sourced in a ebuild.
263    
264     Fix a bug that our rc-script wrapper introduced: Global variables
265     in scripts no longer worked. Updated /etc/init.d/runscript.sh for
266     this.
267    
268     Implemented more error checking for the main startup code in /sbin/rc.
269     Also fixed try() for mounting /proc (maybe all mount commands).
270     The function worked fine in a simulated test, but in real life failed
271     to detect a error when mounting /proc (remember to thank Grant for
272     his UserMode ebuilds, and Guide).
273    
274 azarah 1.51 * rc-scripts 1.2.9 (6 March 2002)
275    
276 azarah 1.80 6 March 2002; Martin Schlemmer <azarah@gentoo.org>:
277    
278     General form updates and some piping fixes.
279 azarah 1.51
280     Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
281     to fix a problem where startDM.sh would be respawned repeatedly
282     if xdm was not in the default runlevel.
283 drobbins 1.6
284 azarah 1.49 * rc-scripts 1.2.8 (4 March 2002)
285    
286 azarah 1.80 4 March 2002; Martin Schlemmer <azarah@gentoo.org>:
287    
288     Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
289     to fix the "dead key" problem we had with xdm/gdm/kdm. We should
290     move them to the xfree ebuild later on when things settles down.
291 azarah 1.49
292     Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
293    
294     Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
295     where we had a invalid $PATH on boot in some cases.
296    
297 azarah 1.50 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
298     the new sys-apps/kbd package.
299    
300 azarah 1.48 * rc-scripts 1.2.7 (3 March 2002)
301    
302 azarah 1.80 3 March 2002; Martin Schlemmer <azarah@gentoo.org>:
303    
304     Fixed the problem of rc-scripts trying to start/stop a service multiple
305     times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
306     for this.
307 azarah 1.47
308     Fixing some variable declarations in /etc/init.d/runscript.sh caused
309     /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
310     this.
311    
312     Added caching of the "depend() { need foo; } " lines, and updated
313     /etc/init.d/depscan.sh to touch the actual files less. This should
314     speedup dependancy caching a lot, especially on slow machines.
315 azarah 1.48
316     Updated /etc/passwd to have users with no shell defined, use /bin/false
317     for security.
318    
319     Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
320 azarah 1.47
321 azarah 1.80 1 March 2002; Martin Schlemmer <azarah@gentoo.org>:
322    
323     Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
324     Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
325 azarah 1.46 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
326     /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
327    
328     Removed stopping of dependant services that have current service as
329     a 'use'dependancy ... should be less confusing now.
330     Updated /etc/init.d/runscript.sh for this.
331    
332 azarah 1.80 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
333    
334     Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
335     programs to startup. This should pretty much have /etc/init.d/ static,
336     except for baselayout updates, etc.
337    
338     27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
339    
340     In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
341     problems. Fixed this in /sbin/rc.
342 azarah 1.44
343     Added the patches from Grant Goodyear (aka g2boojum) to enable us to
344     use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
345     /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
346 azarah 1.43
347 azarah 1.80 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
348    
349     Fix my brain dead update of the 25th. It really should keep
350     "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
351     retrieving kernel options. Updated /etc/init.d/functions.sh,
352     /etc/init.d/checkroot and /sbin/rc for this.
353 azarah 1.41
354     Updated /etc/init.d/consolefont to work without devfs as well.
355    
356 azarah 1.42 When rebooting or shutting down, a service should not fail to stop
357     if a service it depends on, fails. Updated /etc/init.d/runscript.sh
358     for this.
359    
360 azarah 1.80 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
361    
362     Added a check if /dev is mounted when creating entries for /etc/mtab.
363     This should solve a invalid entry or /dev being mounted even with
364     'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
365 azarah 1.40
366 drobbins 1.39 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
367     filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
368     just in a comment now)
369    
370 azarah 1.80 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
371    
372     Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
373     this. This should fix services not getting started in the correct order
374     in a tight loop, services getting stopped out of order, and some other
375     sanity checks. Updated rc-script.sh for updated help.
376    
377     15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
378    
379     Update /etc/profile to resolve bug #588. Reimplemented things a bit,
380     and added the 'after' type. 'before' and 'after' will only work currently
381     for a change of runlevel. Updated /etc/init.d/depscan.sh,
382     /etc/init.d/runscript.sh and /sbin/rc for this.
383 azarah 1.36
384 azarah 1.80 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
385    
386     Add some more entries to /etc/devfsd.conf to make alsa users life
387     easier ... thanks Tod.
388 drobbins 1.39
389 azarah 1.80 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
390    
391     Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
392 azarah 1.36
393     Fixed some services not starting again when restarting a service.
394     Seems simple is still the best way.
395    
396     Fixed some other problems created with feature additions and cleanups.
397    
398 azarah 1.80 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
399    
400     General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
401 azarah 1.36
402     Added 'before *' to /etc/init.d/checkroot to make sure it gets
403     started first.
404    
405     Added 'use *' to /etc/init.d/local to make sure it gets started
406     last.
407    
408 azarah 1.80 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
409    
410     Fixed /sbin/rc to stop a service on change of runlevel if it is
411     in 'use' by another service.
412 azarah 1.36
413     Added the 'provide' depend type for creating virtual services.
414     Updated /etc/init.d/depscan.sh for this.
415    
416     Added the 'before' depend type. This is more for changing the
417     order services start in. Updated /etc/init.d/depscan.sh and
418     /etc/init.d/functions.sh for this.
419    
420     Updated /etc/init.d/depscan.sh to work with '*' as argument for
421     dependancy types. This can be used with 'use' and 'before' to
422     start a script last or first respectively.
423    
424     Added save_options() and get_options() to /etc/init.d/functions.sh
425     for saving misc settings between startup/shutdown. Updated
426     /etc/init.d/net.eth0 to use these and properly down virtual
427     interfaces.
428    
429 azarah 1.80 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
430    
431     Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
432     on no errors.
433 azarah 1.36
434     * rc-scripts 1.2.6 (6 Feb 2002)
435    
436 azarah 1.80 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
437    
438     Updated /etc/net.eth0 to specify the gateway device via the $gateway
439     variable (something like gateway="eth0/192.168.0.1").
440    
441     2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
442    
443     Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
444    
445     29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
446    
447     Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
448     implements a retry if not successful the first time, and will kill
449     processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
450 azarah 1.33
451 woodchip 1.32 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
452     /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
453     Fixed /etc/passwd,group for user/group mysql.
454    
455 azarah 1.31 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
456     map file support to /etc/init.d/consolefont and the setting to
457     /etc/rc.conf.
458    
459 azarah 1.30 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
460     in skel files to support both versions of dircolors.
461    
462 azarah 1.28 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
463 azarah 1.31 in the restart stuff of /etc/init.d/runscript.sh that caused
464     a restart of a 'net' service not to restart services again
465     that depended on it.
466 azarah 1.28
467 azarah 1.27 * rc-scripts 1.2.5 (20 Jan 2002)
468    
469 azarah 1.26 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
470     /etc/init.d/net.eth0 to 'use' pcmcia.
471    
472 azarah 1.25 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
473     the dircolors command in /etc/skel/.bash_profile to handle cases
474     where bash do not export $SHELL.
475    
476     6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
477     /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
478     removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
479     scheme for the net.eth* scripts.
480    
481 woodchip 1.24 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
482     from manpages; no need for that..
483 azarah 1.25
484     5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
485     /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
486 woodchip 1.24
487 drobbins 1.23 * rc-scripts 1.2.4 (30 Dec 2001)
488    
489     30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
490     back to 022 as it should be.
491    
492 azarah 1.22 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
493     /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
494    
495 woodchip 1.21 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
496     sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
497    
498 azarah 1.80 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
499    
500     Updated /etc/init.d/depscan.sh to store info about missing dependancies
501     of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
502 azarah 1.20 to use this when starting a script ('need' dependancies is critical for
503     startup). Added the broken() function to /etc/init.d/runscript.sh
504     to list the missing dependancies.
505    
506     Updated /etc/init.d/runscript.sh for svc_start() to have better error
507     checking.
508    
509     Updated /etc/init.d/functions.sh with ewend(), which is the same as
510     eend(), but print a warning on error, not a error. Updated
511     /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
512    
513 azarah 1.80 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
514    
515     Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
516     is passed to a rc-script.
517 azarah 1.20
518     Added /etc/init.d/rc-help.sh, simple script that prints out help for
519     the rc-scripts.
520    
521 azarah 1.80 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
522    
523     Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
524     halt and reboot. This fixes a problem where / was not unmounted properly
525     in some cases.
526    
527     24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
528    
529     Move $svcdir to to /etc/init.d/functions.sh, and update
530     /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
531 azarah 1.19
532     Modified /etc/init.d/runscript.sh to also restart the services that
533     depend on a service if that service is restarted. Enhanced the
534     restart function to be able to have custom restart() functions in
535     rc-scripts. The custom restart() have to use svc_stop() and
536     svc_start() to restart the service.
537    
538     Add a pause function to /etc/init.d/runscript.sh. It will basically
539     stop a service without stopping the services that depends on that
540     service.
541 drobbins 1.23
542 azarah 1.80 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
543     service without stopping the services that depends on that service.
544 azarah 1.19
545     * rc-scripts 1.2.3 (18 Dec 2001)
546    
547 azarah 1.80 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
548    
549     Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
550     init wrapper we used).
551 azarah 1.19
552     Some cleanups: take out the shm resize comment;
553    
554     remove the $wrongmount;
555    
556     remove the mountshm() function and insert it directly
557     where needed;
558    
559     remove the setting of $PATH as /sbin/init already do
560     this for us.
561    
562     Added the if statement to detect if it is the first time the 'boot'
563     runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
564     $RUNLEVEL is a env var set by /sbin/init.
565    
566     Also added functionality to detect if the kernel have DEVFS support
567     compiled in; seems new users thinks devfs is unstable and as they do
568     not always read the docs, it does not get compiled in ;/ Should
569     make live for us a bit easier.
570    
571 azarah 1.80 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
572    
573     Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
574     the unneeded services.
575 azarah 1.19
576 woodchip 1.16 * rc-scripts 1.2.2 (8 Dec 2001)
577    
578 azarah 1.18 10 Dec 2001; Added a localhost entry in /etc/hosts.
579    
580 woodchip 1.16 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
581     to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
582     rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
583     Start-stop-daemon is moved here from sysvinit by the way. There is stuff
584     in this ChangeLog that needs to be removed! Like the changes to hosts,
585     profile. /etc/{passwd,group} have minor UID and GID type fixes for
586 woodchip 1.17 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
587     directories.
588 woodchip 1.16
589 woodchip 1.13 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
590     to rc-scripts. Checked in two manpages there, one for modules.autoload.5
591 woodchip 1.14 and one for update-modules.8. These were adapted from Debian. Updated
592     tarball.sh to include the new man directory. Updated baselayout to install
593     these manpages. Slightly tweak the /etc/modules.autoload comments.
594 woodchip 1.13
595 azarah 1.80 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
596    
597     Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
598     and cleaned out old code.
599 drobbins 1.15
600     Updated /etc/init.d/bootmisc with additional lock files to clean.
601    
602 azarah 1.80 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
603    
604     Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
605     that can be used for services that needs to have a logger started before
606     they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
607     to define what loggers the 'logger' depend represent.
608 drobbins 1.15
609 azarah 1.80 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
610    
611     Updated /etc/passwd and /etc/group with minor fixes to pass pwck
612     and grpck.
613 drobbins 1.15
614 azarah 1.80 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
615    
616     Changed umask in /etc/profile for the user to 077 for security.
617 drobbins 1.15
618     Added a stop() function to /etc/init.d/clock. Also removed uneeded
619     'source /etc/rc.conf' line.
620    
621     Updated /etc/init.d/hostname to set the hostname to 'localhost' if
622     /etc/hostname is invalid.
623    
624     Updated /sbin/init to move the entries in /lib/dev-state to /dev before
625     running devfsd, as it did still not save settings properly. Also removed
626     old /dev-state/compat stuff.
627    
628 drobbins 1.12 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
629     from the default "default" runlevel. It still exists in the archive so that
630 drobbins 1.15 users who want/need it can add it easily.
631 drobbins 1.12
632 drobbins 1.11 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
633 drobbins 1.15 removed notail from the ext2 boot partition, other cleanups.
634 drobbins 1.11
635 drobbins 1.10 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
636 drobbins 1.15
637 azarah 1.80 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
638    
639     Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
640     /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
641     standard location.
642 drobbins 1.15
643     Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
644     itself, calling depscan.sh or changing runlevels cause a tempory effect
645     similar to a 'mini fork bomb'. Afterwards the depends was broken, and
646     changing runlevels did not want to work.
647    
648     Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
649     More cosmetic than anything else, but cant hurt with the new dev-state
650     scheme.
651    
652     Updated /sbin/init to set the console log level to 1, so that bootup
653     can be much cleaner. Also updated /etc/init.d/modules not to have
654     a logger in it 'use' depends, as it should not be needed anymore.
655    
656     Updated /sbin/rc to check if devfsd is still running between runlevel
657     changes.
658    
659     Updated /etc/init.d/modules to run update-modules. We want to be sure
660     /etc/modules.conf is updated when running depmod -a.
661    
662     Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
663     added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
664    
665     Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
666     /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
667     updated tarball.sh to handle ppp/chat-default.
668    
669 azarah 1.19 Added /etc/skel/.bash* to make things cleaner.
670 drobbins 1.15
671 azarah 1.19 Other minor changes.
672 drobbins 1.15
673 woodchip 1.9 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
674     to rc-scripts. Can remove it from sys-libs/shadow at the next release.
675    
676 drobbins 1.8 * rc-scripts 1.1.8 (15 Nov 2001)
677    
678     16 Nov 2001; removed bogus "mountall.test" script.
679 drobbins 1.7
680 azarah 1.80 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
681    
682     Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
683     'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
684     removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
685     names of new functions in init.d/runscript.sh to better sounding ones.
686     Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
687     fixes/cleanups.
688    
689     Removed try() out of init.d/runscript.sh (why was this here ?).
690 drobbins 1.8
691 azarah 1.80 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
692    
693     Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
694     doesn't exist.
695 drobbins 1.8
696 drobbins 1.15 init.d/hostname: Added check for a valid /etc/hostname.
697 drobbins 1.8
698 drobbins 1.15 init.d/keymaps: Added check for valid $KEYMAP.
699 drobbins 1.8
700 drobbins 1.15 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
701     should solve Woodchip's syslog+glue issue. We just have to change the
702     console loglevel for metalog and syslog-ng (sysklogd already updated) not to
703     output info and warnings, etc to the console, then boot will be much cleaner.
704     Also the install guide will need changing to add the loggers to 'boot' and
705     not 'default' runlevel.
706 drobbins 1.8
707 drobbins 1.15 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
708     this really needed (I cannot see that it is used anywhere ...)?
709 drobbins 1.8
710 azarah 1.80 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
711    
712     Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
713     called 'uses'. It basically have the same usage as 'need', except that it
714     do not start services that is not in the current and 'boot' runlevels.
715 drobbins 1.8
716 drobbins 1.15 Updated init.d/netmount to use the 'uses' depend.
717 drobbins 1.8
718 azarah 1.80 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
719    
720     Fixed init.d/runscript.sh not to destroy the 'need' depends in
721     /${svcdir}/need. This caused subsequent starting and stopping of services
722     not to start depends.
723    
724     7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
725    
726     Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
727     destroyed before stopping running services scheduled to be stopped. This
728     with the fact that $SOFTLEVEL was set too early, caused the services to be
729     stopped in the wrong order.
730 drobbins 1.8
731 azarah 1.80 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
732    
733     Modified init.d/netmount to check if any network filesystems is mounted.
734 drobbins 1.8
735     29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
736     some awk and grep magic to find all remote filesystems and umount them.
737    
738 azarah 1.80 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
739    
740     A fix for checkroot (missing "/"); it now actually checks the root
741     filesystem. Also, a localmount cleanliness fix.
742 drobbins 1.6
743     * rc-scripts 1.1.7 (18 Oct 2001)
744    
745     [old changelog format follows]
746 drobbins 1.5
747     *lots of scripts; woodchip
748     removed old rc5 scripts from cvs
749    
750     *init.d/runscript.sh; agriffis
751     Added support for rc.conf and home-grown functions
752    
753     *init.d/modules;
754 drobbins 1.4 Now correctly looks at /etc/modules.autoload
755    
756 drobbins 1.3 rc-scripts-1.1.6, released 15 Sep 2001
757     ======================================
758    
759     *init.d/runscript.sh, others
760     Handling of "net" dependencies resolve to all net devices in
761     /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
762     variable in /etc/rc.conf has been removed.
763    
764 drobbins 1.2 *init.d/runscript.sh
765     New "zap" option for manually resetting the state of an initscript
766     to stopped.
767    
768     *init.d/{samba,sysklogd,sshd}
769     Removed from CVS; they live in their respective packages.
770    
771 drobbins 1.1 rc-scripts-1.1.5, released 02 Sep 2001
772     ====================================
773    
774     *sbin/rc-update
775     New version of the rc-update command for the new initscripts. Works
776     similarly to the old version, except this one updates our dependency
777     cache.
778    
779     *init.d/functions.sh
780     New and better looking informational message functions (einfo, einfon).
781     Brand new message functions (ewarn).
782    
783     *sbin/init, init.d/checkroot
784     We're going back to a /proc/mounts-based mtab symlink because it's
785     just plain better. Appropriate changes made.
786 azarah 1.80
787     # vim:expandtab

  ViewVC Help
Powered by ViewVC 1.1.20