/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 128 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.
4 544
5 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default 545 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
6 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's 546 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
7 just in a comment now) 547 just in a comment now)
8 548
9 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and 549 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
10 'before', updated /etc/init.d/runscript.sh for this. This should fix
11 services not getting started in the correct order in a tight loop, services
12 getting stopped out of order, and some other sanity checks. Updated
13 rc-script.sh for updated help.
14 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
15 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to 556 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
16 resolve bug #588. Reimplemented things a bit, and added the 'after' type. 557
17 'before' and 'after' will only work currently for a change of runlevel. 558 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
18 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it. 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.
19 562
20 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to 563 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
21 /etc/devfsd.conf to make alsa users life easier ... thanks Tod. 564
565 Add some more entries to /etc/devfsd.conf to make alsa users life
566 easier ... thanks Tod.
22 567
23 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to 568 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
569
24 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 570 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
25 571
26 Fixed some services not starting again when restarting a service. 572 Fixed some services not starting again when restarting a service.
27 Seems simple is still the best way. 573 Seems simple is still the best way.
28 574
29 Fixed some other problems created with feature additions and cleanups. 575 Fixed some other problems created with feature additions and cleanups.
30 576
31 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to 577 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
578
32 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 579 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
33 580
34 Added 'before *' to /etc/init.d/checkroot to make sure it gets 581 Added 'before *' to /etc/init.d/checkroot to make sure it gets
35 started first. 582 started first.
36 583
37 Added 'use *' to /etc/init.d/local to make sure it gets started 584 Added 'use *' to /etc/init.d/local to make sure it gets started
38 last. 585 last.
39 586
40 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc 587 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
588
41 to stop a service on change of runlevel if it is in 'use' by 589 Fixed /sbin/rc to stop a service on change of runlevel if it is
42 another service. 590 in 'use' by another service.
43 591
44 Added the 'provide' depend type for creating virtual services. 592 Added the 'provide' depend type for creating virtual services.
45 Updated /etc/init.d/depscan.sh for this. 593 Updated /etc/init.d/depscan.sh for this.
46 594
47 Added the 'before' depend type. This is more for changing the 595 Added the 'before' depend type. This is more for changing the
55 Added save_options() and get_options() to /etc/init.d/functions.sh 603 Added save_options() and get_options() to /etc/init.d/functions.sh
56 for saving misc settings between startup/shutdown. Updated 604 for saving misc settings between startup/shutdown. Updated
57 /etc/init.d/net.eth0 to use these and properly down virtual 605 /etc/init.d/net.eth0 to use these and properly down virtual
58 interfaces. 606 interfaces.
59 607
60 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both 608 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
609
61 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no 610 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
62 errors. 611 on no errors.
63 612
64* rc-scripts 1.2.6 (6 Feb 2002) 613* rc-scripts 1.2.6 (6 Feb 2002)
65 614
66 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
67 to specify the gateway device via the $gateway variable (something like
68 gateway="eth0/192.168.0.1").
69
70 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script 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
71 /etc/init.d/numlock, for enabling numlock at boot. 622 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
72 623
73 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the 624 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
625
74 last fix to /etc/init.d/netmount to umount cleanly. This fix 626 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
75 implements a retry if not successful the first time, and will 627 implements a retry if not successful the first time, and will kill
76 kill processess using the mount. Also small type-o fix to 628 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
77 /etc/init.d/halt.sh.
78 629
79 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to 630 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
80 /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.
81 Fixed /etc/passwd,group for user/group mysql. 632 Fixed /etc/passwd,group for user/group mysql.
82 633
121 /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.
122 673
123 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 674 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
124 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 675 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
125 676
126 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated 677 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
678
127 /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
128 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
129 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
130 startup). Added the broken() function to /etc/init.d/runscript.sh 682 startup). Added the broken() function to /etc/init.d/runscript.sh
131 to list the missing dependancies. 683 to list the missing dependancies.
132 684
133 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
135 687
136 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
137 eend(), but print a warning on error, not a error. Updated 689 eend(), but print a warning on error, not a error. Updated
138 /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.
139 691
140 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c 692 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
141 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.
142 696
143 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
144 the rc-scripts. 698 the rc-scripts.
145 699
146 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update 700 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
701
147 /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
148 halt and reboot. This fixes a problem where / was not unmounted 703 halt and reboot. This fixes a problem where / was not unmounted properly
149 properly in some cases. 704 in some cases.
150 705
151 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to 706 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
152 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and 707
153 /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
154 710
155 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
156 depend on a service if that service is restarted. Enhanced the 712 depend on a service if that service is restarted. Enhanced the
157 restart function to be able to have custom restart() functions in 713 restart function to be able to have custom restart() functions in
158 rc-scripts. The custom restart() have to use svc_stop() and 714 rc-scripts. The custom restart() have to use svc_stop() and
160 716
161 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
162 stop a service without stopping the services that depends on that 718 stop a service without stopping the services that depends on that
163 service. 719 service.
164 720
165 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
166 service without stopping the services that depends on that service. 722 service without stopping the services that depends on that service.
167 723
168* rc-scripts 1.2.3 (18 Dec 2001) 724* rc-scripts 1.2.3 (18 Dec 2001)
169 725
170 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from 726 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
171 /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).
172 730
173 Some cleanups: take out the shm resize comment; 731 Some cleanups: take out the shm resize comment;
174 732
175 remove the $wrongmount; 733 remove the $wrongmount;
176 734
187 Also added functionality to detect if the kernel have DEVFS support 745 Also added functionality to detect if the kernel have DEVFS support
188 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
189 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
190 make live for us a bit easier. 748 make live for us a bit easier.
191 749
192 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill 750 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
193 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.
194 754
195* rc-scripts 1.2.2 (8 Dec 2001) 755* rc-scripts 1.2.2 (8 Dec 2001)
196 756
197 10 Dec 2001; Added a localhost entry in /etc/hosts. 757 10 Dec 2001; Added a localhost entry in /etc/hosts.
198 758
209 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
210 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
211 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
212 these manpages. Slightly tweak the /etc/modules.autoload comments. 772 these manpages. Slightly tweak the /etc/modules.autoload comments.
213 773
214 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init 774 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
775
215 to work correctly with the 'gentoo=nodevfs' option, and cleaned 776 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
216 out old code. 777 and cleaned out old code.
217 778
218 Updated /etc/init.d/bootmisc with additional lock files to clean. 779 Updated /etc/init.d/bootmisc with additional lock files to clean.
219 780
220 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 781 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
782
221 /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'
222 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
223 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
224 that is used to define what loggers the 'logger' depend represent. 786 to define what loggers the 'logger' depend represent.
225 787
226 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 788 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
789
227 /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.
228 792
229 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 793 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
794
230 /etc/profile for the user to 077 for security. 795 Changed umask in /etc/profile for the user to 077 for security.
231 796
232 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
233 'source /etc/rc.conf' line. 798 'source /etc/rc.conf' line.
234 799
235 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
246 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 811 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
247 removed notail from the ext2 boot partition, other cleanups. 812 removed notail from the ext2 boot partition, other cleanups.
248 813
249 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.
250 815
251 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 816 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
252 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
253 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.
254 821
255 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
256 itself, calling depscan.sh or changing runlevels cause a tempory effect 823 itself, calling depscan.sh or changing runlevels cause a tempory effect
257 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
258 changing runlevels did not want to work. 825 changing runlevels did not want to work.
287 854
288* rc-scripts 1.1.8 (15 Nov 2001) 855* rc-scripts 1.1.8 (15 Nov 2001)
289 856
290 16 Nov 2001; removed bogus "mountall.test" script. 857 16 Nov 2001; removed bogus "mountall.test" script.
291 858
292 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 859 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
860
293 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
294 '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
295 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
296 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.
297 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
298 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 ?).
299 869
300 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 870 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
871
301 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.
302 874
303 init.d/hostname: Added check for a valid /etc/hostname. 875 init.d/hostname: Added check for a valid /etc/hostname.
304 876
305 init.d/keymaps: Added check for valid $KEYMAP. 877 init.d/keymaps: Added check for valid $KEYMAP.
306 878
312 not 'default' runlevel. 884 not 'default' runlevel.
313 885
314 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
315 this really needed (I cannot see that it is used anywhere ...)? 887 this really needed (I cannot see that it is used anywhere ...)?
316 888
317 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 889 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
890
318 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
319 '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
320 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.
321 894
322 Updated init.d/netmount to use the 'uses' depend. 895 Updated init.d/netmount to use the 'uses' depend.
323 896
324 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 897 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
325 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 898
326 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.
327 902
328 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc 903 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
329 where the ${svcdir}/softscripts directory got destroyed before stopping 904
330 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
331 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.
332 909
333 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to 910 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
911
334 check if any network filesystems is mounted. 912 Modified init.d/netmount to check if any network filesystems is mounted.
335 913
336 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
337 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.
338 916
339 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot 917 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
340 (missing "/"); it now actually checks the root filesystem. Also, a 918
341 localmount cleanliness fix. 919 A fix for checkroot (missing "/"); it now actually checks the root
920 filesystem. Also, a localmount cleanliness fix.
342 921
343* rc-scripts 1.1.7 (18 Oct 2001) 922* rc-scripts 1.1.7 (18 Oct 2001)
344 923
345[old changelog format follows] 924[old changelog format follows]
346 925
381 Brand new message functions (ewarn). 960 Brand new message functions (ewarn).
382 961
383 *sbin/init, init.d/checkroot 962 *sbin/init, init.d/checkroot
384 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
385 just plain better. Appropriate changes made. 964 just plain better. Appropriate changes made.
965
966# vim:expandtab

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

  ViewVC Help
Powered by ViewVC 1.1.20