/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 157 Revision 300
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002-2003 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 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
8
9 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
10
11 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
12 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
13
14 Turn on -C option to fsck on for all calls to fsck. Updated scripts
15 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
16
17* rc-scripts 1.4.3.0 (07 Jan 2003)
18
19 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
20
21 Too much to mention, but here are a few:
22 - Major rewrite of software RAID startup, based on Mandrake's, as
23 ours was pretty broken :(
24 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
25 Much of /sbin/functions.sh and other scripts have been changed
26 to support this.
27 - Reworked /etc/inittab to support this. Also moved critical
28 mounting of local filesystems to 'sysinit' function of /sbin/rc.
29 - Move state directory to /var/state/init.d/ ($svcdir).
30 - Move Adelie node init to /sbin/functions.sh to try and simplify
31 /sbin/rc a bit.
32 - Updated Copyright dates to 2003.
33
34* rc-scripts 1.4.2.8 (06 Jan 2003)
35
36 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
37
38 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
39 lines, as it seems users do not note the need to have them all on
40 one line ....
41
42 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
43 script not ending on a digit. This closes bug #12887.
44
45 Fix get_KV to also check micro version of kernel; add KV_to_int()
46 helper function for get_KV. Update /etc/init.d/localmount to work
47 with new get_KV ...
48
49 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
50
51 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
52 in the new sys-apps/module-init-tools. Note that you need version
53 0.9.7 or later of sys-apps/module-init-tools. Updated
54 /sbin/modules-update for this.
55
56 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
57 we are running kernel 2.5 or later ...
58
59 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
60
61 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
62 rc-script to setup encrypted loopback devices. This was kindly
63 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
64
65 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
66
67 Fix src/awk/genenviron.awk stripping *all* '=', closing
68 bug #8901.
69
70 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
71 spaces ...
72
73* rc-scripts 1.4.2.7 (24 Dec 2002)
74
75 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
76
77 Add a fix to /sbin/functions.sh for bug #12601.
78
79 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
80
81 Add INFOPATH to /etc/env.d/00basic.
82
83 Fix src/awk/genenviron.awk to get the order of the env.d files
84 correct. Also fix it to handle *all* the SPECIALS correctly.
85 This closes bug #12411.
86
87* rc-scripts 1.4.2.6 (18 Dec 2002)
88
89 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
90
91 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
92 thanks to Nicholas Wourms <nwourms@netscape.net>.
93
94 Quote some tests in /sbin/rc-update to fix/avoid the problem
95 in bug #
96
97 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
98
99 Update shell for postgres user, closing bug #12258.
100
101 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
102
103 Fix src/awk/genenviron.awk not to add duplicate entries, closing
104 bug #8999.
105
106* rc-scripts 1.4.2.5 (09 Dec 2002)
107
108 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
109
110 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
111
112 Add smmsp uid and gid. Closes bug #8952.
113
114 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
115
116 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
117 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
118
119 Add headers similar to that of portage-2.0.45 and up to the
120 generated profile files (/etc/{profile,csh}.env). Updated
121 src/awk/genenviron.awk for this.
122
123 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
124
125 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
126 sharp eye of Techie2000 <Linux@mochamail.com>.
127
128 Rename /sbin/update-modules to /sbin/modules-update, closing
129 bug #11445.
130
131 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
132 /etc/env.d/00basic, bug #10916.
133
134 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
135
136 Add more improvements to clustering code. This is from
137 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
138
139 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
140
141 Change default 'net' dependency behaviour to be more suited
142 for notebook users. Basically if at least one net.* service
143 beside net.lo start successfully, the 'net' dependency is
144 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
145 in /etc/conf.d/rc to change this back to the old default.
146 This is the start to address bug #2706.
147
148* rc-scripts 1.4.2.4 (26 Nov 2002)
149
150 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
151
152 Initial merge of bits for Adelie Linux for SSI clusters. More
153 info at:
154
155 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
156
157 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
158
159 One liner fix to src/awk/cachedepends.awk to once again fix
160 bug #7803.
161
162 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
163
164 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
165 This should close bug #10891.
166
167* rc-scripts 1.4.2.3 (18 Nov 2002)
168
169 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
170
171 Add some more checks to src/awk/*. Fix error printing for
172 /sbin/depscan.sh.
173
174 Link awk module with gcc and not with ld. This should fix
175 problems on sparc and alpha. Many thanks for this fix to
176 Stephan Jones <cretin@gentoo.org>.
177
178 Remove the copyright info from config files, thanks to
179 Matthew Kennedy <mkennedy@gentoo.org>.
180
181* rc-scripts 1.4.2.2 (18 Nov 2002)
182
183 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
184
185 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
186 to awk. This is also much faster than its bash version.
187
188 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
189 things even slower on older boxes. Bug #10548.
190
191 After a bored Vapier decided that he needed to update the
192 licenses of things in /etc :P, I did the rest. Hopefully
193 not too many people will nuke thier fstab :/
194
195* rc-scripts 1.4.2.1 (18 Nov 2002)
196
197 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
198
199 Update src/awk/cachedepends.awk to find its own rc-scripts,
200 fixing the need for find which broke systems with /usr on
201 a different partition.
202
203 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
204
205 Add some extra checks to src/awk/cachedepends.awk and
206 src/awk/gendepends.awk.
207
208 Move some of the more generic functions in src/awk/gendepends.awk
209 to src/awk/functions.awk.
210
211* rc-scripts 1.4.2 (17 Nov 2002)
212
213 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
214
215 Add initial version of new depscan.sh. This uses awk scripts
216 to do the main work, giving about 10 times speed improvement on
217 slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
218 src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
219 for this. This should close bug #10548.
220
221* rc-scripts 1.4.1.2 (5 Nov 2002)
222
223 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
224
225 Add UID/GID of 250 for Portage Fakeroot account.
226
227 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
228
229 Change /etc/init.d/clock to depend on localmount again, fixing
230 bug #10048.
231
232 Get deps on logger sane again. I wanted to get the logger started
233 as early as possible, but clock for one breaks if /usr is mounted
234 on seperate partition.
235
236 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
237
238 Fix return in /etc/init.d/modules to return 0 if /proc/modules
239 do not exists. Closes bug #7738, comment #5.
240
241* rc-scripts 1.4.1.1 (28 Oct 2002)
242
243 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
244
245 Fix /sbin/update-modules not to include backup files. Closes
246 bug #9707.
247
248 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
249
250 Fix update-modules borking if there are directories present
251 in /etc/modules.d/. Closes bug #9632.
252
253 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
254
255 Change deps on /etc/init.d/{clock,hostname,modules} not to
256 depend on localmount, but rather on checkroot, as all of them
257 just need / to be mounted. This should fix race conditions
258 because of checkfs dependency on modules. This should close
259 bug #9266.
260
261* rc-scripts 1.4.1 (13 Oct 2002)
262
263 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
264
265 Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
266 is additional measures for bug #8281.
267
268 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
269
270 Update /etc/init.d/net.eth0 to fix bug #8626.
271
272 Fix /sbin/rc-update to check return code of "ln". This should
273 close bug #8867.
274
275 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
276
277 Fix indentation in /etc/inputrc. This should close
278 bug #8368.
279
280 Add extended status functionality. Should close bug #2462.
281
282 Add support for /sbin/rc-update to check if the rc-script
283 is executable or not. Thanks to widersacher@gmx.net, closing
284 bug #8326.
285
286 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
287
288 Fix /etc/init.d/bootmisc not to kill pidfiles of running
289 daemons. Improve NGPT support in /sbin/rc a bit.
290
291 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
292
293 Fix my last screwup with /etc/init.d/net.ppp0. Basically
294 forgot to change a few DEVICE's to IFACE ...
295
296 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
297
298 NGPT support.
299
300 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
301
302 Did a small fix to /etc/init.d/net.eth0, thanks to
303 naanyaar2000@yahoo.com, bug #7407.
304
305 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
306
307 Add the permission stuff for generic scsi when compiled as
308 module, thanks to Bauno <bauno@inwind.it>.
309
310 Add support for /etc/devfs.d/ for additional devfs config
311 stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
312
313 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
314
315 Fix small type-o from last changes to /etc/init.d/netmount.
316 Should resolve bug #7803.
317
318* rc-scripts 1.4.0 (7 Sep 2002)
319
320 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
321
322 Update /etc/init.d/net.eth0 to handle individual broadcast
323 and netmask for aliases. Should close bug #7407.
324
325 Give /var/run/utmp and /var/log/wtmp the proper permissions
326 and ownership. First steps in fixing bug #7630.
327
328 Change Raid stuff again in /etc/init.d/checkfs.
329
330 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
331
332 Give root a 'root' GECOS in /etc/passwd, was NULL before.
333
334* rc-scripts 1.3.9 (25 Aug 2002)
335
336 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
337
338 Update /sbin/rc to fix some spelling/slang mistakes. Closes
339 bug #6887.
340
341 Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
342 This closes bug #6378.
343
344 Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
345 with many thanks to Asbjorn Sannes <ace@sannes.org>.
346
347 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
348
349 Update /etc/init.d/bootmisc to reset pam_console permissions.
350
351 Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
352 line for getting devfs to work with pam_console.
353
354 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
355
356 Update /etc/init.d/keymaps to first load the windowkeys.inc then
357 the user selected one, fixing bug #6295.
358
359 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
360
361 Change the 'cat' in check_rcscript() to a single 'awk' in
362 /sbin/depscan.sh. This should fix broken pipe issues if the
363 loop exists too early. Resolves bug #5961.
364
365 Fix software RAID startup/shutdown, bug #5310. Modified
366 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
367
368* rc-scripts 1.3.8 (08 Aug 2002)
369
370 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
371
372 Move the color ls stuff to .bashrc. Fix bug #5250.
373
374 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
375
376 Correct the comments in rc.conf about the XSESSION variable: it should
377 be set to "kde-<version>" not "KDE". Closes bug #5948.
378
379 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
380
381 Fix the 'Usage' line in the help to return the correct options for
382 the script (/sbin/runscript.sh). Resolve bug #6029.
383
384 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
385
386 Added UPS shutdown support for nut to halt.sh.
387 Added nut user/group as uid/gid 84.
388
389 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
390
391 Updated /sbin/rc's way of checking for devfs support (now rather uses
392 awk, as it is more accurate). Closes bug #5458.
393
394 Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
395 and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
396 Thanks goes to Chris PeBenito (bug #5570).
397
398 Changed most daemons to use /bin/false as shell. Should close bug #5388.
399
400 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
401
402 Added vpopmail user and group as 89:89
403
404 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
405
406 Add the cyrus user to /etc/passwd. Resolves bug #4100.
407
408 Some bugfixes and speed improvements to /sbin/depscan.sh after
409 last changes.
410
411 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
412 get some speed improvements.
413
414 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
415
416 Fix LVM support in /etc/init.d/checkfs again, thanks to help from
417 Kyle Manna <nitro@gentoo.org>.
418
419 Add software RAID support to /etc/init.d/checkfs, thanks to
420 Daniel Ahlberg <aliz@gentoo.org>.
421
422 Update the cache_depend() funtion in /sbin/depscan.sh not to
423 quit on any "}", but only on the one matching the first "{". This
424 requires wc in /bin, so baselayout should depend on
425 >=sys-apps/textutils-2.0.19-r2
426
427 Update /etc/init.d/netmount to try and detect nfs mounts that should be
428 mounted automatically on boot. This requires awk in /bin, so baselayout
429 should depend on >=sys-apps/gawk-3.1.0-r3.
430
431* rc-scripts 1.3.7 (17 Jul 2002)
432
433 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
434
435 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
436 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
437
438 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
439
440 Add additional entries to /etc/services to support cyrus-imapd, thanks
441 to Nick Hadaway <raker@gentoo.org>.
442
443 Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
444 problem with non 7bit ascii symbols.
445
446 Updated /etc/init.d/checkfs to detect if lvm is already active.
447 This should resolve bug #3613.
448
449 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
450
451 Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
452 "games" user and group to 35
453
454 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
455
456 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
457 (aka cybersystem). Updated /sbin/rc for this.
458
459 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
460
461 Update /etc/skel/.bashrc to update the window title of X terminals
462 that supports it. Closes bug #4232.
463
464 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
465
466 Add sshd user and group. Updated /etc/passwd and /etc/group for this.
467
468 Update /etc/inputrc to resolve bug #2599.
469
470 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
471
472 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
473 /etc/env.d/00basic for this.
474
475 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
476 Nothing official, but I spent enouth time on it not to want to loose it :)
477
478 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
479 to give output to stderr. This was caused by a call to "stty", which when
480 run without a attatched terminal, have this effect. Basically just pipe
481 stderr to /dev/null.
482
483 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
484
485 Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
486 bug #3363
487
488 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
489
490 Update /etc/init.d/netmount not to try and mount NFS filesystems
491 if portmap was not started. This is to stop "hang" problems for
492 new users who do not add portmap to the default runlevel. See
493 bug #2555.
494
495 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
496
497 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
498
499 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
500
501 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
502
503 Change the homes of user "at" and "cron" in /etc/passwd, as
504 they moved to /var/spool/cron...
505
506* rc-scripts 1.3.5 (12 May 2002)
507
508 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
509
510 Make slight modifications to /sbin/depscan.sh to improve speed (about
511 1 second on a celeron 633).
512
513 Finally fix /sbin/runscript.sh to properly handle interdependencies
514 between types need/use and before/after on runlevel change. I can
515 actually kick myself for previous implementations, as this fix simplifies
516 things a lot, and is almost 30 lines of code less!
517
518 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
519 It rather just exit with a warning, as I think most people have like
520 me mounts that are to boxes that are not always up.
521
522 Resolve bug #2439 (should not use try with the dd command for ramdisk
523 stuff). Also increase the number of inodes used for the ramdisk to
524 fix "out of space" errors. Updated /sbin/rc for this.
525
526 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
527
528 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
529 backup files to generate /etc/profile.env.
530
531 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
532 for this.
533
534 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
535
536 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
537 /etc/env.d/ file. Same for $QTDIR.
538
539 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
540
541 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
542 and is needed for some fixes.
543
544 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
545
546 Update /etc/rc.conf to be more clear and state that you should
547 remove consolefont from startup if you do not use it. Should
548 resolve bug #2174.
549
550 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
551
552 Added user/group apache with uid/gid 81.
553
554 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
555
556 Remove the "-net" from the line setting the default gateway
557 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
558 noting this.
559
560 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
561
562 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
563 which is installed with the nfs-utils package. Also tidied up some
564 really old, leftover junk like the non-supported stuff from rc5.
565 Closes #1754.
566
567 23 April 2002; Martin Schlemmer <azarah@gentoo.org>:
568
569 Remove creation of /var/run/utmpx from bootmisc again. Seems
570 other people have wierd problems.
571
572* rc-scripts 1.3.4 (21 April 2002)
573
574 21 April 2002; Martin Schlemmer <azarah@gentoo.org>:
575
576 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
577 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
578
579 Implement the status commandline argument. Updated /sbin/runscript.sh
580 and /sbin/rc-help.sh for this.
581
582 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
583 and AFTER.
584
585 12 April 2002; Martin Schlemmer <azarah@gentoo.org>:
586
587 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
588 is needed, else /usr/bin/newgrp segfault.
589
590 11 April 2002; Martin Schlemmer <azarah@gentoo.org>:
591
592 Update /etc/skel/.bash_profile to make it tcsh compadible.
593 Thanks to Väinö Järvelä for this fix.
594
595 Update /etc/profile to also set the PS? variables if $SHELL
596 is set to /bin/sh. This should make prompt colours in
597 bootstrap work again.
598
599 Move LVM stuff to checkfs to ensure that they get fscked.
600 This resolves bug #1552.
601
602* rc-scripts 1.3.3 (5 April 2002)
603
604 5 April 2002; Martin Schlemmer <azarah@gentoo.org>:
605
606 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
607 This is done to try and ensure system integrity.
608
609 1 April 2002; Martin Schlemmer <azarah@gentoo.org>:
610
611 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
612
613 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
614
615 Add a bash check to the code that sets the prompt, fixing bug #1078.
616
617* rc-scripts 1.3.2 (24 Mar 2002)
4 618
5 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 619 24 March 2002; Martin Schlemmer <azarah@gentoo.org>:
6 620
7 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 621 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
8 for this. 622 for this.
19 633
20 Remove /etc/pwdb.conf, as pwdb already install a copy of this. 634 Remove /etc/pwdb.conf, as pwdb already install a copy of this.
21 635
22 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this. 636 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
23 637
638 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
639 and it seems it has fallen now to my discression.
640
24* rc-scripts 1.3.1 (23 Mar 2002) 641* rc-scripts 1.3.1 (23 Mar 2002)
25 642
26 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 643 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
27 DHCP lease release from Jim Nutt. 644 DHCP lease release from Jim Nutt.
28 645
72 be working now, and this also fix a problem that when there is no 689 be working now, and this also fix a problem that when there is no
73 service providing a virtual, counter was used uninitialized. 690 service providing a virtual, counter was used uninitialized.
74 691
75* rc-scripts 1.3.0 (10 March 2002) 692* rc-scripts 1.3.0 (10 March 2002)
76 693
77 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: Resolved 694 10 March 2002; Martin Schlemmer <azarah@gentoo.org>:
695
78 bug #1021; updated /etc/init.d/consolefont for this. 696 Resolved bug #1021; updated /etc/init.d/consolefont for this.
79 697
80 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 698 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
81 699
82 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount 700 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
83 and /etc/init.d/localmount for this. 701 and /etc/init.d/localmount for this.
102 to detect a error when mounting /proc (remember to thank Grant for 720 to detect a error when mounting /proc (remember to thank Grant for
103 his UserMode ebuilds, and Guide). 721 his UserMode ebuilds, and Guide).
104 722
105* rc-scripts 1.2.9 (6 March 2002) 723* rc-scripts 1.2.9 (6 March 2002)
106 724
107 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form 725 6 March 2002; Martin Schlemmer <azarah@gentoo.org>:
726
108 updates and some piping fixes. 727 General form updates and some piping fixes.
109 728
110 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 729 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
111 to fix a problem where startDM.sh would be respawned repeatedly 730 to fix a problem where startDM.sh would be respawned repeatedly
112 if xdm was not in the default runlevel. 731 if xdm was not in the default runlevel.
113 732
114* rc-scripts 1.2.8 (4 March 2002) 733* rc-scripts 1.2.8 (4 March 2002)
115 734
116 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm, 735 4 March 2002; Martin Schlemmer <azarah@gentoo.org>:
117 /etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key" 736
118 problem we had with xdm/gdm/kdm. We should move them to the 737 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
738 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
119 xfree ebuild later on when things settles down. 739 move them to the xfree ebuild later on when things settles down.
120 740
121 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh. 741 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
122 742
123 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem 743 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
124 where we had a invalid $PATH on boot in some cases. 744 where we had a invalid $PATH on boot in some cases.
126 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 746 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
127 the new sys-apps/kbd package. 747 the new sys-apps/kbd package.
128 748
129* rc-scripts 1.2.7 (3 March 2002) 749* rc-scripts 1.2.7 (3 March 2002)
130 750
131 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem 751 3 March 2002; Martin Schlemmer <azarah@gentoo.org>:
752
132 of rc-scripts trying to start/stop a service multiple times if it 753 Fixed the problem of rc-scripts trying to start/stop a service multiple
133 fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for 754 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
134 this. 755 for this.
135 756
136 Fixing some variable declarations in /etc/init.d/runscript.sh caused 757 Fixing some variable declarations in /etc/init.d/runscript.sh caused
137 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 758 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
138 this. 759 this.
139 760
144 Updated /etc/passwd to have users with no shell defined, use /bin/false 765 Updated /etc/passwd to have users with no shell defined, use /bin/false
145 for security. 766 for security.
146 767
147 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 768 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
148 769
149 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for 770 1 March 2002; Martin Schlemmer <azarah@gentoo.org>:
771
150 sourcing the rc-scripts to eliminate syntax errors. Thanks to 772 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
151 Karl Trygve Kalleberg (aka karltk) for the idea. Updated 773 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
152 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 774 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
153 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 775 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
154 776
155 Removed stopping of dependant services that have current service as 777 Removed stopping of dependant services that have current service as
156 a 'use'dependancy ... should be less confusing now. 778 a 'use'dependancy ... should be less confusing now.
157 Updated /etc/init.d/runscript.sh for this. 779 Updated /etc/init.d/runscript.sh for this.
158 780
159 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start 781 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
160 and /etc/conf.d/local.stop for adding any misc programs to startup. This 782
161 should pretty much have /etc/init.d/ static, except for baselayout updates, 783 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
162 etc. 784 programs to startup. This should pretty much have /etc/init.d/ static,
785 except for baselayout updates, etc.
163 786
164 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases, 787 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
788
165 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed 789 In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
166 this in /sbin/rc. 790 problems. Fixed this in /sbin/rc.
167 791
168 Added the patches from Grant Goodyear (aka g2boojum) to enable us to 792 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
169 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc, 793 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
170 /etc/init.d/functions.sh and /etc/init.d/checkroot for this. 794 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
171 795
172 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead 796 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
173 update of the 25th. It really should keep "gentoo=nodevfs" in mind. 797
174 Also added 'get_bootparam()' to help in retrieving kernel options. 798 Fix my brain dead update of the 25th. It really should keep
175 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc 799 "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
176 for this. 800 retrieving kernel options. Updated /etc/init.d/functions.sh,
801 /etc/init.d/checkroot and /sbin/rc for this.
177 802
178 Updated /etc/init.d/consolefont to work without devfs as well. 803 Updated /etc/init.d/consolefont to work without devfs as well.
179 804
180 When rebooting or shutting down, a service should not fail to stop 805 When rebooting or shutting down, a service should not fail to stop
181 if a service it depends on, fails. Updated /etc/init.d/runscript.sh 806 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
182 for this. 807 for this.
183 808
184 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if 809 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
185 /dev is mounted when creating entries for /etc/mtab. This should solve a 810
186 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option. 811 Added a check if /dev is mounted when creating entries for /etc/mtab.
187 Updated /etc/init.d/checkroot for this. 812 This should solve a invalid entry or /dev being mounted even with
813 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
188 814
189 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default 815 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
190 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's 816 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
191 just in a comment now) 817 just in a comment now)
192 818
193 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and 819 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
194 'before', updated /etc/init.d/runscript.sh for this. This should fix
195 services not getting started in the correct order in a tight loop, services
196 getting stopped out of order, and some other sanity checks. Updated
197 rc-script.sh for updated help.
198 820
821 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
822 this. This should fix services not getting started in the correct order
823 in a tight loop, services getting stopped out of order, and some other
824 sanity checks. Updated rc-script.sh for updated help.
825
199 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to 826 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
200 resolve bug #588. Reimplemented things a bit, and added the 'after' type. 827
201 'before' and 'after' will only work currently for a change of runlevel. 828 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
202 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it. 829 and added the 'after' type. 'before' and 'after' will only work currently
830 for a change of runlevel. Updated /etc/init.d/depscan.sh,
831 /etc/init.d/runscript.sh and /sbin/rc for this.
203 832
204 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to 833 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
205 /etc/devfsd.conf to make alsa users life easier ... thanks Tod. 834
835 Add some more entries to /etc/devfsd.conf to make alsa users life
836 easier ... thanks Tod.
206 837
207 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to 838 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
839
208 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 840 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
209 841
210 Fixed some services not starting again when restarting a service. 842 Fixed some services not starting again when restarting a service.
211 Seems simple is still the best way. 843 Seems simple is still the best way.
212 844
213 Fixed some other problems created with feature additions and cleanups. 845 Fixed some other problems created with feature additions and cleanups.
214 846
215 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to 847 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
848
216 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 849 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
217 850
218 Added 'before *' to /etc/init.d/checkroot to make sure it gets 851 Added 'before *' to /etc/init.d/checkroot to make sure it gets
219 started first. 852 started first.
220 853
221 Added 'use *' to /etc/init.d/local to make sure it gets started 854 Added 'use *' to /etc/init.d/local to make sure it gets started
222 last. 855 last.
223 856
224 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc 857 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
858
225 to stop a service on change of runlevel if it is in 'use' by 859 Fixed /sbin/rc to stop a service on change of runlevel if it is
226 another service. 860 in 'use' by another service.
227 861
228 Added the 'provide' depend type for creating virtual services. 862 Added the 'provide' depend type for creating virtual services.
229 Updated /etc/init.d/depscan.sh for this. 863 Updated /etc/init.d/depscan.sh for this.
230 864
231 Added the 'before' depend type. This is more for changing the 865 Added the 'before' depend type. This is more for changing the
239 Added save_options() and get_options() to /etc/init.d/functions.sh 873 Added save_options() and get_options() to /etc/init.d/functions.sh
240 for saving misc settings between startup/shutdown. Updated 874 for saving misc settings between startup/shutdown. Updated
241 /etc/init.d/net.eth0 to use these and properly down virtual 875 /etc/init.d/net.eth0 to use these and properly down virtual
242 interfaces. 876 interfaces.
243 877
244 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both 878 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
879
245 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no 880 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
246 errors. 881 on no errors.
247 882
248* rc-scripts 1.2.6 (6 Feb 2002) 883* rc-scripts 1.2.6 (6 Feb 2002)
249 884
250 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
251 to specify the gateway device via the $gateway variable (something like
252 gateway="eth0/192.168.0.1").
253
254 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script 885 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
886
887 Updated /etc/net.eth0 to specify the gateway device via the $gateway
888 variable (something like gateway="eth0/192.168.0.1").
889
890 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
891
255 /etc/init.d/numlock, for enabling numlock at boot. 892 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
256 893
257 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the 894 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
895
258 last fix to /etc/init.d/netmount to umount cleanly. This fix 896 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
259 implements a retry if not successful the first time, and will 897 implements a retry if not successful the first time, and will kill
260 kill processess using the mount. Also small type-o fix to 898 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
261 /etc/init.d/halt.sh.
262 899
263 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to 900 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
264 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. 901 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
265 Fixed /etc/passwd,group for user/group mysql. 902 Fixed /etc/passwd,group for user/group mysql.
266 903
305 /etc/init.d/checkfs to return 0 if the fs was successfully repaired. 942 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
306 943
307 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 944 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
308 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 945 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
309 946
310 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated 947 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
948
311 /etc/init.d/depscan.sh to store info about missing dependancies of 949 Updated /etc/init.d/depscan.sh to store info about missing dependancies
312 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 950 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
313 to use this when starting a script ('need' dependancies is critical for 951 to use this when starting a script ('need' dependancies is critical for
314 startup). Added the broken() function to /etc/init.d/runscript.sh 952 startup). Added the broken() function to /etc/init.d/runscript.sh
315 to list the missing dependancies. 953 to list the missing dependancies.
316 954
317 Updated /etc/init.d/runscript.sh for svc_start() to have better error 955 Updated /etc/init.d/runscript.sh for svc_start() to have better error
319 957
320 Updated /etc/init.d/functions.sh with ewend(), which is the same as 958 Updated /etc/init.d/functions.sh with ewend(), which is the same as
321 eend(), but print a warning on error, not a error. Updated 959 eend(), but print a warning on error, not a error. Updated
322 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function. 960 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
323 961
324 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c 962 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
325 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script. 963
964 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
965 is passed to a rc-script.
326 966
327 Added /etc/init.d/rc-help.sh, simple script that prints out help for 967 Added /etc/init.d/rc-help.sh, simple script that prints out help for
328 the rc-scripts. 968 the rc-scripts.
329 969
330 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update 970 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
971
331 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the 972 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
332 halt and reboot. This fixes a problem where / was not unmounted 973 halt and reboot. This fixes a problem where / was not unmounted properly
333 properly in some cases. 974 in some cases.
334 975
335 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to 976 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
336 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and 977
337 /etc/init.d/depscan.sh for this 978 Move $svcdir to to /etc/init.d/functions.sh, and update
979 /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
338 980
339 Modified /etc/init.d/runscript.sh to also restart the services that 981 Modified /etc/init.d/runscript.sh to also restart the services that
340 depend on a service if that service is restarted. Enhanced the 982 depend on a service if that service is restarted. Enhanced the
341 restart function to be able to have custom restart() functions in 983 restart function to be able to have custom restart() functions in
342 rc-scripts. The custom restart() have to use svc_stop() and 984 rc-scripts. The custom restart() have to use svc_stop() and
344 986
345 Add a pause function to /etc/init.d/runscript.sh. It will basically 987 Add a pause function to /etc/init.d/runscript.sh. It will basically
346 stop a service without stopping the services that depends on that 988 stop a service without stopping the services that depends on that
347 service. 989 service.
348 990
349 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a 991 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
350 service without stopping the services that depends on that service. 992 service without stopping the services that depends on that service.
351 993
352* rc-scripts 1.2.3 (18 Dec 2001) 994* rc-scripts 1.2.3 (18 Dec 2001)
353 995
354 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from 996 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
355 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used). 997
998 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
999 init wrapper we used).
356 1000
357 Some cleanups: take out the shm resize comment; 1001 Some cleanups: take out the shm resize comment;
358 1002
359 remove the $wrongmount; 1003 remove the $wrongmount;
360 1004
371 Also added functionality to detect if the kernel have DEVFS support 1015 Also added functionality to detect if the kernel have DEVFS support
372 compiled in; seems new users thinks devfs is unstable and as they do 1016 compiled in; seems new users thinks devfs is unstable and as they do
373 not always read the docs, it does not get compiled in ;/ Should 1017 not always read the docs, it does not get compiled in ;/ Should
374 make live for us a bit easier. 1018 make live for us a bit easier.
375 1019
376 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill 1020 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
377 a cosmetic bug in the part that stops all the unneeded services. 1021
1022 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
1023 the unneeded services.
378 1024
379* rc-scripts 1.2.2 (8 Dec 2001) 1025* rc-scripts 1.2.2 (8 Dec 2001)
380 1026
381 10 Dec 2001; Added a localhost entry in /etc/hosts. 1027 10 Dec 2001; Added a localhost entry in /etc/hosts.
382 1028
393 to rc-scripts. Checked in two manpages there, one for modules.autoload.5 1039 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
394 and one for update-modules.8. These were adapted from Debian. Updated 1040 and one for update-modules.8. These were adapted from Debian. Updated
395 tarball.sh to include the new man directory. Updated baselayout to install 1041 tarball.sh to include the new man directory. Updated baselayout to install
396 these manpages. Slightly tweak the /etc/modules.autoload comments. 1042 these manpages. Slightly tweak the /etc/modules.autoload comments.
397 1043
398 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init 1044 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1045
399 to work correctly with the 'gentoo=nodevfs' option, and cleaned 1046 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
400 out old code. 1047 and cleaned out old code.
401 1048
402 Updated /etc/init.d/bootmisc with additional lock files to clean. 1049 Updated /etc/init.d/bootmisc with additional lock files to clean.
403 1050
404 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 1051 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1052
405 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 1053 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
406 that can be used for services that needs to have a logger started 1054 that can be used for services that needs to have a logger started before
407 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 1055 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
408 that is used to define what loggers the 'logger' depend represent. 1056 to define what loggers the 'logger' depend represent.
409 1057
410 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 1058 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1059
411 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 1060 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
1061 and grpck.
412 1062
413 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 1063 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1064
414 /etc/profile for the user to 077 for security. 1065 Changed umask in /etc/profile for the user to 077 for security.
415 1066
416 Added a stop() function to /etc/init.d/clock. Also removed uneeded 1067 Added a stop() function to /etc/init.d/clock. Also removed uneeded
417 'source /etc/rc.conf' line. 1068 'source /etc/rc.conf' line.
418 1069
419 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 1070 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
430 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 1081 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
431 removed notail from the ext2 boot partition, other cleanups. 1082 removed notail from the ext2 boot partition, other cleanups.
432 1083
433 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 1084 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
434 1085
435 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 1086 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
436 and updated /sbin/init to use a new scheme for saving /dev permissions. 1087
1088 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
437 Also moved /dev-state to /lib/dev-state which is a more standard location. 1089 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
1090 standard location.
438 1091
439 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 1092 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
440 itself, calling depscan.sh or changing runlevels cause a tempory effect 1093 itself, calling depscan.sh or changing runlevels cause a tempory effect
441 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 1094 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
442 changing runlevels did not want to work. 1095 changing runlevels did not want to work.
471 1124
472* rc-scripts 1.1.8 (15 Nov 2001) 1125* rc-scripts 1.1.8 (15 Nov 2001)
473 1126
474 16 Nov 2001; removed bogus "mountall.test" script. 1127 16 Nov 2001; removed bogus "mountall.test" script.
475 1128
476 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 1129 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1130
477 init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not 1131 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
478 'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded 1132 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
479 for loop from init.d/depscan.sh, and other fixes. Updated names of new 1133 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
480 functions in init.d/runscript.sh to better sounding ones. Updated 1134 names of new functions in init.d/runscript.sh to better sounding ones.
481 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. 1135 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
1136 fixes/cleanups.
1137
482 Removed try() out of init.d/runscript.sh (why was this here ?). 1138 Removed try() out of init.d/runscript.sh (why was this here ?).
483 1139
484 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 1140 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1141
485 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. 1142 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
1143 doesn't exist.
486 1144
487 init.d/hostname: Added check for a valid /etc/hostname. 1145 init.d/hostname: Added check for a valid /etc/hostname.
488 1146
489 init.d/keymaps: Added check for valid $KEYMAP. 1147 init.d/keymaps: Added check for valid $KEYMAP.
490 1148
496 not 'default' runlevel. 1154 not 'default' runlevel.
497 1155
498 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is 1156 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
499 this really needed (I cannot see that it is used anywhere ...)? 1157 this really needed (I cannot see that it is used anywhere ...)?
500 1158
501 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 1159 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
1160
502 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called 1161 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
503 'uses'. It basically have the same usage as 'need', except that it do not 1162 called 'uses'. It basically have the same usage as 'need', except that it
504 start services that is not in the current and 'boot' runlevels. 1163 do not start services that is not in the current and 'boot' runlevels.
505 1164
506 Updated init.d/netmount to use the 'uses' depend. 1165 Updated init.d/netmount to use the 'uses' depend.
507 1166
508 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 1167 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
509 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 1168
510 starting and stopping of services not to start depends. 1169 Fixed init.d/runscript.sh not to destroy the 'need' depends in
1170 /${svcdir}/need. This caused subsequent starting and stopping of services
1171 not to start depends.
511 1172
512 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc 1173 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
513 where the ${svcdir}/softscripts directory got destroyed before stopping 1174
514 running services scheduled to be stopped. This with the fact that $SOFTLEVEL 1175 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
515 was set too early, caused the services to be stopped in the wrong order. 1176 destroyed before stopping running services scheduled to be stopped. This
1177 with the fact that $SOFTLEVEL was set too early, caused the services to be
1178 stopped in the wrong order.
516 1179
517 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to 1180 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
1181
518 check if any network filesystems is mounted. 1182 Modified init.d/netmount to check if any network filesystems is mounted.
519 1183
520 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added 1184 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
521 some awk and grep magic to find all remote filesystems and umount them. 1185 some awk and grep magic to find all remote filesystems and umount them.
522 1186
523 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot 1187 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
524 (missing "/"); it now actually checks the root filesystem. Also, a 1188
525 localmount cleanliness fix. 1189 A fix for checkroot (missing "/"); it now actually checks the root
1190 filesystem. Also, a localmount cleanliness fix.
526 1191
527* rc-scripts 1.1.7 (18 Oct 2001) 1192* rc-scripts 1.1.7 (18 Oct 2001)
528 1193
529[old changelog format follows] 1194[old changelog format follows]
530 1195
565 Brand new message functions (ewarn). 1230 Brand new message functions (ewarn).
566 1231
567 *sbin/init, init.d/checkroot 1232 *sbin/init, init.d/checkroot
568 We're going back to a /proc/mounts-based mtab symlink because it's 1233 We're going back to a /proc/mounts-based mtab symlink because it's
569 just plain better. Appropriate changes made. 1234 just plain better. Appropriate changes made.
1235
1236# vim:expandtab

Legend:
Removed from v.157  
changed lines
  Added in v.300

  ViewVC Help
Powered by ViewVC 1.1.20