/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 187 - (hide annotations) (download)
Wed Jun 5 21:59:26 2002 UTC (16 years, 10 months ago) by azarah
File size: 29167 byte(s)
MANPATH fix

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20