/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 243 - (hide annotations) (download)
Sun Sep 29 17:31:01 2002 UTC (17 years, 1 month ago) by azarah
File size: 36238 byte(s)
more fixes

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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20