/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.20