/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 115 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.
4 629
5 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to 630 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
6 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. 631 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
7 Fixed /etc/passwd,group for user/group mysql. 632 Fixed /etc/passwd,group for user/group mysql.
8 633
47 /etc/init.d/checkfs to return 0 if the fs was successfully repaired. 672 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
48 673
49 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 674 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
50 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 675 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
51 676
52 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated 677 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
678
53 /etc/init.d/depscan.sh to store info about missing dependancies of 679 Updated /etc/init.d/depscan.sh to store info about missing dependancies
54 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 680 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
55 to use this when starting a script ('need' dependancies is critical for 681 to use this when starting a script ('need' dependancies is critical for
56 startup). Added the broken() function to /etc/init.d/runscript.sh 682 startup). Added the broken() function to /etc/init.d/runscript.sh
57 to list the missing dependancies. 683 to list the missing dependancies.
58 684
59 Updated /etc/init.d/runscript.sh for svc_start() to have better error 685 Updated /etc/init.d/runscript.sh for svc_start() to have better error
61 687
62 Updated /etc/init.d/functions.sh with ewend(), which is the same as 688 Updated /etc/init.d/functions.sh with ewend(), which is the same as
63 eend(), but print a warning on error, not a error. Updated 689 eend(), but print a warning on error, not a error. Updated
64 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function. 690 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
65 691
66 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c 692 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
67 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script. 693
694 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
695 is passed to a rc-script.
68 696
69 Added /etc/init.d/rc-help.sh, simple script that prints out help for 697 Added /etc/init.d/rc-help.sh, simple script that prints out help for
70 the rc-scripts. 698 the rc-scripts.
71 699
72 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update 700 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
701
73 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the 702 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
74 halt and reboot. This fixes a problem where / was not unmounted 703 halt and reboot. This fixes a problem where / was not unmounted properly
75 properly in some cases. 704 in some cases.
76 705
77 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to 706 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
78 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and 707
79 /etc/init.d/depscan.sh for this 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
80 710
81 Modified /etc/init.d/runscript.sh to also restart the services that 711 Modified /etc/init.d/runscript.sh to also restart the services that
82 depend on a service if that service is restarted. Enhanced the 712 depend on a service if that service is restarted. Enhanced the
83 restart function to be able to have custom restart() functions in 713 restart function to be able to have custom restart() functions in
84 rc-scripts. The custom restart() have to use svc_stop() and 714 rc-scripts. The custom restart() have to use svc_stop() and
86 716
87 Add a pause function to /etc/init.d/runscript.sh. It will basically 717 Add a pause function to /etc/init.d/runscript.sh. It will basically
88 stop a service without stopping the services that depends on that 718 stop a service without stopping the services that depends on that
89 service. 719 service.
90 720
91 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a 721 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
92 service without stopping the services that depends on that service. 722 service without stopping the services that depends on that service.
93 723
94* rc-scripts 1.2.3 (18 Dec 2001) 724* rc-scripts 1.2.3 (18 Dec 2001)
95 725
96 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from 726 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
97 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used). 727
728 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
729 init wrapper we used).
98 730
99 Some cleanups: take out the shm resize comment; 731 Some cleanups: take out the shm resize comment;
100 732
101 remove the $wrongmount; 733 remove the $wrongmount;
102 734
113 Also added functionality to detect if the kernel have DEVFS support 745 Also added functionality to detect if the kernel have DEVFS support
114 compiled in; seems new users thinks devfs is unstable and as they do 746 compiled in; seems new users thinks devfs is unstable and as they do
115 not always read the docs, it does not get compiled in ;/ Should 747 not always read the docs, it does not get compiled in ;/ Should
116 make live for us a bit easier. 748 make live for us a bit easier.
117 749
118 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill 750 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
119 a cosmetic bug in the part that stops all the unneeded services. 751
752 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
753 the unneeded services.
120 754
121* rc-scripts 1.2.2 (8 Dec 2001) 755* rc-scripts 1.2.2 (8 Dec 2001)
122 756
123 10 Dec 2001; Added a localhost entry in /etc/hosts. 757 10 Dec 2001; Added a localhost entry in /etc/hosts.
124 758
135 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
136 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
137 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
138 these manpages. Slightly tweak the /etc/modules.autoload comments. 772 these manpages. Slightly tweak the /etc/modules.autoload comments.
139 773
140 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init 774 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
775
141 to work correctly with the 'gentoo=nodevfs' option, and cleaned 776 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
142 out old code. 777 and cleaned out old code.
143 778
144 Updated /etc/init.d/bootmisc with additional lock files to clean. 779 Updated /etc/init.d/bootmisc with additional lock files to clean.
145 780
146 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 781 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
782
147 /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'
148 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
149 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
150 that is used to define what loggers the 'logger' depend represent. 786 to define what loggers the 'logger' depend represent.
151 787
152 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 788 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
789
153 /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.
154 792
155 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 793 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
794
156 /etc/profile for the user to 077 for security. 795 Changed umask in /etc/profile for the user to 077 for security.
157 796
158 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
159 'source /etc/rc.conf' line. 798 'source /etc/rc.conf' line.
160 799
161 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
172 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 811 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
173 removed notail from the ext2 boot partition, other cleanups. 812 removed notail from the ext2 boot partition, other cleanups.
174 813
175 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.
176 815
177 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 816 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
178 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
179 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
820 standard location.
180 821
181 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
182 itself, calling depscan.sh or changing runlevels cause a tempory effect 823 itself, calling depscan.sh or changing runlevels cause a tempory effect
183 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
184 changing runlevels did not want to work. 825 changing runlevels did not want to work.
213 854
214* rc-scripts 1.1.8 (15 Nov 2001) 855* rc-scripts 1.1.8 (15 Nov 2001)
215 856
216 16 Nov 2001; removed bogus "mountall.test" script. 857 16 Nov 2001; removed bogus "mountall.test" script.
217 858
218 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 859 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
860
219 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
220 '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
221 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
222 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.
223 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
224 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 ?).
225 869
226 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 870 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
871
227 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.
228 874
229 init.d/hostname: Added check for a valid /etc/hostname. 875 init.d/hostname: Added check for a valid /etc/hostname.
230 876
231 init.d/keymaps: Added check for valid $KEYMAP. 877 init.d/keymaps: Added check for valid $KEYMAP.
232 878
238 not 'default' runlevel. 884 not 'default' runlevel.
239 885
240 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
241 this really needed (I cannot see that it is used anywhere ...)? 887 this really needed (I cannot see that it is used anywhere ...)?
242 888
243 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 889 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
890
244 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
245 '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
246 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.
247 894
248 Updated init.d/netmount to use the 'uses' depend. 895 Updated init.d/netmount to use the 'uses' depend.
249 896
250 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 897 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
251 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 898
252 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.
253 902
254 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc 903 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
255 where the ${svcdir}/softscripts directory got destroyed before stopping 904
256 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
257 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.
258 909
259 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to 910 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
911
260 check if any network filesystems is mounted. 912 Modified init.d/netmount to check if any network filesystems is mounted.
261 913
262 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
263 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.
264 916
265 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot 917 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
266 (missing "/"); it now actually checks the root filesystem. Also, a 918
267 localmount cleanliness fix. 919 A fix for checkroot (missing "/"); it now actually checks the root
920 filesystem. Also, a localmount cleanliness fix.
268 921
269* rc-scripts 1.1.7 (18 Oct 2001) 922* rc-scripts 1.1.7 (18 Oct 2001)
270 923
271[old changelog format follows] 924[old changelog format follows]
272 925
307 Brand new message functions (ewarn). 960 Brand new message functions (ewarn).
308 961
309 *sbin/init, init.d/checkroot 962 *sbin/init, init.d/checkroot
310 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
311 just plain better. Appropriate changes made. 964 just plain better. Appropriate changes made.
965
966# vim:expandtab

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

  ViewVC Help
Powered by ViewVC 1.1.20