/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Diff of /rc-scripts/ChangeLog

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

Revision 1.101 Revision 1.363
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-2004 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 09 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
6
7 Fix bug 55576: swap words "start" and "stop" in runscript.sh error
8 message
9
10* rc-scripts 1.5.1 (28 Jun 2004)
11
12 28 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
13
14 Fix dhcp in iface_start_ifconfig: It was re-using the variable
15 ${i} which would result in the following error:
16 /sbin/runscript.sh: line 441: ((: 16.141.88.153: syntax error
17 in expression (error token is ".141.88.153")
18
19 Use vlan_IFACE instead of iface_IFACE_vlans in net.eth0 for more
20 consistent vlan configuration. Thanks to robbat2 in bug 55394
21 (not fully resolved)
22
23 Add example for checking if root filesystem is NFS-mounted via
24 predown function in conf.d/net for bug 53104. This might be
25 better integrated at some point into net.eth0
26
27* rc-scripts 1.5.0 (26 Jun 2004)
28
29 26 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
30
31 Fix bug 47659: support iproute2-style configuration. Thanks to
32 Dean Bailey for some fantastic patches, including documentation
33 for conf.d/net. This is a pretty huge re-write of net.eth0
34
35 Fix bug 34607: provide examples for in conf.d/net for preup,
36 postup, predown, postdown functions. Also pay attention to return
37 value from predown function (previously ignored)
38
39 15 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
40
41 Fix bug 25975: support adsl in net.eth0. Thanks to Patrick McLean
42 for the initial pass at the code.
43
44 Fix bug 34140: add --servicelist option to rc-status. Thanks to
45 Eldad Zack for the patch.
46
47 Fix bug 37418: fix order of LVM and RAID in checkfs. Thanks to
48 Raimondo Giammanco for the patch.
49
50* rc-scripts 1.4.16 (06 Jun 2004)
51
52 06 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
53
54 Only call generate-modprobe.conf with --assume-kernel if
55 modules-update was called with --assume-kernel. This means that
56 only catalyst has the dependency on module-init-tools, not
57 everybody with the newer baselayout
58
59* rc-scripts 1.4.15 (21 May 2004)
60
61 21 May 2004; Aron Grifis <agriffis@gentoo.org>:
62
63 Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh
64
65 Fix bug 51626: wrong variable declaration at top of
66 get_bootparam() in /sbin/functions.sh
67
68* rc-scripts 1.4.14 (17 May 2004)
69
70 17 May 2004; Aron Griffis <agriffis@gentoo.org>:
71
72 Bump version to 1.4.14 to push out gmsoft's fix for hppa console
73 on ttyB0
74
75* rc-scripts 1.4.13 (15 May 2004)
76
77 15 May 2004; Aron Griffis <agriffis@gentoo.org>:
78
79 Bump version to 1.4.13 to push out Gustavo's livecd serial console
80 fixes for sparc and hppa.
81
82* rc-scripts 1.4.12 (07 May 2004)
83
84 10 May 2004; Aron Griffis <agriffis@gentoo.org>:
85
86 Bump version to 1.4.12 to release these critical bug fixes
87
88 Fix bug 50434: The new version of start-stop-daemon changes
89 directory to / by default unless --chdir is specified. Revert
90 this behavior to maintain working directory. This fixes openvpn
91 startup (probably among other things). Thanks to Sven Wegener for
92 the patch.
93
94 Fix bug 50448: Four days ago I changed bash loops to use the wrong
95 conditional syntax in net.eth0. Thanks to Sven Wegener for
96 pointing out the problem and providing a patch.
97
98* rc-scripts 1.4.11 (07 May 2004)
99
100 07 May 2004; Aron Griffis <agriffis@gentoo.org>:
101
102 Fix bug 20597: Skip RCS files when updating modules
103
104 Fix bug 49926: Add a --assume-kernel flag to modules-update. This
105 requires a companion patch in module-init-tools-3.0-r2 to handle
106 the same flag in generate-modprobe.conf; this dependency won't be
107 handled in the baselayout ebuild since it only affects livecd
108 building.
109
110 06 May 2004; Aron Griffis <agriffis@gentoo.org>:
111
112 In net.eth0, fix many instances of loops like "for ((i = 0; i <
113 100; i = i + 1))". The problem here is that the middle comparison
114 is being interpreted as a bash conditional, which means that it's
115 doing string comparison by default. It needs to be "i -lt 100"
116
117 Fix bug 34827: net.eth0 breaks when localized because the ifconfig
118 output changes. Wrap ifconfig in a function that overrides
119 LC_ALL=C
120
121 Fix bug 48305: Provide a new network configuration variable
122 ifconfig_fallback_eth0 which allows one to specify a fallback
123 configuration in case DHCP fails.
124
125 Fix bug 50246: Give root an invalid password ("*" in /etc/shadow)
126 in the default baselayout. This prevents the first reboot after
127 installation from having a blank password.
128
129 05 May 2004; Aron Griffis <agriffis@gentoo.org>:
130
131 Fix bug 48595: Make sure $(id -u) is zero (root user) when running
132 init scripts to avoid a lot of error messages.
133
134 Replace many lines of awk with two lines of grep in
135 init.d/localmount
136
137 Fix bug 44316: Use 0644 instead of 0640 for resolv.conf in net.ppp0
138
139 03 May 2004; Aron Griffis <agriffis@gentoo.org>:
140
141 Update to version 1.10.20 of Debian's start-stop-daemon (contained
142 in dpkg at http://packages.debian.org/testing/base/dpkg). This
143 fixes bug 22686 (start-stop-daemon in baselayout doesn't allow
144 altered nicelevel).
145
146* rc-scripts 1.4.10 (25 Apr 2004)
147
148 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
149
150 Fix typos in sbin/rc: "try try mount" and "mount ... & >/dev/null"
151 Also removed the errstr double-checking since the need for that is
152 alleviated by these typo fixes.
153
154 23 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
155
156 Fix bug 48629 (/sbin/rc fixups for udev) with patch from GregKH
157
158 Fix bug 40987 (gentoo should be able to boot with an empty /dev)
159 with patch from Spanky. The patch avoids redirection to /dev/null
160 when it doesn't exist; this was breaking /sbin/rc.
161
162* rc-scripts 1.4.9 (15 Apr 2004)
163
164 15 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
165
166 Fix bug 47111 (severe depcache problems) with tons of help from
167 dswhite42 and the rest of the crew in that bug. Thanks guys!
168
169* rc-scripts 1.4.8 (14 Apr 2004)
170
171 14 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
172
173 Fix bug 47623 (error removing inet6 addresses) with patch provided
174 by Vlad Yasevich.
175
176* rc-scripts 1.4.7 (12 Apr 2004)
177
178 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
179
180 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
181 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
182 /var/lib/init.d/* directories) with patch from Terje Bergström.
183
184* rc-scripts 1.4.6 (08 Apr 2004)
185
186 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
187
188 Update patch from Gustavoz; -ln /bin/bash should have been -nl /bin/bash
189
190* rc-scripts 1.4.5 (08 Apr 2004)
191
192 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
193
194 Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
195 Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
196 serial consoles, necessary due to scrambled root passwords.
197
198* rc-scripts 1.4.4 (07 Apr 2004)
199
200 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
201
202 Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
203 output. Also support 4800 baud correctly.
204
205 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
206
207 The changes in this commit pertain primarily to
208 http://bugs.gentoo.org/show_bug.cgi?id=19695
209 http://bugs.gentoo.org/show_bug.cgi?id=35736
210
211 Specify routes as an array per interface, for example:
212 routes_eth0=(
213 "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
214 "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
215 "-host 10.3.0.1 dev eth0"
216 )
217
218 You can optionally use the gateway variable or just put the default route
219 in the routes variable. The following two are REDUNDANT:
220
221 routes_eth0=( "default gw 10.0.0.5" )
222 gateway="eth0/10.0.0.5"
223
224 Old configuration variables in /etc/conf.d/net are fully supported and
225 used transparently if ifconfig_eth0 is missing. In other words, this new
226 script is fully backward-compatible. However you can get rid of
227 iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
228 using the new syntax:
229
230 ifconfig_eth0=(
231 "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
232 "192.168.1.1 netmask 255.255.255.0"
233 "123.456.789.1"
234 )
235
236 Full backward compatibility so no danger to screwing up users relying on
237 existing /etc/conf.d/net setup
238
239 NET_DEBUG can be set in the environment for copious debugging output
240
241 Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
242 better functionality (and is even slightly faster)
243
244 Properly localize all variables, including variables returned by
245 setup_vars
246
247 Allow full options for every ifconfig command, both base address and
248 aliases via ifconfig_eth0, replacing the convoluted and less-functional
249 iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
250
251 Provide full support for static routes via routes_eth0
252
253 Fix potential quoting problems in setup_vars by using better eval syntax
254 instead of eval echo
255
256 Display IP addresses while configuring, both DHCP-retrieved and
257 statically set addresses
258
259 Collapse redundant caching of $? since eend returns $? again
260
261 Report when keeping kernel configuration for an interface along with IP
262 address gleaned
263
264 Don't reset the default gateway if it is already set correctly
265
266 Don't bind default gateway to particular interface when /sbin/route is
267 called so that it can survive if there is more than one interface on the
268 required subnet. (Old behavior can be obtained by setting
269 routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
270
271 Don't bomb if default gateway can't be set since that doesn't
272 necessarily mean that the interface configuration is invalid.
273 (Old behavior was completely broken, but commented section
274 demonstrates how to do it right if necessary)
275
276 iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
277 This is very good because it means you can put new configuration in
278 /etc/conf.d/net, then restart the interface and the old configuration will
279 be properly shut down.
280
281 iface_stop reports when it is releasing the DHCP lease
282
283* rc-scripts 1.4.3.13p1 (26 Feb 2004)
284
285 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
286
287 Remove /etc/DIR_COLORS, as coreutils provides it now.
288
289 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
290 Also modified /sbin/rc and /etc/init.d/halt.sh for this.
291
292 Start udevd if present.
293
294 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
295 virtual service - it had no mtime generated, so check_mtime() failed
296 for it ...
297
298 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
299
300 Update to enable checking of mtimes on rc-scripts, and auto running
301 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
302 is not set instead of just erroring.
303
304 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
305
306 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
307
308 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
309
310 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
311
312 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
313 are used in scripts such as consolefonts, numlock, etc. This should
314 close bug #39863.
315
316 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
317 Cory Tusar <ctusar@adelphia.net>.
318
319 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
320
321 Add SELinux modifications to /sbin/runscript. This allows runscript to
322 make sure it is running in the right domain. Patch done by
323 Chris PeBenito <pebenito@gentoo.org>.
324
325* rc-scripts 1.4.3.13 (08 Feb 2004)
326
327 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
328
329 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
330 _but_ /mnt/cdrom and /mnt/livecd.
331
332 Update /etc/init.d/consolefont to use newer kbd. Should also close
333 bug #39864.
334
335 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
336 than install, as newer versions of install is located in /usr/bin. This
337 closes bug #39648.
338
339 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
340
341 Tweak livecd support changes and add some more to hopefully sort out
342 last issues, with help from Brad House <brad_mssw@gentoo.org>.
343
344 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
345 bug #37349.
346
347* rc-scripts 1.4.3.12p3 (21 Jan 2004)
348
349 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
350
351 Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
352 for livecd support. Add bits to /sbin/rc to support it.
353
354 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
355
356 Fix type-o in /etc/init.d/checkfs, bug #37113.
357
358 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
359
360 Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
361 src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
362 then gawk -v. Also add some tests to see if we got the environment
363 variables.
364
365 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
366
367 Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
368
369* rc-scripts 1.4.3.12p2 (27 Dec 2003)
370
371 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
372
373 Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
374 hack to not make udev sleep - its not needed as these entries
375 are already present, and not a hotplug event.
376
377 Update /etc/init.d/{consolefont,numlock} to work with udev managed
378 /dev that have devfs layout.
379
380 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
381
382 Fix type-o in /sbin/rc, bug #34837.
383
384* rc-scripts 1.4.3.12p1 (26 Nov 2003)
385
386 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
387
388 Fix /etc/init.d/halt.sh to reset pam_console permissions, else
389 the next bootup might be done with some non-root nodes which cause
390 some odd issues.
391
392 Add code to generate /dev from sysfs entries - not much it currently
393 support but block/tty devices, but it is a start for when we have
394 full sysfs support in all drivers.
395
396 Revert carrier detection check, as there is currently too many
397 issues with it, bug #33272.
398
399 Make sure we mount already mounted mount (done in /sbin/rc) with
400 correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
401 for this.
402
403 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
404
405 Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
406 some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
407 Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
408
409 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
410
411 Add a warning to cachedepends.awk if a rc-script's name ends in
412 '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
413
414 Fix /etc/init.d/halt.sh to not try and remount virtual devices,
415 also do a few cleanups. Closes bug #33271.
416
417* rc-scripts 1.4.3.12 (11 Nov 2003)
418
419 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
420
421 Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
422 patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
423
424 Add extra checks for critical directories to /sbin/rc.
425
426 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
427
428 Update /bin/rc-status giving a working '-u' parameter, bug #32417.
429 Fix by Michael Frysinger <vapier@gentoo.org>.
430
431 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
432
433 Add support for --tty switch added to setfont and remove consolechars
434 support; modified /etc/init.d/consolefont for this. Also remove
435 consoletools support from /etc/init.d/keymaps.
436
437 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
438
439 We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
440 not exist. Updated /sbin/rc for this.
441
442 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
443 '-u' in the call to loadkeys when using unicode).
444
445 We should not use '-' in variable names for bash, bug #31184, thanks
446 to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
447
448 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
449
450 Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
451
452 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
453
454 The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
455 it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
456 unmounted anyhow. Change it to remount the last filesystems readonly
457 without trying to unmount any. This fixes a few cases where reboot
458 would halt due to unmounted /proc, etc.
459
460 This change set fixes two things:
461 1) In exporting all functions/variables in functions.sh, rc-services.sh
462 and rc-daemon.sh, we created an overly large environment, and also
463 broke stuff like glftpd. Do not do this, and hope whatever caused
464 the issues previously is fixed in the meantime. This should close
465 bugs #25754 and #31794.
466 2) gendepend.awk used to generate deptree with functions called
467 depinfo_<scriptname> which set appropriate variables when called.
468 This broke if the scriptname contained characters that is not valid
469 for bash variable names. Changed things to use an array fixing this.
470 This closes bug #24092.
471
472 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
473 /sbin/hotplug will call udev as well.
474
475 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
476 get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
477 array (in my case 'net').
478
479 We did not handle the 'net' dependency properly in valid_iuse() and
480 valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
481 bugs #30327 and #31950.
482
483 Change an occurance of /etc/modutils in modules-update.8 to
484 /etc/modules.d/ closing bug #31171.
485
486 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
487
488 More bootsplash fixes, bug #21019 (comment #21).
489
490 Remove the killall5 stuff from /etc/init.d/halt.sh, as it messes with
491 bootsplash. Add support to kill processes still using non-critical
492 mounts with fuser though.
493
494 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
495
496 Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
497 and #16 from bug #21019).
498
499 Bootsplash coded did not play nice with boot profiles, so I fixed that
500 as well. Some other style tweaks.
501
502 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
503 Also changed the permissions on tty's, ibcs and scanner devices
504 to 0660.
505
506* rc-scripts 1.4.3.11p2 (14 Sep 2003)
507
508 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
509
510 Revert previous changes, and substitute it for the bootsplash patches
511 from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
512 can be reached at:
513
514 http://www.aichler.net/gentoo/bootsplash/
515
516 I should note that the bootsplash stuff is not 100% tested.
517
518
519* rc-scripts 1.4.3.11p1 (14 Sep 2003)
520
521 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
522
523 Initial bootsplash patch as from LiveCD's.
524
525 Add more tty's to /etc/init.d/numlock, bug #28252.
526
527* rc-scripts 1.4.3.11 (14 Sep 2003)
528
529 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
530
531 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
532 Resolves bug #27527.
533
534 Add squid to /etc/services, bug #30995. Other cleanups from rac.
535
536 Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
537 running while pwd is root (/).
538
539 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
540
541 Add entry for floppy in /etc/fstab, bug #30574.
542
543 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
544 bug #28861.
545
546 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
547 It now will work with runlevels named with any characters (other than
548 ones found in default bash IFS). It also adds a few sanity/error
549 checks, bug #26432.
550
551 Change /etc/inputrc to have PageUp/PageDown search through bash
552 history again, bug #26036.
553
554 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
555
556 Change update-modules to modules-update in manpage, bug #28101.
557
558* rc-scripts 1.4.3.10p1 (08 Sep 2003)
559
560 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
561
562 Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
563
564 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
565
566 Add missing 'local x' to filter_environ() (bug #26429), thanks to
567 Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
568
569 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
570
571 Modify /etc/init.d/modules not to print the autoloading stuff if
572 no modules should be loaded (resolving bug #26288), per request from
573 Michael Frysinger <vapier@gentoo.org>.
574
575 Fix get_bootparam() in /sbin/functions.sh to check for existance of
576 the /proc/cmdline proc entry.
577
578 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
579
580 Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
581 request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
582 whole way of devfs handling changed long ago already.
583
584 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
585 Also change it to 'mount -d' to detach the loop device. Patch by
586 Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
587
588 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
589 is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
590
591* rc-scripts 1.4.3.10 (04 Aug 2003)
592
593 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
594
595 Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
596 bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
597 Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
598 stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
599
600 Fixed modules-update to only do the /etc/modprobe.conf generation if we
601 are actually running a 2.5+ kernel.
602
603 Add pop3 entries to /etc/services, bug #25501.
604
605 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
606 RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
607 Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
608
609 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
610
611 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
612
613 Fix type-o in /sbin/rc-update, bug #25854.
614
615 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
616
617 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
618 and not the whole block. Tweak check checkroot to reboot if need be
619 (This is with sufficient warning and message). Tweak checkfs to not
620 drop to a sulogin if return code 2 or 3 is given - as we did not
621 mount the filesystems yet, we should not need to reboot ... bug #25398.
622
623 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
624 Michael Frysinger <vapier@gentoo.org>.
625
626 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
627
628 Rework changes for the Adelie project to support boot config profiles
629 better. Added support for /etc/runlevels/LEVEL/.fake to specify which
630 runlevels should be marked started or stopped without executing the
631 script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for
632 more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh
633 for this.
634
635 Add better support for services that provide the "logger" virtual. We
636 should really start the logger earlier, and stop it as late as possible.
637 Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk
638 for this.
639
640 Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh,
641 thanks to Jean-Francois Richard <jean-francois@richard.name>.
642
643 Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918.
644
645 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
646
647 From Jean-Francois Richard <jean-francois@richard.name> and
648 Olivier Crete <tester@gentoo.org> from the Adelie project:
649
650 The last four patches are the "adaptation" of our previous patches to
651 the new "no-tmpfs" init system in Gentoo. Since we were using quite
652 different scripts for the boot runlevel (no "checkroot" for example) and
653 that the new system hardcodes some of the boot services, we had to find
654 a simple yet elegant solution.
655
656 We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to
657 know what are the boot runlevel services. If this file is not present,
658 it uses the Gentoo hardcoded defaults.
659
660 This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and
661 /etc/init.d/halt.sh.
662
663 I just changed the behaviour of 'softlevel' kernel command line argument
664 to not only add a suffix and some other cleanups.
665
666 Add support for irqbalance.
667
668 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
669
670 Fix the /dev/root entry in /etc/mtab, bug #24916.
671
672 Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>,
673 bug #24064.
674
675* rc-scripts 1.4.3.9 (17 Jul 2003)
676
677 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
678
679 Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to
680 Andy Dustman <andy-gentoo.54e552@dustman.net>.
681
682 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423.
683
684 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks
685 to Wes Kurdziolek <wkurdzio@vtluug.org>.
686
687 Rather use 'uname -r' to get kernel version, as else we need sysctl.
688 This closes bug #23923, modified /etc/init.d/modules.
689
690 Fix a type-o in /etc/fstab, bug #23308.
691
692 Add support for the new 'O' agetty option to display the DNS domainname
693 in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275.
694 Updated /etc/issue and /etc/issue.logo for this.
695
696 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
697
698 Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks
699 to Antonio Dolcetta <zagarna@yahoo.com>.
700
701 Fix /etc/init.d/net.eth0 to not set rp_filter if already set via
702 /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>.
703
704 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work
705 with symlinks in /etc/init.d/, closing bug #24228.
706
707 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to
708 John Mylchreest <johnm@gentoo.org>.
709
710 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109,
711 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>.
712
713 Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to
714 "true" in /etc/make.conf, closing bug #24107.
715
716 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow
717 more keymaps to be specified in /etc/rc.conf, bug #24084.
718
719 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
720
721 Add /bin/csh to /etc/shells.
722
723 Add new protocols to /etc/services, thanks Rajiv Aaron Manglani
724 <rajiv@gentoo.org>.
725
726 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
727
728 Cleanups for bug #21438 from bug #22637, thanks to
729 Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>.
730
731 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
732
733 Really commit fix for bug #21438 to CVS.
734
735 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
736
737 Call /proc mount with explicit options to fix issues where user
738 have 'bind' mounts for /proc in fstab as well, bug #21068.
739
740 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
741 reported by Gunnlaugur Thor Briem <gthb@hi.is>.
742
743 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
744 it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
745
746* rc-scripts 1.4.3.8p1 (21 May 2003)
747
748 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
749
750 Last fix I did not use the modified 'myservice', but used $1 again,
751 causing the network dependencies to bork. I did not notice this
752 as I have net.eth0 in default runlevel.
753
754* rc-scripts 1.4.3.8 (20 May 2003)
755
756 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
757
758 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
759 rc-service.sh to handle this, thanks to YAMAKURA Makoto
760 <makoto@dsb.club.ne.jp>.
761
762 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
763 about the host it is running on.
764
765 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
766
767 Do not let devfsd handle /dev/log's permission management, as it breaks
768 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
769 <pebenito@gentoo.org>.
770
771 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
772
773 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
774
775 We should not export the RC_GOT_* variables, as it breaks on some systems,
776 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
777
778 From C. Brewer <killian@gentoo.org>:
779 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
780 suppose to be default, but why take chances?
781 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
782 kppp complaint.
783
784 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
785
786 For the network functions, the dependency code tried to create a funcion
787 with a '.' in the name, causing the network rc-scripts to not have any
788 dependencies. This should fix bug #20849 's order issue, thanks to
789 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
790
791 Fix query_{before,after} to also check 'net' if 'service2' is a network
792 service.
793
794 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
795
796 More cleanups:
797 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
798 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
799 this.
800 - Add functions for more common tasks in /sbin/runscript.sh to
801 /sbin/rc-services.sh.
802 - Move 'consoletype' to /sbin.
803 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
804 /etc/init.d/bootmisc for this.
805 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
806 - Improve detection of circular depends ... modified gendepend.awk for this.
807
808* rc-scripts 1.4.3.7 (11 May 2003)
809
810 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
811
812 Too many things to remember, so here is changes of note:
813 - More changes to gendepend.awk. This basically modifies it to not use
814 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
815 create a file that can be sourced. Seems to speedup things nicely.
816 - Add /sbin/rc-services.sh. This is basically a module to get dependency
817 info from the new $svcdir/deptree, and some other new service functions.
818 - Modify the whole works to *only* source all needed files once. This
819 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
820 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
821 is sourced more than once (actually each time a service is started or
822 stopped, but is is cut down much). Also seems to speed things up again.
823 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
824 dependency to not be actually used in shutdown, causing the services
825 needing it to be stoped before net.* services.
826 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
827 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
828 startup of services, and seems to work nicely. Only issues to date is
829 that printing of messages is not synced, and a race very intermittantly
830 that causes a service to be started when it was already scheduled.
831 - Add a new dependency type 'parallel' that can be used to control if a
832 service can be started in paralled or not. Possible arguments is "yes"
833 or "no"; if it is not present, it is considered as "yes":
834
835 depend() {
836 parallel yes|no
837 }
838
839 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
840 - Fix the 'single' runlevel to actually work properly, and without a
841 /etc/runlevels/single directory.
842 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
843 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
844
845 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
846
847 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
848 and adding more sanity checks.
849
850 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
851
852 Revert /etc/init.d/hostname the way it was, as it should be the user's
853 choice if he want to have a FQDN in there or not, bug #14946.
854
855 Add /etc/init.d/domainname for those that want to use it.
856
857 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
858
859 Change the root check back the way it was, else it breaks with non bash
860 shells; modified /etc/profile.
861
862 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
863
864 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
865
866 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
867
868 Add various patches from Rachel Holmes <rach@gmx.net>:
869
870 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
871 purpose. Modified:
872
873 /etc/init.d/net.ppp0
874 /etc/init.d/nscd
875 /sbin/functions.sh
876 /sbin/rc
877 /sbin/rc-daemon.sh
878 /sbin/rc-envupdate.sh.bash
879 /sbin/runscript.sh
880
881 Exchanged some gratuitous use of awk for grep. Awk is a little resource
882 hungry just for a simple test. (I [azarah] did not apply the changes to
883 tests for 'devfs', as having 'usbdevfs' in the equation will break
884 things). Modified /sbin/rc for this.
885
886 Gentoo enforces having /proc, so uname -r is a little redundant when the
887 information is available without an external command. Modified:
888
889 /etc/init.d/modules
890 /etc/init.d/serial
891 /sbin/functions.sh
892 /sbin/modules-update
893
894 Changed 'id -u' commands to use $EUID in bash executed scripts, same
895 result no extra command. Modified:
896
897 /sbin/rc-envupdate.sh
898 /sbin/rc-envupdate.sh.bash
899 /sbin/rc-update
900
901 Removed all the cat sections, and the separate echo sections. The output
902 is _exactly_ the same, minus some spare spaces that have been removed.
903 Fourfold speed increase in the (granted flimsy) tests I have done.
904 Modified /sbin/rc-help.sh for this.
905
906 Final remaining 'cat' commands removed, in favour of using bash's internal
907 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
908 i18n anyway. Modified:
909
910 /sbin/rc
911 /sbin/rc-envupdate.sh
912 /sbin/rc-envupdate.sh.bash
913
914
915
916* rc-scripts 1.4.3.6 (27 Apr 2003)
917
918 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
919
920 Add a 'save' function /etc/init.d/clock, bug #19685.
921
922 Add a slocate group to /etc/group, bug #19604.
923
924 Do not stop a network service if we do not reboot on runlevel change,
925 as it could have been started by the user or hotplug. This should
926 address bug #12763; modified /sbin/rc for this.
927
928 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
929 domainname.
930
931 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
932 This should close bug #16884.
933
934 Fix /etc/profile to be /bin/sh compadible, bug #18918.
935
936 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
937 be more 'generic' ? Only try to disable swap if any devices/files was
938 activated. This should close bug #19089.
939
940 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
941 rw in /etc/fstab, bug #19158.
942
943 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
944
945 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
946 but the ppp link was already down, bug #15333.
947
948 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
949
950 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
951 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
952
953 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
954 updated /sbin/rc for this.
955
956 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
957
958 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
959
960 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
961
962 Make checking in unmount more strict, fixing bug #19007.
963
964 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
965
966 Add one more check to genenviron.awk, to spot cases where there is a
967 space between the variable and the '='.
968
969 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
970
971 Fix interactive shell not to have coloured prompt when used as a
972 dumb client, bug #18886. Fix was inspired by patch from
973 Matthew Kennedy <mkennedy@gentoo.org>.
974
975* rc-scripts 1.4.3.5 (06 Apr 2003)
976
977 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
978
979 Hopefully get the serial support sane again. Added /bin/consoletype
980 from Redhat to check for serial console. This should resolve bug
981 #18329 partly.
982
983 Add the --nocolor option to suppress the use of colors.
984
985 Change the 'status' option to return true if the service is running,
986 and false if stopped. This is only if the '--quiet' flag was also
987 given.
988
989 Change the start and stop options not to output or return false if
990 the '--quiet' flag was given.
991
992 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
993 as well, fixing bug #18344.
994
995 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
996 Aron Griffis <agriffis@gentoo.org>.
997
998 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
999 or rebooting.
1000
1001 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1002
1003 Fix bug #18329 ... $COLS was not setup properly for serial console.
1004
1005 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1006
1007 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
1008 Fix a problem where it might not have mounted the USB fs when usbcore
1009 was compiled as module, and the kernel did not mount it by the time
1010 the script was started. Get it to rather check what filesystems is
1011 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
1012 later 2.4 kernels now also support the newer 'usbfs'.
1013
1014 Optimize RAID stuff in /etc/init.d/checkfs a bit.
1015
1016 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1017
1018 Update sbin/rc-envupdate.sh.bash for bug #17549.
1019
1020* rc-scripts 1.4.3.4 (16 Mar 2003)
1021
1022 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1023
1024 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
1025 modifications (purple and display hostname, etc). Closes bug #16806.
1026
1027 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
1028 work properly. Closes bug #17348.
1029
1030 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
1031 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
1032
1033 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1034
1035 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
1036 <lostlogic@gentoo.org>!
1037
1038 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1039
1040 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
1041 and /etc/init.d/halt.sh for this.
1042
1043 Update /etc/fstab to correctly mount /proc with:
1044
1045 mount -t proc none /proc
1046
1047 Do the same for /dev/shm:
1048
1049 mount -t tmpfs none /dev/shm
1050
1051 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
1052 noise if we exited a recovery console.
1053
1054 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
1055 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
1056
1057 Bring down default gateway before adding new one .. this fixes issues
1058 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
1059 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
1060 fix.
1061
1062 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
1063 it fails for module-init-tools if the module is already loaded. This
1064 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
1065
1066* rc-scripts 1.4.3.3 (09 Mar 2003)
1067
1068 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1069
1070 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
1071
1072 Fix net.eth0 not to try and start an interface if already up.
1073
1074 Update MAKEDEV from Debian to support more archs. This adds support
1075 for 'arm', 'hppa' among others. URL:
1076
1077 http://packages.debian.org/stable/base/makedev.html
1078
1079 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
1080 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
1081 are using a 2.5 kernel ... bug #17109.
1082
1083 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
1084
1085 Update /etc/init.d/hostname to only set the hostname to whatever is before
1086 the first '.', and then set the domainname to the rest, closing bug #14946.
1087
1088 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1089
1090 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
1091
1092 Fix spelling of dependency and some other spelling/grammer issues.
1093 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
1094 Mike Frysinger <vapier@gentoo.org>, bug #15498.
1095
1096 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
1097
1098 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
1099
1100 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
1101 bug #14556.
1102
1103 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1104
1105 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
1106
1107 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1108
1109 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
1110 to 'test -c /dev/ttyp0 &> /dev/null'.
1111
1112 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1113
1114 Update /sbin/modules-update to generate /etc/modprobe.devfs from
1115 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
1116 module-init-tools-0.9.9 should get rid of many of the warnings/errors
1117 with devfs, and makes it work a bit better.
1118
1119 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1120
1121 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
1122
1123 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1124
1125 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
1126 support. This resolves bug #14994.
1127
1128 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
1129 according to /etc/rc.conf.
1130
1131 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
1132 and used 'basename' which is located in /usr/bin.
1133
1134 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1135
1136 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
1137 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
1138 this.
1139
1140 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1141
1142 Update src/awk/genenviron.awk to properly set the environment for each
1143 rc-script's depend() function by sourcing required config files.
1144
1145 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1146
1147 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
1148 to Max Kalika <alkern23@yahoo.com>, bug #15050.
1149
1150 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
1151
1152 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
1153
1154 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1155
1156 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
1157 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
1158
1159 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
1160
1161 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
1162 Add fix from the wonderful analysis of Toby Dickenson
1163 <tdickenson@geminidataloggers.com> in #12947.
1164
1165 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1166
1167 Fix start-stop-daemon to check the call to nice() correctly for failure,
1168 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
1169
1170 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
1171 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
1172 Malcolm Scott <m@lcolm.org.uk>.
1173
1174 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
1175
1176 Updated /etc/rc.conf to add elogin/entrance support #13790.
1177
1178 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1179
1180 Update /etc/init.d/keymaps to enable unicode if required. This closes
1181 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
1182
1183 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1184
1185 Fix deadlock durning shutdown if tmpfs filesystems larger than free
1186 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
1187 for this.
1188
1189 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
1190 This closes bug #13868.
1191
1192 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
1193 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
1194
1195 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
1196
1197 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1198
1199 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
1200 not have stale entries left from hard reboot, thanks to pac1085 on
1201 irc.
1202
1203* rc-scripts 1.4.3.2 (15 Jan 2003)
1204
1205 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1206
1207 Truely fix bootup on seperate /var.
1208
1209 Add some fixes and optimizations to /sbin/rc-update, thanks to
1210 Daniel Robbins <drobbins@gentoo.org>.
1211
1212* rc-scripts 1.4.3.1 (15 Jan 2003)
1213
1214 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1215
1216 Fix bootup on seperate /var.
1217
1218 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1219
1220 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
1221
1222 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1223
1224 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
1225 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
1226
1227 Turn on -C option to fsck on for all calls to fsck. Updated scripts
1228 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
1229
1230* rc-scripts 1.4.3.0 (07 Jan 2003)
1231
1232 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1233
1234 Too much to mention, but here are a few:
1235 - Major rewrite of software RAID startup, based on Mandrake's, as
1236 ours was pretty broken :(
1237 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
1238 Much of /sbin/functions.sh and other scripts have been changed
1239 to support this.
1240 - Reworked /etc/inittab to support this. Also moved critical
1241 mounting of local filesystems to 'sysinit' function of /sbin/rc.
1242 - Move state directory to /var/state/init.d/ ($svcdir).
1243 - Move Adelie node init to /sbin/functions.sh to try and simplify
1244 /sbin/rc a bit.
1245 - Updated Copyright dates to 2003.
1246
1247* rc-scripts 1.4.2.8 (06 Jan 2003)
1248
1249 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
1250
1251 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
1252 lines, as it seems users do not note the need to have them all on
1253 one line ....
1254
1255 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
1256 script not ending on a digit. This closes bug #12887.
1257
1258 Fix get_KV to also check micro version of kernel; add KV_to_int()
1259 helper function for get_KV. Update /etc/init.d/localmount to work
1260 with new get_KV ...
1261
1262 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1263
1264 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
1265 in the new sys-apps/module-init-tools. Note that you need version
1266 0.9.7 or later of sys-apps/module-init-tools. Updated
1267 /sbin/modules-update for this.
1268
1269 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
1270 we are running kernel 2.5 or later ...
1271
1272 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1273
1274 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
1275 rc-script to setup encrypted loopback devices. This was kindly
1276 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
1277
1278 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1279
1280 Fix src/awk/genenviron.awk stripping *all* '=', closing
1281 bug #8901.
1282
1283 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
1284 spaces ...
1285
1286* rc-scripts 1.4.2.7 (24 Dec 2002)
1287
1288 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1289
1290 Add a fix to /sbin/functions.sh for bug #12601.
1291
1292 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1293
1294 Add INFOPATH to /etc/env.d/00basic.
1295
1296 Fix src/awk/genenviron.awk to get the order of the env.d files
1297 correct. Also fix it to handle *all* the SPECIALS correctly.
1298 This closes bug #12411.
1299
1300* rc-scripts 1.4.2.6 (18 Dec 2002)
1301
1302 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1303
1304 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
1305 thanks to Nicholas Wourms <nwourms@netscape.net>.
1306
1307 Quote some tests in /sbin/rc-update to fix/avoid the problem
1308 in bug #
1309
1310 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
1311
1312 Update shell for postgres user, closing bug #12258.
1313
1314 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1315
1316 Fix src/awk/genenviron.awk not to add duplicate entries, closing
1317 bug #8999.
1318
1319* rc-scripts 1.4.2.5 (09 Dec 2002)
1320
1321 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1322
1323 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
1324
1325 Add smmsp uid and gid. Closes bug #8952.
1326
1327 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1328
1329 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
1330 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
1331
1332 Add headers similar to that of portage-2.0.45 and up to the
1333 generated profile files (/etc/{profile,csh}.env). Updated
1334 src/awk/genenviron.awk for this.
1335
1336 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
1337
1338 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
1339 sharp eye of Techie2000 <Linux@mochamail.com>.
1340
1341 Rename /sbin/update-modules to /sbin/modules-update, closing
1342 bug #11445.
1343
1344 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
1345 /etc/env.d/00basic, bug #10916.
1346
1347 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1348
1349 Add more improvements to clustering code. This is from
1350 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
1351
1352 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1353
1354 Change default 'net' dependency behaviour to be more suited
1355 for notebook users. Basically if at least one net.* service
1356 beside net.lo start successfully, the 'net' dependency is
1357 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
1358 in /etc/conf.d/rc to change this back to the old default.
1359 This is the start to address bug #2706.
1360
1361* rc-scripts 1.4.2.4 (26 Nov 2002)
1362
1363 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1364
1365 Initial merge of bits for Adelie Linux for SSI clusters. More
1366 info at:
1367
1368 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
1369
1370 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1371
1372 One liner fix to src/awk/cachedepends.awk to once again fix
1373 bug #7803.
1374
1375 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1376
1377 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
1378 This should close bug #10891.
1379
1380* rc-scripts 1.4.2.3 (18 Nov 2002)
1381
1382 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1383
1384 Add some more checks to src/awk/*. Fix error printing for
1385 /sbin/depscan.sh.
1386
1387 Link awk module with gcc and not with ld. This should fix
1388 problems on sparc and alpha. Many thanks for this fix to
1389 Stephan Jones <cretin@gentoo.org>.
1390
1391 Remove the copyright info from config files, thanks to
1392 Matthew Kennedy <mkennedy@gentoo.org>.
1393
1394* rc-scripts 1.4.2.2 (18 Nov 2002)
1395
1396 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1397
1398 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
1399 to awk. This is also much faster than its bash version.
1400
1401 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
1402 things even slower on older boxes. Bug #10548.
1403
1404 After a bored Vapier decided that he needed to update the
1405 licenses of things in /etc :P, I did the rest. Hopefully
1406 not too many people will nuke thier fstab :/
1407
1408* rc-scripts 1.4.2.1 (18 Nov 2002)
1409
1410 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1411
1412 Update src/awk/cachedepends.awk to find its own rc-scripts,
1413 fixing the need for find which broke systems with /usr on
1414 a different partition.
1415
1416 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1417
1418 Add some extra checks to src/awk/cachedepends.awk and
1419 src/awk/gendepends.awk.
1420
1421 Move some of the more generic functions in src/awk/gendepends.awk
1422 to src/awk/functions.awk.
1423
1424* rc-scripts 1.4.2 (17 Nov 2002)
1425
1426 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1427
1428 Add initial version of new depscan.sh. This uses awk scripts
1429 to do the main work, giving about 10 times speed improvement on
1430 slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
1431 src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
1432 for this. This should close bug #10548.
1433
1434* rc-scripts 1.4.1.2 (5 Nov 2002)
1435
1436 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1437
1438 Add UID/GID of 250 for Portage Fakeroot account.
1439
1440 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
1441
1442 Change /etc/init.d/clock to depend on localmount again, fixing
1443 bug #10048.
1444
1445 Get deps on logger sane again. I wanted to get the logger started
1446 as early as possible, but clock for one breaks if /usr is mounted
1447 on seperate partition.
1448
1449 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
1450
1451 Fix return in /etc/init.d/modules to return 0 if /proc/modules
1452 do not exists. Closes bug #7738, comment #5.
1453
1454* rc-scripts 1.4.1.1 (28 Oct 2002)
1455
1456 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
1457
1458 Fix /sbin/update-modules not to include backup files. Closes
1459 bug #9707.
1460
1461 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
1462
1463 Fix update-modules borking if there are directories present
1464 in /etc/modules.d/. Closes bug #9632.
1465
1466 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
1467
1468 Change deps on /etc/init.d/{clock,hostname,modules} not to
1469 depend on localmount, but rather on checkroot, as all of them
1470 just need / to be mounted. This should fix race conditions
1471 because of checkfs dependency on modules. This should close
1472 bug #9266.
1473
1474* rc-scripts 1.4.1 (13 Oct 2002)
1475
1476 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
1477
1478 Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
1479 is additional measures for bug #8281.
1480
1481 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
1482
1483 Update /etc/init.d/net.eth0 to fix bug #8626.
1484
1485 Fix /sbin/rc-update to check return code of "ln". This should
1486 close bug #8867.
1487
1488 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1489
1490 Fix indentation in /etc/inputrc. This should close
1491 bug #8368.
1492
1493 Add extended status functionality. Should close bug #2462.
1494
1495 Add support for /sbin/rc-update to check if the rc-script
1496 is executable or not. Thanks to widersacher@gmx.net, closing
1497 bug #8326.
1498
1499 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1500
1501 Fix /etc/init.d/bootmisc not to kill pidfiles of running
1502 daemons. Improve NGPT support in /sbin/rc a bit.
1503
1504 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1505
1506 Fix my last screwup with /etc/init.d/net.ppp0. Basically
1507 forgot to change a few DEVICE's to IFACE ...
1508
1509 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1510
1511 NGPT support.
1512
1513 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1514
1515 Did a small fix to /etc/init.d/net.eth0, thanks to
1516 naanyaar2000@yahoo.com, bug #7407.
1517
1518 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1519
1520 Add the permission stuff for generic scsi when compiled as
1521 module, thanks to Bauno <bauno@inwind.it>.
1522
1523 Add support for /etc/devfs.d/ for additional devfs config
1524 stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
1525
1526 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1527
1528 Fix small type-o from last changes to /etc/init.d/netmount.
1529 Should resolve bug #7803.
1530
1531* rc-scripts 1.4.0 (7 Sep 2002)
1532
1533 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
1534
1535 Update /etc/init.d/net.eth0 to handle individual broadcast
1536 and netmask for aliases. Should close bug #7407.
1537
1538 Give /var/run/utmp and /var/log/wtmp the proper permissions
1539 and ownership. First steps in fixing bug #7630.
1540
1541 Change Raid stuff again in /etc/init.d/checkfs.
1542
1543 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
1544
1545 Give root a 'root' GECOS in /etc/passwd, was NULL before.
1546
1547* rc-scripts 1.3.9 (25 Aug 2002)
1548
1549 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
1550
1551 Update /sbin/rc to fix some spelling/slang mistakes. Closes
1552 bug #6887.
1553
1554 Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
1555 This closes bug #6378.
1556
1557 Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
1558 with many thanks to Asbjorn Sannes <ace@sannes.org>.
1559
1560 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
1561
1562 Update /etc/init.d/bootmisc to reset pam_console permissions.
1563
1564 Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
1565 line for getting devfs to work with pam_console.
1566
1567 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
1568
1569 Update /etc/init.d/keymaps to first load the windowkeys.inc then
1570 the user selected one, fixing bug #6295.
1571
1572 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
1573
1574 Change the 'cat' in check_rcscript() to a single 'awk' in
1575 /sbin/depscan.sh. This should fix broken pipe issues if the
1576 loop exists too early. Resolves bug #5961.
1577
1578 Fix software RAID startup/shutdown, bug #5310. Modified
1579 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
1580
1581* rc-scripts 1.3.8 (08 Aug 2002)
1582
1583 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
1584
1585 Move the color ls stuff to .bashrc. Fix bug #5250.
1586
1587 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
1588
1589 Correct the comments in rc.conf about the XSESSION variable: it should
1590 be set to "kde-<version>" not "KDE". Closes bug #5948.
1591
1592 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
1593
1594 Fix the 'Usage' line in the help to return the correct options for
1595 the script (/sbin/runscript.sh). Resolve bug #6029.
1596
1597 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
1598
1599 Added UPS shutdown support for nut to halt.sh.
1600 Added nut user/group as uid/gid 84.
1601
1602 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
1603
1604 Updated /sbin/rc's way of checking for devfs support (now rather uses
1605 awk, as it is more accurate). Closes bug #5458.
1606
1607 Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
1608 and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
1609 Thanks goes to Chris PeBenito (bug #5570).
1610
1611 Changed most daemons to use /bin/false as shell. Should close bug #5388.
1612
1613 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
1614
1615 Added vpopmail user and group as 89:89
4 1616
5 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: 1617 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
6 1618
7 Add the cyrus user to /etc/passwd. Resolves bug #4100. 1619 Add the cyrus user to /etc/passwd. Resolves bug #4100.
8 1620
27 1639
28 Update /etc/init.d/netmount to try and detect nfs mounts that should be 1640 Update /etc/init.d/netmount to try and detect nfs mounts that should be
29 mounted automatically on boot. This requires awk in /bin, so baselayout 1641 mounted automatically on boot. This requires awk in /bin, so baselayout
30 should depend on >=sys-apps/gawk-3.1.0-r3. 1642 should depend on >=sys-apps/gawk-3.1.0-r3.
31 1643
32* rc-scripts 1.3.6 (17 Jul 2002) 1644* rc-scripts 1.3.7 (17 Jul 2002)
33 1645
34 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: 1646 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
35 1647
36 Add logging functionality to the rc-scripts, thanks to Alexander Holler, 1648 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
37 bug #4037 for the basic idea. Updated /sbin/functions.sh for this. 1649 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
140 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 1752 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
141 1753
142 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 1754 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
143 and is needed for some fixes. 1755 and is needed for some fixes.
144 1756
145 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1757 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
146 1758
147 Update /etc/rc.conf to be more clear and state that you should 1759 Update /etc/rc.conf to be more clear and state that you should
148 remove consolefont from startup if you do not use it. Should 1760 remove consolefont from startup if you do not use it. Should
149 resolve bug #2174. 1761 resolve bug #2174.
150 1762
151 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 1763 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
152 1764
153 Added user/group apache with uid/gid 81. 1765 Added user/group apache with uid/gid 81.
154 1766
155 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1767 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
156 1768
157 Remove the "-net" from the line setting the default gateway 1769 Remove the "-net" from the line setting the default gateway
158 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 1770 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
159 noting this. 1771 noting this.
160 1772
161 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 1773 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
162 1774
163 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 1775 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
164 which is installed with the nfs-utils package. Also tidied up some 1776 which is installed with the nfs-utils package. Also tidied up some
165 really old, leftover junk like the non-supported stuff from rc5. 1777 really old, leftover junk like the non-supported stuff from rc5.
166 Closes #1754. 1778 Closes #1754.
167 1779
168 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1780 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
169 1781
170 Remove creation of /var/run/utmpx from bootmisc again. Seems 1782 Remove creation of /var/run/utmpx from bootmisc again. Seems
171 other people have wierd problems. 1783 other people have wierd problems.
172 1784
173* rc-scripts 1.3.4 (21 April 2002) 1785* rc-scripts 1.3.4 (21 Apr 2002)
174 1786
175 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1787 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
176 1788
177 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 1789 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
178 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 1790 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
179 1791
180 Implement the status commandline argument. Updated /sbin/runscript.sh 1792 Implement the status commandline argument. Updated /sbin/runscript.sh
181 and /sbin/rc-help.sh for this. 1793 and /sbin/rc-help.sh for this.
182 1794
183 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 1795 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
184 and AFTER. 1796 and AFTER.
185 1797
186 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1798 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
187 1799
188 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 1800 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
189 is needed, else /usr/bin/newgrp segfault. 1801 is needed, else /usr/bin/newgrp segfault.
190 1802
191 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1803 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
192 1804
193 Update /etc/skel/.bash_profile to make it tcsh compadible. 1805 Update /etc/skel/.bash_profile to make it tcsh compadible.
194 Thanks to Väinö Järvelä for this fix. 1806 Thanks to Väinö Järvelä for this fix.
195 1807
196 Update /etc/profile to also set the PS? variables if $SHELL 1808 Update /etc/profile to also set the PS? variables if $SHELL
198 bootstrap work again. 1810 bootstrap work again.
199 1811
200 Move LVM stuff to checkfs to ensure that they get fscked. 1812 Move LVM stuff to checkfs to ensure that they get fscked.
201 This resolves bug #1552. 1813 This resolves bug #1552.
202 1814
203* rc-scripts 1.3.3 (5 April 2002) 1815* rc-scripts 1.3.3 (5 Apr 2002)
204 1816
205 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1817 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
206 1818
207 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 1819 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
208 This is done to try and ensure system integrity. 1820 This is done to try and ensure system integrity.
209 1821
210 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1822 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
211 1823
212 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 1824 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
213 1825
214 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 1826 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
215 1827
216 Add a bash check to the code that sets the prompt, fixing bug #1078. 1828 Add a bash check to the code that sets the prompt, fixing bug #1078.
217 1829
218* rc-scripts 1.3.2 (24 Mar 2002) 1830* rc-scripts 1.3.2 (24 Mar 2002)
219 1831
220 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1832 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
221 1833
222 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 1834 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
223 for this. 1835 for this.
224 1836
225 With the "before" and "after" stuff, recursion levels was getting too high, 1837 With the "before" and "after" stuff, recursion levels was getting too high,
239 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 1851 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
240 and it seems it has fallen now to my discression. 1852 and it seems it has fallen now to my discression.
241 1853
242* rc-scripts 1.3.1 (23 Mar 2002) 1854* rc-scripts 1.3.1 (23 Mar 2002)
243 1855
244 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 1856 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
245 DHCP lease release from Jim Nutt. 1857 DHCP lease release from Jim Nutt.
246 1858
247 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1859 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
248 since there are a lot of important bug fixes in here that are needed. 1860 since there are a lot of important bug fixes in here that are needed.
249 1861
250 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1862 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
251 1863
252 Resolve bug #1292. 1864 Resolve bug #1292.
253 1865
254 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1866 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
255 Spidler. 1867 Spidler.
256 1868
257 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1869 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
258 1870
259 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1871 Update /sbin/rc to fix a 'cat mounts' instead of the correct
260 version, 'cat /proc/mounts'. 1872 version, 'cat /proc/mounts'.
261 1873
262 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1874 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
263 1875
264 Add initial support for the --quiet flag that suppress output. 1876 Add initial support for the --quiet flag that suppress output.
265 1877
266 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1878 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
267 1879
268 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 1880 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
269 as not all errors by depscan.sh is critical. It should be 1881 as not all errors by depscan.sh is critical. It should be
270 reworked to do better error handeling. 1882 reworked to do better error handeling.
271 1883
272 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1884 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
273 1885
274 Fix the GID and UID of nobody and nogroup in /etc/passwd and 1886 Fix the GID and UID of nobody and nogroup in /etc/passwd and
275 /etc/group to match those of Debian, FBSD and others. Thanks 1887 /etc/group to match those of Debian, FBSD and others. Thanks
276 to those who reported it, and Woodchip for looking up the 1888 to those who reported it, and Woodchip for looking up the
277 proper values. 1889 proper values.
278 1890
279 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1891 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
280 This resolves bug #1150, thanks to Paul Fleischer. 1892 This resolves bug #1150, thanks to Paul Fleischer.
281 1893
282 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1894 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
283 1895
284 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 1896 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
285 as some users have /usr on seperate partition which is not 1897 as some users have /usr on seperate partition which is not
286 mounted when depscan.sh is run the first time. 1898 mounted when depscan.sh is run the first time.
287 1899
288 Updated the checking for more than one service providing the 1900 Updated the checking for more than one service providing the
289 same virtual function in /etc/init.d/depscan.sh. It should 1901 same virtual function in /etc/init.d/depscan.sh. It should
290 be working now, and this also fix a problem that when there is no 1902 be working now, and this also fix a problem that when there is no
291 service providing a virtual, counter was used uninitialized. 1903 service providing a virtual, counter was used uninitialized.
292 1904
293* rc-scripts 1.3.0 (10 March 2002) 1905* rc-scripts 1.3.0 (10 Mar 2002)
294 1906
295 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1907 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
296 1908
297 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1909 Resolved bug #1021; updated /etc/init.d/consolefont for this.
298 1910
299 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1911 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
300 1912
319 Also fixed try() for mounting /proc (maybe all mount commands). 1931 Also fixed try() for mounting /proc (maybe all mount commands).
320 The function worked fine in a simulated test, but in real life failed 1932 The function worked fine in a simulated test, but in real life failed
321 to detect a error when mounting /proc (remember to thank Grant for 1933 to detect a error when mounting /proc (remember to thank Grant for
322 his UserMode ebuilds, and Guide). 1934 his UserMode ebuilds, and Guide).
323 1935
324* rc-scripts 1.2.9 (6 March 2002) 1936* rc-scripts 1.2.9 (6 Mar 2002)
325 1937
326 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1938 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
327 1939
328 General form updates and some piping fixes. 1940 General form updates and some piping fixes.
329 1941
330 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1942 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
331 to fix a problem where startDM.sh would be respawned repeatedly 1943 to fix a problem where startDM.sh would be respawned repeatedly
332 if xdm was not in the default runlevel. 1944 if xdm was not in the default runlevel.
333 1945
334* rc-scripts 1.2.8 (4 March 2002) 1946* rc-scripts 1.2.8 (4 Mar 2002)
335 1947
336 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1948 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
337 1949
338 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1950 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
339 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1951 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
340 move them to the xfree ebuild later on when things settles down. 1952 move them to the xfree ebuild later on when things settles down.
341 1953
345 where we had a invalid $PATH on boot in some cases. 1957 where we had a invalid $PATH on boot in some cases.
346 1958
347 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1959 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
348 the new sys-apps/kbd package. 1960 the new sys-apps/kbd package.
349 1961
350* rc-scripts 1.2.7 (3 March 2002) 1962* rc-scripts 1.2.7 (3 Mar 2002)
351 1963
352 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1964 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
353 1965
354 Fixed the problem of rc-scripts trying to start/stop a service multiple 1966 Fixed the problem of rc-scripts trying to start/stop a service multiple
355 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1967 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
356 for this. 1968 for this.
357 1969
359 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 1971 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
360 this. 1972 this.
361 1973
362 Added caching of the "depend() { need foo; } " lines, and updated 1974 Added caching of the "depend() { need foo; } " lines, and updated
363 /etc/init.d/depscan.sh to touch the actual files less. This should 1975 /etc/init.d/depscan.sh to touch the actual files less. This should
364 speedup dependancy caching a lot, especially on slow machines. 1976 speedup dependency caching a lot, especially on slow machines.
365 1977
366 Updated /etc/passwd to have users with no shell defined, use /bin/false 1978 Updated /etc/passwd to have users with no shell defined, use /bin/false
367 for security. 1979 for security.
368 1980
369 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1981 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
370 1982
371 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1983 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
372 1984
373 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1985 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
374 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1986 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
375 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1987 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
376 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1988 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
377 1989
378 Removed stopping of dependant services that have current service as 1990 Removed stopping of dependent services that have current service as
379 a 'use'dependancy ... should be less confusing now. 1991 a 'use'dependency ... should be less confusing now.
380 Updated /etc/init.d/runscript.sh for this. 1992 Updated /etc/init.d/runscript.sh for this.
381 1993
382 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1994 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
383 1995
384 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1996 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
466 Added the 'before' depend type. This is more for changing the 2078 Added the 'before' depend type. This is more for changing the
467 order services start in. Updated /etc/init.d/depscan.sh and 2079 order services start in. Updated /etc/init.d/depscan.sh and
468 /etc/init.d/functions.sh for this. 2080 /etc/init.d/functions.sh for this.
469 2081
470 Updated /etc/init.d/depscan.sh to work with '*' as argument for 2082 Updated /etc/init.d/depscan.sh to work with '*' as argument for
471 dependancy types. This can be used with 'use' and 'before' to 2083 dependency types. This can be used with 'use' and 'before' to
472 start a script last or first respectively. 2084 start a script last or first respectively.
473 2085
474 Added save_options() and get_options() to /etc/init.d/functions.sh 2086 Added save_options() and get_options() to /etc/init.d/functions.sh
475 for saving misc settings between startup/shutdown. Updated 2087 for saving misc settings between startup/shutdown. Updated
476 /etc/init.d/net.eth0 to use these and properly down virtual 2088 /etc/init.d/net.eth0 to use these and properly down virtual
545 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 2157 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
546 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 2158 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
547 2159
548 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 2160 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
549 2161
550 Updated /etc/init.d/depscan.sh to store info about missing dependancies 2162 Updated /etc/init.d/depscan.sh to store info about missing dependencies
551 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 2163 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
552 to use this when starting a script ('need' dependancies is critical for 2164 to use this when starting a script ('need' dependencies is critical for
553 startup). Added the broken() function to /etc/init.d/runscript.sh 2165 startup). Added the broken() function to /etc/init.d/runscript.sh
554 to list the missing dependancies. 2166 to list the missing dependencies.
555 2167
556 Updated /etc/init.d/runscript.sh for svc_start() to have better error 2168 Updated /etc/init.d/runscript.sh for svc_start() to have better error
557 checking. 2169 checking.
558 2170
559 Updated /etc/init.d/functions.sh with ewend(), which is the same as 2171 Updated /etc/init.d/functions.sh with ewend(), which is the same as
792 2404
793* rc-scripts 1.1.7 (18 Oct 2001) 2405* rc-scripts 1.1.7 (18 Oct 2001)
794 2406
795[old changelog format follows] 2407[old changelog format follows]
796 2408
797 *lots of scripts; woodchip 2409 *lots of scripts; woodchip
798 removed old rc5 scripts from cvs 2410 removed old rc5 scripts from cvs
799 2411
800 *init.d/runscript.sh; agriffis 2412 *init.d/runscript.sh; agriffis
801 Added support for rc.conf and home-grown functions 2413 Added support for rc.conf and home-grown functions
802 2414
803 *init.d/modules; 2415 *init.d/modules;
804 Now correctly looks at /etc/modules.autoload 2416 Now correctly looks at /etc/modules.autoload
805 2417
806rc-scripts-1.1.6, released 15 Sep 2001 2418rc-scripts-1.1.6, released 15 Sep 2001
807====================================== 2419======================================
808 2420
809 *init.d/runscript.sh, others 2421 *init.d/runscript.sh, others
810 Handling of "net" dependencies resolve to all net devices in 2422 Handling of "net" dependencies resolve to all net devices in
811 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 2423 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
812 variable in /etc/rc.conf has been removed. 2424 variable in /etc/rc.conf has been removed.
813 2425
814 *init.d/runscript.sh 2426 *init.d/runscript.sh
815 New "zap" option for manually resetting the state of an initscript 2427 New "zap" option for manually resetting the state of an initscript
816 to stopped. 2428 to stopped.
817 2429
818 *init.d/{samba,sysklogd,sshd} 2430 *init.d/{samba,sysklogd,sshd}
819 Removed from CVS; they live in their respective packages. 2431 Removed from CVS; they live in their respective packages.
820 2432
821rc-scripts-1.1.5, released 02 Sep 2001 2433rc-scripts-1.1.5, released 02 Sep 2001
822==================================== 2434====================================
823 2435
824 *sbin/rc-update 2436 *sbin/rc-update
825 New version of the rc-update command for the new initscripts. Works 2437 New version of the rc-update command for the new initscripts. Works
826 similarly to the old version, except this one updates our dependency 2438 similarly to the old version, except this one updates our dependency
827 cache. 2439 cache.
828 2440
829 *init.d/functions.sh 2441 *init.d/functions.sh
830 New and better looking informational message functions (einfo, einfon). 2442 New and better looking informational message functions (einfo, einfon).
831 Brand new message functions (ewarn). 2443 Brand new message functions (ewarn).
832 2444
833 *sbin/init, init.d/checkroot 2445 *sbin/init, init.d/checkroot
834 We're going back to a /proc/mounts-based mtab symlink because it's 2446 We're going back to a /proc/mounts-based mtab symlink because it's
835 just plain better. Appropriate changes made. 2447 just plain better. Appropriate changes made.
836 2448
837# vim:expandtab 2449# vim:expandtab

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.363

  ViewVC Help
Powered by ViewVC 1.1.20