/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 233 - (hide annotations) (download)
Sat Sep 7 22:13:29 2002 UTC (17 years, 1 month ago) by azarah
File size: 34901 byte(s)
release again

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20