/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.156  
changed lines
  Added in v.317

  ViewVC Help
Powered by ViewVC 1.1.20