/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 255 Revision 354
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL
3# Written by Daniel Robbins (drobbins@gentoo.org) 3# Written by Daniel Robbins (drobbins@gentoo.org)
4
5 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
8
9 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
10
11 Add various patches from Rachel Holmes <rach@gmx.net>:
12
13 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
14 purpose. Modified:
15
16 /etc/init.d/net.ppp0
17 /etc/init.d/nscd
18 /sbin/functions.sh
19 /sbin/rc
20 /sbin/rc-daemon.sh
21 /sbin/rc-envupdate.sh.bash
22 /sbin/runscript.sh
23
24 Exchanged some gratuitous use of awk for grep. Awk is a little resource
25 hungry just for a simple test. (I [azarah] did not apply the changes to
26 tests for 'devfs', as having 'usbdevfs' in the equation will break
27 things). Modified /sbin/rc for this.
28
29 Gentoo enforces having /proc, so uname -r is a little redundant when the
30 information is available without an external command. Modified:
31
32 /etc/init.d/modules
33 /etc/init.d/serial
34 /sbin/functions.sh
35 /sbin/modules-update
36
37 Changed 'id -u' commands to use $EUID in bash executed scripts, same
38 result no extra command. Modified:
39
40 /sbin/rc-envupdate.sh
41 /sbin/rc-envupdate.sh.bash
42 /sbin/rc-update
43
44 Removed all the cat sections, and the separate echo sections. The output
45 is _exactly_ the same, minus some spare spaces that have been removed.
46 Fourfold speed increase in the (granted flimsy) tests I have done.
47 Modified /sbin/rc-help.sh for this.
48
49 Final remaining 'cat' commands removed, in favour of using bash's internal
50 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
51 i18n anyway. Modified:
52
53 /sbin/rc
54 /sbin/rc-envupdate.sh
55 /sbin/rc-envupdate.sh.bash
56
57
58
59* rc-scripts 1.4.3.6 (27 Apr 2003)
60
61 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
62
63 Add a 'save' function /etc/init.d/clock, bug #19685.
64
65 Add a slocate group to /etc/group, bug #19604.
66
67 Do not stop a network service if we do not reboot on runlevel change,
68 as it could have been started by the user or hotplug. This should
69 address bug #12763; modified /sbin/rc for this.
70
71 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
72 domainname.
73
74 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
75 This should close bug #16884.
76
77 Fix /etc/profile to be /bin/sh compadible, bug #18918.
78
79 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
80 be more 'generic' ? Only try to disable swap if any devices/files was
81 activated. This should close bug #19089.
82
83 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
84 rw in /etc/fstab, bug #19158.
85
86 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
87
88 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
89 but the ppp link was already down, bug #15333.
90
91 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
92
93 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
94 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
95
96 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
97 updated /sbin/rc for this.
98
99 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
100
101 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
102
103 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
104
105 Make checking in unmount more strict, fixing bug #19007.
106
107 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
108
109 Add one more check to genenviron.awk, to spot cases where there is a
110 space between the variable and the '='.
111
112 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
113
114 Fix interactive shell not to have coloured prompt when used as a
115 dumb client, bug #18886. Fix was inspired by patch from
116 Matthew Kennedy <mkennedy@gentoo.org>.
117
118* rc-scripts 1.4.3.5 (06 Apr 2003)
119
120 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
121
122 Hopefully get the serial support sane again. Added /bin/consoletype
123 from Redhat to check for serial console. This should resolve bug
124 #18329 partly.
125
126 Add the --nocolor option to suppress the use of colors.
127
128 Change the 'status' option to return true if the service is running,
129 and false if stopped. This is only if the '--quiet' flag was also
130 given.
131
132 Change the start and stop options not to output or return false if
133 the '--quiet' flag was given.
134
135 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
136 as well, fixing bug #18344.
137
138 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
139 Aron Griffis <agriffis@gentoo.org>.
140
141 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
142 or rebooting.
143
144 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
145
146 Fix bug #18329 ... $COLS was not setup properly for serial console.
147
148 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
149
150 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
151 Fix a problem where it might not have mounted the USB fs when usbcore
152 was compiled as module, and the kernel did not mount it by the time
153 the script was started. Get it to rather check what filesystems is
154 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
155 later 2.4 kernels now also support the newer 'usbfs'.
156
157 Optimize RAID stuff in /etc/init.d/checkfs a bit.
158
159 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
160
161 Update sbin/rc-envupdate.sh.bash for bug #17549.
162
163* rc-scripts 1.4.3.4 (16 Mar 2003)
164
165 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
166
167 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
168 modifications (purple and display hostname, etc). Closes bug #16806.
169
170 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
171 work properly. Closes bug #17348.
172
173 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
174 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
175
176 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
177
178 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
179 <lostlogic@gentoo.org>!
180
181 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
182
183 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
184 and /etc/init.d/halt.sh for this.
185
186 Update /etc/fstab to correctly mount /proc with:
187
188 mount -t proc none /proc
189
190 Do the same for /dev/shm:
191
192 mount -t tmpfs none /dev/shm
193
194 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
195 noise if we exited a recovery console.
196
197 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
198 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
199
200 Bring down default gateway before adding new one .. this fixes issues
201 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
202 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
203 fix.
204
205 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
206 it fails for module-init-tools if the module is already loaded. This
207 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
208
209* rc-scripts 1.4.3.3 (09 Mar 2003)
210
211 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
212
213 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
214
215 Fix net.eth0 not to try and start an interface if already up.
216
217 Update MAKEDEV from Debian to support more archs. This adds support
218 for 'arm', 'hppa' among others. URL:
219
220 http://packages.debian.org/stable/base/makedev.html
221
222 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
223 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
224 are using a 2.5 kernel ... bug #17109.
225
226 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
227
228 Update /etc/init.d/hostname to only set the hostname to whatever is before
229 the first '.', and then set the domainname to the rest, closing bug #14946.
230
231 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
232
233 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
234
235 Fix spelling of dependency and some other spelling/grammer issues.
236 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
237 Mike Frysinger <vapier@gentoo.org>, bug #15498.
238
239 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
240
241 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
242
243 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
244 bug #14556.
245
246 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
247
248 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
249
250 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
251
252 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
253 to 'test -c /dev/ttyp0 &> /dev/null'.
254
255 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
256
257 Update /sbin/modules-update to generate /etc/modprobe.devfs from
258 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
259 module-init-tools-0.9.9 should get rid of many of the warnings/errors
260 with devfs, and makes it work a bit better.
261
262 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
263
264 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
265
266 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
267
268 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
269 support. This resolves bug #14994.
270
271 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
272 according to /etc/rc.conf.
273
274 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
275 and used 'basename' which is located in /usr/bin.
276
277 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
278
279 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
280 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
281 this.
282
283 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
284
285 Update src/awk/genenviron.awk to properly set the environment for each
286 rc-script's depend() function by sourcing required config files.
287
288 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
289
290 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
291 to Max Kalika <alkern23@yahoo.com>, bug #15050.
292
293 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
294
295 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
296
297 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
298
299 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
300 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
301
302 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
303
304 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
305 Add fix from the wonderful analysis of Toby Dickenson
306 <tdickenson@geminidataloggers.com> in #12947.
307
308 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
309
310 Fix start-stop-daemon to check the call to nice() correctly for failure,
311 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
312
313 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
314 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
315 Malcolm Scott <m@lcolm.org.uk>.
316
317 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
318
319 Updated /etc/rc.conf to add elogin/entrance support #13790.
320
321 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
322
323 Update /etc/init.d/keymaps to enable unicode if required. This closes
324 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
325
326 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
327
328 Fix deadlock durning shutdown if tmpfs filesystems larger than free
329 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
330 for this.
331
332 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
333 This closes bug #13868.
334
335 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
336 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
337
338 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
339
340 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
341
342 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
343 not have stale entries left from hard reboot, thanks to pac1085 on
344 irc.
345
346* rc-scripts 1.4.3.2 (15 Jan 2003)
347
348 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
349
350 Truely fix bootup on seperate /var.
351
352 Add some fixes and optimizations to /sbin/rc-update, thanks to
353 Daniel Robbins <drobbins@gentoo.org>.
354
355* rc-scripts 1.4.3.1 (15 Jan 2003)
356
357 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
358
359 Fix bootup on seperate /var.
360
361 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
362
363 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
364
365 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
366
367 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
368 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
369
370 Turn on -C option to fsck on for all calls to fsck. Updated scripts
371 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
372
373* rc-scripts 1.4.3.0 (07 Jan 2003)
374
375 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
376
377 Too much to mention, but here are a few:
378 - Major rewrite of software RAID startup, based on Mandrake's, as
379 ours was pretty broken :(
380 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
381 Much of /sbin/functions.sh and other scripts have been changed
382 to support this.
383 - Reworked /etc/inittab to support this. Also moved critical
384 mounting of local filesystems to 'sysinit' function of /sbin/rc.
385 - Move state directory to /var/state/init.d/ ($svcdir).
386 - Move Adelie node init to /sbin/functions.sh to try and simplify
387 /sbin/rc a bit.
388 - Updated Copyright dates to 2003.
389
390* rc-scripts 1.4.2.8 (06 Jan 2003)
391
392 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
393
394 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
395 lines, as it seems users do not note the need to have them all on
396 one line ....
397
398 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
399 script not ending on a digit. This closes bug #12887.
400
401 Fix get_KV to also check micro version of kernel; add KV_to_int()
402 helper function for get_KV. Update /etc/init.d/localmount to work
403 with new get_KV ...
404
405 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
406
407 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
408 in the new sys-apps/module-init-tools. Note that you need version
409 0.9.7 or later of sys-apps/module-init-tools. Updated
410 /sbin/modules-update for this.
411
412 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
413 we are running kernel 2.5 or later ...
414
415 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
416
417 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
418 rc-script to setup encrypted loopback devices. This was kindly
419 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
420
421 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
422
423 Fix src/awk/genenviron.awk stripping *all* '=', closing
424 bug #8901.
425
426 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
427 spaces ...
428
429* rc-scripts 1.4.2.7 (24 Dec 2002)
430
431 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
432
433 Add a fix to /sbin/functions.sh for bug #12601.
434
435 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
436
437 Add INFOPATH to /etc/env.d/00basic.
438
439 Fix src/awk/genenviron.awk to get the order of the env.d files
440 correct. Also fix it to handle *all* the SPECIALS correctly.
441 This closes bug #12411.
442
443* rc-scripts 1.4.2.6 (18 Dec 2002)
444
445 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
446
447 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
448 thanks to Nicholas Wourms <nwourms@netscape.net>.
449
450 Quote some tests in /sbin/rc-update to fix/avoid the problem
451 in bug #
452
453 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
454
455 Update shell for postgres user, closing bug #12258.
456
457 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
458
459 Fix src/awk/genenviron.awk not to add duplicate entries, closing
460 bug #8999.
461
462* rc-scripts 1.4.2.5 (09 Dec 2002)
463
464 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
465
466 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
467
468 Add smmsp uid and gid. Closes bug #8952.
469
470 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
471
472 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
473 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
474
475 Add headers similar to that of portage-2.0.45 and up to the
476 generated profile files (/etc/{profile,csh}.env). Updated
477 src/awk/genenviron.awk for this.
478
479 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
480
481 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
482 sharp eye of Techie2000 <Linux@mochamail.com>.
483
484 Rename /sbin/update-modules to /sbin/modules-update, closing
485 bug #11445.
486
487 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
488 /etc/env.d/00basic, bug #10916.
489
490 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
491
492 Add more improvements to clustering code. This is from
493 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
494
495 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
496
497 Change default 'net' dependency behaviour to be more suited
498 for notebook users. Basically if at least one net.* service
499 beside net.lo start successfully, the 'net' dependency is
500 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
501 in /etc/conf.d/rc to change this back to the old default.
502 This is the start to address bug #2706.
503
504* rc-scripts 1.4.2.4 (26 Nov 2002)
505
506 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
507
508 Initial merge of bits for Adelie Linux for SSI clusters. More
509 info at:
510
511 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
512
513 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
514
515 One liner fix to src/awk/cachedepends.awk to once again fix
516 bug #7803.
517
518 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
519
520 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
521 This should close bug #10891.
522
523* rc-scripts 1.4.2.3 (18 Nov 2002)
524
525 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
526
527 Add some more checks to src/awk/*. Fix error printing for
528 /sbin/depscan.sh.
529
530 Link awk module with gcc and not with ld. This should fix
531 problems on sparc and alpha. Many thanks for this fix to
532 Stephan Jones <cretin@gentoo.org>.
533
534 Remove the copyright info from config files, thanks to
535 Matthew Kennedy <mkennedy@gentoo.org>.
536
537* rc-scripts 1.4.2.2 (18 Nov 2002)
538
539 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
540
541 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
542 to awk. This is also much faster than its bash version.
543
544 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
545 things even slower on older boxes. Bug #10548.
546
547 After a bored Vapier decided that he needed to update the
548 licenses of things in /etc :P, I did the rest. Hopefully
549 not too many people will nuke thier fstab :/
550
551* rc-scripts 1.4.2.1 (18 Nov 2002)
552
553 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
554
555 Update src/awk/cachedepends.awk to find its own rc-scripts,
556 fixing the need for find which broke systems with /usr on
557 a different partition.
558
559 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
560
561 Add some extra checks to src/awk/cachedepends.awk and
562 src/awk/gendepends.awk.
563
564 Move some of the more generic functions in src/awk/gendepends.awk
565 to src/awk/functions.awk.
566
567* rc-scripts 1.4.2 (17 Nov 2002)
568
569 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
570
571 Add initial version of new depscan.sh. This uses awk scripts
572 to do the main work, giving about 10 times speed improvement on
573 slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
574 src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
575 for this. This should close bug #10548.
576
577* rc-scripts 1.4.1.2 (5 Nov 2002)
578
579 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
580
581 Add UID/GID of 250 for Portage Fakeroot account.
4 582
5 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 583 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
6 584
7 Change /etc/init.d/clock to depend on localmount again, fixing 585 Change /etc/init.d/clock to depend on localmount again, fixing
8 bug #10048. 586 bug #10048.
317 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 895 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
318 896
319 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 897 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
320 and is needed for some fixes. 898 and is needed for some fixes.
321 899
322 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 900 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
323 901
324 Update /etc/rc.conf to be more clear and state that you should 902 Update /etc/rc.conf to be more clear and state that you should
325 remove consolefont from startup if you do not use it. Should 903 remove consolefont from startup if you do not use it. Should
326 resolve bug #2174. 904 resolve bug #2174.
327 905
328 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 906 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
329 907
330 Added user/group apache with uid/gid 81. 908 Added user/group apache with uid/gid 81.
331 909
332 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 910 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
333 911
334 Remove the "-net" from the line setting the default gateway 912 Remove the "-net" from the line setting the default gateway
335 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 913 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
336 noting this. 914 noting this.
337 915
338 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 916 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
339 917
340 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 918 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
341 which is installed with the nfs-utils package. Also tidied up some 919 which is installed with the nfs-utils package. Also tidied up some
342 really old, leftover junk like the non-supported stuff from rc5. 920 really old, leftover junk like the non-supported stuff from rc5.
343 Closes #1754. 921 Closes #1754.
344 922
345 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 923 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
346 924
347 Remove creation of /var/run/utmpx from bootmisc again. Seems 925 Remove creation of /var/run/utmpx from bootmisc again. Seems
348 other people have wierd problems. 926 other people have wierd problems.
349 927
350* rc-scripts 1.3.4 (21 April 2002) 928* rc-scripts 1.3.4 (21 Apr 2002)
351 929
352 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 930 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
353 931
354 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 932 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
355 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 933 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
356 934
357 Implement the status commandline argument. Updated /sbin/runscript.sh 935 Implement the status commandline argument. Updated /sbin/runscript.sh
358 and /sbin/rc-help.sh for this. 936 and /sbin/rc-help.sh for this.
359 937
360 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 938 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
361 and AFTER. 939 and AFTER.
362 940
363 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 941 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
364 942
365 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 943 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
366 is needed, else /usr/bin/newgrp segfault. 944 is needed, else /usr/bin/newgrp segfault.
367 945
368 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 946 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
369 947
370 Update /etc/skel/.bash_profile to make it tcsh compadible. 948 Update /etc/skel/.bash_profile to make it tcsh compadible.
371 Thanks to Väinö Järvelä for this fix. 949 Thanks to Väinö Järvelä for this fix.
372 950
373 Update /etc/profile to also set the PS? variables if $SHELL 951 Update /etc/profile to also set the PS? variables if $SHELL
375 bootstrap work again. 953 bootstrap work again.
376 954
377 Move LVM stuff to checkfs to ensure that they get fscked. 955 Move LVM stuff to checkfs to ensure that they get fscked.
378 This resolves bug #1552. 956 This resolves bug #1552.
379 957
380* rc-scripts 1.3.3 (5 April 2002) 958* rc-scripts 1.3.3 (5 Apr 2002)
381 959
382 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 960 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
383 961
384 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 962 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
385 This is done to try and ensure system integrity. 963 This is done to try and ensure system integrity.
386 964
387 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 965 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
388 966
389 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 967 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
390 968
391 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 969 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
392 970
393 Add a bash check to the code that sets the prompt, fixing bug #1078. 971 Add a bash check to the code that sets the prompt, fixing bug #1078.
394 972
395* rc-scripts 1.3.2 (24 Mar 2002) 973* rc-scripts 1.3.2 (24 Mar 2002)
396 974
397 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 975 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
398 976
399 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 977 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
400 for this. 978 for this.
401 979
402 With the "before" and "after" stuff, recursion levels was getting too high, 980 With the "before" and "after" stuff, recursion levels was getting too high,
416 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 994 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
417 and it seems it has fallen now to my discression. 995 and it seems it has fallen now to my discression.
418 996
419* rc-scripts 1.3.1 (23 Mar 2002) 997* rc-scripts 1.3.1 (23 Mar 2002)
420 998
421 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 999 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
422 DHCP lease release from Jim Nutt. 1000 DHCP lease release from Jim Nutt.
423 1001
424 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1002 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
425 since there are a lot of important bug fixes in here that are needed. 1003 since there are a lot of important bug fixes in here that are needed.
426 1004
427 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1005 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
428 1006
429 Resolve bug #1292. 1007 Resolve bug #1292.
430 1008
431 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1009 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
432 Spidler. 1010 Spidler.
433 1011
434 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1012 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
435 1013
436 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1014 Update /sbin/rc to fix a 'cat mounts' instead of the correct
437 version, 'cat /proc/mounts'. 1015 version, 'cat /proc/mounts'.
438 1016
439 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1017 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
440 1018
441 Add initial support for the --quiet flag that suppress output. 1019 Add initial support for the --quiet flag that suppress output.
442 1020
443 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1021 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
444 1022
445 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 1023 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
446 as not all errors by depscan.sh is critical. It should be 1024 as not all errors by depscan.sh is critical. It should be
447 reworked to do better error handeling. 1025 reworked to do better error handeling.
448 1026
449 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1027 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
450 1028
451 Fix the GID and UID of nobody and nogroup in /etc/passwd and 1029 Fix the GID and UID of nobody and nogroup in /etc/passwd and
452 /etc/group to match those of Debian, FBSD and others. Thanks 1030 /etc/group to match those of Debian, FBSD and others. Thanks
453 to those who reported it, and Woodchip for looking up the 1031 to those who reported it, and Woodchip for looking up the
454 proper values. 1032 proper values.
455 1033
456 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1034 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
457 This resolves bug #1150, thanks to Paul Fleischer. 1035 This resolves bug #1150, thanks to Paul Fleischer.
458 1036
459 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1037 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
460 1038
461 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 1039 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
462 as some users have /usr on seperate partition which is not 1040 as some users have /usr on seperate partition which is not
463 mounted when depscan.sh is run the first time. 1041 mounted when depscan.sh is run the first time.
464 1042
465 Updated the checking for more than one service providing the 1043 Updated the checking for more than one service providing the
466 same virtual function in /etc/init.d/depscan.sh. It should 1044 same virtual function in /etc/init.d/depscan.sh. It should
467 be working now, and this also fix a problem that when there is no 1045 be working now, and this also fix a problem that when there is no
468 service providing a virtual, counter was used uninitialized. 1046 service providing a virtual, counter was used uninitialized.
469 1047
470* rc-scripts 1.3.0 (10 March 2002) 1048* rc-scripts 1.3.0 (10 Mar 2002)
471 1049
472 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1050 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
473 1051
474 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1052 Resolved bug #1021; updated /etc/init.d/consolefont for this.
475 1053
476 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1054 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
477 1055
496 Also fixed try() for mounting /proc (maybe all mount commands). 1074 Also fixed try() for mounting /proc (maybe all mount commands).
497 The function worked fine in a simulated test, but in real life failed 1075 The function worked fine in a simulated test, but in real life failed
498 to detect a error when mounting /proc (remember to thank Grant for 1076 to detect a error when mounting /proc (remember to thank Grant for
499 his UserMode ebuilds, and Guide). 1077 his UserMode ebuilds, and Guide).
500 1078
501* rc-scripts 1.2.9 (6 March 2002) 1079* rc-scripts 1.2.9 (6 Mar 2002)
502 1080
503 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1081 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
504 1082
505 General form updates and some piping fixes. 1083 General form updates and some piping fixes.
506 1084
507 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1085 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
508 to fix a problem where startDM.sh would be respawned repeatedly 1086 to fix a problem where startDM.sh would be respawned repeatedly
509 if xdm was not in the default runlevel. 1087 if xdm was not in the default runlevel.
510 1088
511* rc-scripts 1.2.8 (4 March 2002) 1089* rc-scripts 1.2.8 (4 Mar 2002)
512 1090
513 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1091 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
514 1092
515 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1093 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
516 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1094 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
517 move them to the xfree ebuild later on when things settles down. 1095 move them to the xfree ebuild later on when things settles down.
518 1096
522 where we had a invalid $PATH on boot in some cases. 1100 where we had a invalid $PATH on boot in some cases.
523 1101
524 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1102 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
525 the new sys-apps/kbd package. 1103 the new sys-apps/kbd package.
526 1104
527* rc-scripts 1.2.7 (3 March 2002) 1105* rc-scripts 1.2.7 (3 Mar 2002)
528 1106
529 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1107 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
530 1108
531 Fixed the problem of rc-scripts trying to start/stop a service multiple 1109 Fixed the problem of rc-scripts trying to start/stop a service multiple
532 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1110 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
533 for this. 1111 for this.
534 1112
536 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 1114 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
537 this. 1115 this.
538 1116
539 Added caching of the "depend() { need foo; } " lines, and updated 1117 Added caching of the "depend() { need foo; } " lines, and updated
540 /etc/init.d/depscan.sh to touch the actual files less. This should 1118 /etc/init.d/depscan.sh to touch the actual files less. This should
541 speedup dependancy caching a lot, especially on slow machines. 1119 speedup dependency caching a lot, especially on slow machines.
542 1120
543 Updated /etc/passwd to have users with no shell defined, use /bin/false 1121 Updated /etc/passwd to have users with no shell defined, use /bin/false
544 for security. 1122 for security.
545 1123
546 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1124 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
547 1125
548 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1126 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
549 1127
550 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1128 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
551 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1129 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
552 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1130 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
553 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1131 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
554 1132
555 Removed stopping of dependant services that have current service as 1133 Removed stopping of dependent services that have current service as
556 a 'use'dependancy ... should be less confusing now. 1134 a 'use'dependency ... should be less confusing now.
557 Updated /etc/init.d/runscript.sh for this. 1135 Updated /etc/init.d/runscript.sh for this.
558 1136
559 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1137 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
560 1138
561 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1139 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
643 Added the 'before' depend type. This is more for changing the 1221 Added the 'before' depend type. This is more for changing the
644 order services start in. Updated /etc/init.d/depscan.sh and 1222 order services start in. Updated /etc/init.d/depscan.sh and
645 /etc/init.d/functions.sh for this. 1223 /etc/init.d/functions.sh for this.
646 1224
647 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1225 Updated /etc/init.d/depscan.sh to work with '*' as argument for
648 dependancy types. This can be used with 'use' and 'before' to 1226 dependency types. This can be used with 'use' and 'before' to
649 start a script last or first respectively. 1227 start a script last or first respectively.
650 1228
651 Added save_options() and get_options() to /etc/init.d/functions.sh 1229 Added save_options() and get_options() to /etc/init.d/functions.sh
652 for saving misc settings between startup/shutdown. Updated 1230 for saving misc settings between startup/shutdown. Updated
653 /etc/init.d/net.eth0 to use these and properly down virtual 1231 /etc/init.d/net.eth0 to use these and properly down virtual
722 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1300 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
723 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1301 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
724 1302
725 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1303 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
726 1304
727 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1305 Updated /etc/init.d/depscan.sh to store info about missing dependencies
728 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1306 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
729 to use this when starting a script ('need' dependancies is critical for 1307 to use this when starting a script ('need' dependencies is critical for
730 startup). Added the broken() function to /etc/init.d/runscript.sh 1308 startup). Added the broken() function to /etc/init.d/runscript.sh
731 to list the missing dependancies. 1309 to list the missing dependencies.
732 1310
733 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1311 Updated /etc/init.d/runscript.sh for svc_start() to have better error
734 checking. 1312 checking.
735 1313
736 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1314 Updated /etc/init.d/functions.sh with ewend(), which is the same as
969 1547
970* rc-scripts 1.1.7 (18 Oct 2001) 1548* rc-scripts 1.1.7 (18 Oct 2001)
971 1549
972[old changelog format follows] 1550[old changelog format follows]
973 1551
974 *lots of scripts; woodchip 1552 *lots of scripts; woodchip
975 removed old rc5 scripts from cvs 1553 removed old rc5 scripts from cvs
976 1554
977 *init.d/runscript.sh; agriffis 1555 *init.d/runscript.sh; agriffis
978 Added support for rc.conf and home-grown functions 1556 Added support for rc.conf and home-grown functions
979 1557
980 *init.d/modules; 1558 *init.d/modules;
981 Now correctly looks at /etc/modules.autoload 1559 Now correctly looks at /etc/modules.autoload
982 1560
983rc-scripts-1.1.6, released 15 Sep 2001 1561rc-scripts-1.1.6, released 15 Sep 2001
984====================================== 1562======================================
985 1563
986 *init.d/runscript.sh, others 1564 *init.d/runscript.sh, others
987 Handling of "net" dependencies resolve to all net devices in 1565 Handling of "net" dependencies resolve to all net devices in
988 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1566 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
989 variable in /etc/rc.conf has been removed. 1567 variable in /etc/rc.conf has been removed.
990 1568
991 *init.d/runscript.sh 1569 *init.d/runscript.sh
992 New "zap" option for manually resetting the state of an initscript 1570 New "zap" option for manually resetting the state of an initscript
993 to stopped. 1571 to stopped.
994 1572
995 *init.d/{samba,sysklogd,sshd} 1573 *init.d/{samba,sysklogd,sshd}
996 Removed from CVS; they live in their respective packages. 1574 Removed from CVS; they live in their respective packages.
997 1575
998rc-scripts-1.1.5, released 02 Sep 2001 1576rc-scripts-1.1.5, released 02 Sep 2001
999==================================== 1577====================================
1000 1578
1001 *sbin/rc-update 1579 *sbin/rc-update
1002 New version of the rc-update command for the new initscripts. Works 1580 New version of the rc-update command for the new initscripts. Works
1003 similarly to the old version, except this one updates our dependency 1581 similarly to the old version, except this one updates our dependency
1004 cache. 1582 cache.
1005 1583
1006 *init.d/functions.sh 1584 *init.d/functions.sh
1007 New and better looking informational message functions (einfo, einfon). 1585 New and better looking informational message functions (einfo, einfon).
1008 Brand new message functions (ewarn). 1586 Brand new message functions (ewarn).
1009 1587
1010 *sbin/init, init.d/checkroot 1588 *sbin/init, init.d/checkroot
1011 We're going back to a /proc/mounts-based mtab symlink because it's 1589 We're going back to a /proc/mounts-based mtab symlink because it's
1012 just plain better. Appropriate changes made. 1590 just plain better. Appropriate changes made.
1013 1591
1014# vim:expandtab 1592# vim:expandtab

Legend:
Removed from v.255  
changed lines
  Added in v.354

  ViewVC Help
Powered by ViewVC 1.1.20