/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 81 Revision 243
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
5 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 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 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 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 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
27
28 NGPT support.
29
30 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 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 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* rc-scripts 1.4.0 (7 Sep 2002)
49
50 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 Give /var/run/utmp and /var/log/wtmp the proper permissions
56 and ownership. First steps in fixing bug #7630.
57
58 Change Raid stuff again in /etc/init.d/checkfs.
59
60 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
61
62 Give root a 'root' GECOS in /etc/passwd, was NULL before.
63
64* 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 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 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 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
90
91 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
95 Fix software RAID startup/shutdown, bug #5310. Modified
96 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
97
98* rc-scripts 1.3.8 (08 Aug 2002)
99
100 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
101
102 Move the color ls stuff to .bashrc. Fix bug #5250.
103
104 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 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
110
111 Fix the 'Usage' line in the help to return the correct options for
112 the script (/sbin/runscript.sh). Resolve bug #6029.
113
114 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 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 Changed most daemons to use /bin/false as shell. Should close bug #5388.
129
130 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
131
132 Added vpopmail user and group as 89:89
133
134 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
135
136 Add the cyrus user to /etc/passwd. Resolves bug #4100.
137
138 Some bugfixes and speed improvements to /sbin/depscan.sh after
139 last changes.
140
141 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
142 get some speed improvements.
143
144 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 Update the cache_depend() funtion in /sbin/depscan.sh not to
153 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* rc-scripts 1.3.7 (17 Jul 2002)
162
163 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
164
165 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 Add additional entries to /etc/services to support cyrus-imapd, thanks
171 to Nick Hadaway <raker@gentoo.org>.
172
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 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 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
185
186 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
187 (aka cybersystem). Updated /sbin/rc for this.
188
189 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 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 Update /etc/inputrc to resolve bug #2599.
199
200 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 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 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 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
226
227 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
228
229 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
230
231 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* rc-scripts 1.3.5 (12 May 2002)
237
238 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
239
240 Make slight modifications to /sbin/depscan.sh to improve speed (about
241 1 second on a celeron 633).
242
243 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
248 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
252 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
256 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
257
258 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
259 backup files to generate /etc/profile.env.
260
261 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
262 for this.
263
264 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
265
266 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
267 /etc/env.d/ file. Same for $QTDIR.
268
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 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
275
276 Update /etc/rc.conf to be more clear and state that you should
277 remove consolefont from startup if you do not use it. Should
278 resolve bug #2174.
279
280 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
281
282 Added user/group apache with uid/gid 81.
283
284 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
285
286 Remove the "-net" from the line setting the default gateway
287 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
288 noting this.
289
290 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 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* 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 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
308
309 Implement the status commandline argument. Updated /sbin/runscript.sh
310 and /sbin/rc-help.sh for this.
311
312 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
313 and AFTER.
314
315 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 11 April 2002; Martin Schlemmer <azarah@gentoo.org>:
321
322 Update /etc/skel/.bash_profile to make it tcsh compadible.
323 Thanks to Väinö Järvelä for this fix.
324
325 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
329 Move LVM stuff to checkfs to ensure that they get fscked.
330 This resolves bug #1552.
331
332* 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 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* rc-scripts 1.3.2 (24 Mar 2002)
348
349 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 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* rc-scripts 1.3.1 (23 Mar 2002)
372
373 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
379 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 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 19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
392
393 Add initial support for the --quiet flag that suppress output.
394
395 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 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 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* rc-scripts 1.3.0 (10 March 2002)
423
424 10 March 2002; Martin Schlemmer <azarah@gentoo.org>:
425
426 Resolved bug #1021; updated /etc/init.d/consolefont for this.
427
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* rc-scripts 1.2.9 (6 March 2002)
454
455 6 March 2002; Martin Schlemmer <azarah@gentoo.org>:
456
457 General form updates and some piping fixes.
458
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* rc-scripts 1.2.8 (4 March 2002)
464
465 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
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 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
477 the new sys-apps/kbd package.
478
479* rc-scripts 1.2.7 (3 March 2002)
480
481 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
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 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 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 /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 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
517 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
522 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 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
533 Updated /etc/init.d/consolefont to work without devfs as well.
534
535 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 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
545 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
549 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
550
551 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
563 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
568 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
572 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 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
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 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
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 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
613* rc-scripts 1.2.6 (6 Feb 2002)
614
615 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
620 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
621
622 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
623
624 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
630 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 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 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
639 in skel files to support both versions of dircolors.
640
641 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
642 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
646* rc-scripts 1.2.5 (20 Jan 2002)
647
648 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
649 /etc/init.d/net.eth0 to 'use' pcmcia.
650
651 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 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
661 from manpages; no need for that..
662
663 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
664 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
665
666* 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 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 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
675 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
676
677 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 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 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
693
694 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
695 is passed to a rc-script.
696
697 Added /etc/init.d/rc-help.sh, simple script that prints out help for
698 the rc-scripts.
699
700 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
706 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
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 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
724* rc-scripts 1.2.3 (18 Dec 2001)
725
726 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
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 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.
4 754
5* rc-scripts 1.2.2 (8 Dec 2001) 755* rc-scripts 1.2.2 (8 Dec 2001)
6 756
7 10 Dec 2001; Added a localhost entry in /etc/hosts. 757 10 Dec 2001; Added a localhost entry in /etc/hosts.
8 758
19 to rc-scripts. Checked in two manpages there, one for modules.autoload.5 769 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
20 and one for update-modules.8. These were adapted from Debian. Updated 770 and one for update-modules.8. These were adapted from Debian. Updated
21 tarball.sh to include the new man directory. Updated baselayout to install 771 tarball.sh to include the new man directory. Updated baselayout to install
22 these manpages. Slightly tweak the /etc/modules.autoload comments. 772 these manpages. Slightly tweak the /etc/modules.autoload comments.
23 773
24 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init 774 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
775
25 to work correctly with the 'gentoo=nodevfs' option, and cleaned 776 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
26 out old code. 777 and cleaned out old code.
27 778
28 Updated /etc/init.d/bootmisc with additional lock files to clean. 779 Updated /etc/init.d/bootmisc with additional lock files to clean.
29 780
30 Updated /etc/init.d/hdparm to check if devfs is uddsed.
31
32 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 781 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
782
33 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 783 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
34 that can be used for services that needs to have a logger started 784 that can be used for services that needs to have a logger started before
35 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 785 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
36 that is used to define what loggers the 'logger' depend represent. 786 to define what loggers the 'logger' depend represent.
37 Also updated /etc/init.d/hdparm and /etc/init.d/modules to use
38 this new depend.
39 787
40 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 788 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
789
41 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 790 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
791 and grpck.
42 792
43 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 793 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
794
44 /etc/profile for the user to 077 for security. 795 Changed umask in /etc/profile for the user to 077 for security.
45
46 Added a localhost line to /etc/hosts after yet another post to gentoo-user.
47 I cant see any problem with this, and since nobody else wants to take the
48 plunge ....
49 796
50 Added a stop() function to /etc/init.d/clock. Also removed uneeded 797 Added a stop() function to /etc/init.d/clock. Also removed uneeded
51 'source /etc/rc.conf' line. 798 'source /etc/rc.conf' line.
52 799
53 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 800 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
54 /etc/hostname is invalid. 801 /etc/hostname is invalid.
55
56 Updated /etc/init.d/hdparm to display a [ok] for each drive it optimizes.
57 802
58 Updated /sbin/init to move the entries in /lib/dev-state to /dev before 803 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
59 running devfsd, as it did still not save settings properly. Also removed 804 running devfsd, as it did still not save settings properly. Also removed
60 old /dev-state/compat stuff. 805 old /dev-state/compat stuff.
61 806
62 Removed a stupid bug out of /sbin/init ... /lib/dev-state/* was moved
63 to /dev *before* /dev was mounted.
64
65 Seems the .keep files in /lib/dev-state/pts and /lib/dev-state/shm
66 caused /sbin/init to lock while moving /lib/dev-state/* to /dev. Added
67 the needed fixes to the baselayout ebuild.
68
69 On second thoughts, removed the 'try' out of the code that moves
70 /lib/dev-state/* to /dev, since this is not a critical task, and
71 booting will still continue on failure.
72
73 25 Nov 2001; ncsd, the name service cache daemon script, has been removed 807 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
74 from the default "default" runlevel. It still exists in the archive so that 808 from the default "default" runlevel. It still exists in the archive so that
75 users who want/need it can add it easily. 809 users who want/need it can add it easily.
76 810
77 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 811 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
78 removed notail from the ext2 boot partition, other cleanups. 812 removed notail from the ext2 boot partition, other cleanups.
79 813
80 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 814 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
81 815
82 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 816 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
83 and updated /sbin/init to use a new scheme for saving /dev permissions. 817
818 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
84 Also moved /dev-state to /lib/dev-state which is a more standard location. 819 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
85 820 standard location.
86 Added /etc/conf.d and moved rc.conf there as /etc/conf.d/basic. Created
87 /etc/rc.conf again as a blank file .. the website should be updated to
88 say that the user should look in /etc/conf.d/* for stuff to configure.
89
90 Added /etc/init.d/hdparm and /etc/conf.d/hdparm; a script and config
91 file for setting generic optimizations for the disk drives.
92 821
93 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 822 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
94 itself, calling depscan.sh or changing runlevels cause a tempory effect 823 itself, calling depscan.sh or changing runlevels cause a tempory effect
95 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 824 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
96 changing runlevels did not want to work. 825 changing runlevels did not want to work.
97 826
98 Updated /etc/init.d/halt.sh to terminate and display message for devfsd. 827 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
99 More cosmetic than anything else, but cant hurt with the new dev-state 828 More cosmetic than anything else, but cant hurt with the new dev-state
100 scheme. 829 scheme.
101 830
102 Removed config stuff from /etc/init.d/net.eth0, and moved it to
103 /etc/conf.d/net.eth0. Also added a comment to this effect.
104
105 Removed config stuff from /etc/init.d/net.eth0-dhcp, and moved it to
106 /etc/conf.d/net.eth0-dhcp. Also added a comment to this effect.
107
108 Updated gentoo-src/rc-scripts/rc-lists/default to add /etc/init.d/hdparm
109 to the default runlevel.
110
111 Updated /sbin/init to set the console log level to 1, so that bootup 831 Updated /sbin/init to set the console log level to 1, so that bootup
112 can be much cleaner. Also updated /etc/init.d/modules not to have 832 can be much cleaner. Also updated /etc/init.d/modules not to have
113 a logger in it 'use' depends, as it should not be needed anymore. 833 a logger in it 'use' depends, as it should not be needed anymore.
114 834
115 Updated /sbin/rc to check if devfsd is still running between runlevel 835 Updated /sbin/rc to check if devfsd is still running between runlevel
123 843
124 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and 844 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
125 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also 845 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
126 updated tarball.sh to handle ppp/chat-default. 846 updated tarball.sh to handle ppp/chat-default.
127 847
128 Added /etc/skel/.bash* to make things cleaner and set $INPUTRC. 848 Added /etc/skel/.bash* to make things cleaner.
129 849
130 Minor changes I forgot about. 850 Other minor changes.
131 851
132 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file 852 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
133 to rc-scripts. Can remove it from sys-libs/shadow at the next release. 853 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
134 854
135* rc-scripts 1.1.8 (15 Nov 2001) 855* rc-scripts 1.1.8 (15 Nov 2001)
136 856
137 16 Nov 2001; removed bogus "mountall.test" script. 857 16 Nov 2001; removed bogus "mountall.test" script.
138 858
139 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 859 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
860
140 init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not 861 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
141 'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded 862 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
142 for loop from init.d/depscan.sh, and other fixes. Updated names of new 863 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
143 functions in init.d/runscript.sh to better sounding ones. Updated 864 names of new functions in init.d/runscript.sh to better sounding ones.
144 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. 865 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
866 fixes/cleanups.
867
145 Removed try() out of init.d/runscript.sh (why was this here ?). 868 Removed try() out of init.d/runscript.sh (why was this here ?).
146 869
147 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 870 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
871
148 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. 872 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
873 doesn't exist.
149 874
150 init.d/hostname: Added check for a valid /etc/hostname. 875 init.d/hostname: Added check for a valid /etc/hostname.
151 876
152 init.d/keymaps: Added check for valid $KEYMAP. 877 init.d/keymaps: Added check for valid $KEYMAP.
153 878
159 not 'default' runlevel. 884 not 'default' runlevel.
160 885
161 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is 886 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
162 this really needed (I cannot see that it is used anywhere ...)? 887 this really needed (I cannot see that it is used anywhere ...)?
163 888
164 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 889 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
890
165 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called 891 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
166 'uses'. It basically have the same usage as 'need', except that it do not 892 called 'uses'. It basically have the same usage as 'need', except that it
167 start services that is not in the current and 'boot' runlevels. 893 do not start services that is not in the current and 'boot' runlevels.
168 894
169 Updated init.d/netmount to use the 'uses' depend. 895 Updated init.d/netmount to use the 'uses' depend.
170 896
171 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 897 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
172 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 898
173 starting and stopping of services not to start depends. 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.
174 902
175 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc 903 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
176 where the ${svcdir}/softscripts directory got destroyed before stopping 904
177 running services scheduled to be stopped. This with the fact that $SOFTLEVEL 905 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
178 was set too early, caused the services to be stopped in the wrong order. 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.
179 909
180 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to 910 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
911
181 check if any network filesystems is mounted. 912 Modified init.d/netmount to check if any network filesystems is mounted.
182 913
183 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added 914 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
184 some awk and grep magic to find all remote filesystems and umount them. 915 some awk and grep magic to find all remote filesystems and umount them.
185 916
186 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot 917 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
187 (missing "/"); it now actually checks the root filesystem. Also, a 918
188 localmount cleanliness fix. 919 A fix for checkroot (missing "/"); it now actually checks the root
920 filesystem. Also, a localmount cleanliness fix.
189 921
190* rc-scripts 1.1.7 (18 Oct 2001) 922* rc-scripts 1.1.7 (18 Oct 2001)
191 923
192[old changelog format follows] 924[old changelog format follows]
193 925
228 Brand new message functions (ewarn). 960 Brand new message functions (ewarn).
229 961
230 *sbin/init, init.d/checkroot 962 *sbin/init, init.d/checkroot
231 We're going back to a /proc/mounts-based mtab symlink because it's 963 We're going back to a /proc/mounts-based mtab symlink because it's
232 just plain better. Appropriate changes made. 964 just plain better. Appropriate changes made.
965
966# vim:expandtab

Legend:
Removed from v.81  
changed lines
  Added in v.243

  ViewVC Help
Powered by ViewVC 1.1.20