/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.137  
changed lines
  Added in v.304

  ViewVC Help
Powered by ViewVC 1.1.20