/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.127  
changed lines
  Added in v.331

  ViewVC Help
Powered by ViewVC 1.1.20