/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 207 - (hide annotations) (download)
Mon Jul 22 20:26:44 2002 UTC (17 years, 3 months ago) by azarah
File size: 32034 byte(s)
speed enhancements

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20