/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.127  
changed lines
  Added in v.250

  ViewVC Help
Powered by ViewVC 1.1.20