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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.363 - (show annotations) (download)
Sat Jul 10 03:37:29 2004 UTC (10 years, 1 month ago) by agriffis
Branch: MAIN
Changes since 1.362: +5 -0 lines
swap words "start" and "stop" in runscript.sh error message

1 # ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2 # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL
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
1616
1617 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
1618
1619 Add the cyrus user to /etc/passwd. Resolves bug #4100.
1620
1621 Some bugfixes and speed improvements to /sbin/depscan.sh after
1622 last changes.
1623
1624 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
1625 get some speed improvements.
1626
1627 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
1628
1629 Fix LVM support in /etc/init.d/checkfs again, thanks to help from
1630 Kyle Manna <nitro@gentoo.org>.
1631
1632 Add software RAID support to /etc/init.d/checkfs, thanks to
1633 Daniel Ahlberg <aliz@gentoo.org>.
1634
1635 Update the cache_depend() funtion in /sbin/depscan.sh not to
1636 quit on any "}", but only on the one matching the first "{". This
1637 requires wc in /bin, so baselayout should depend on
1638 >=sys-apps/textutils-2.0.19-r2
1639
1640 Update /etc/init.d/netmount to try and detect nfs mounts that should be
1641 mounted automatically on boot. This requires awk in /bin, so baselayout
1642 should depend on >=sys-apps/gawk-3.1.0-r3.
1643
1644 * rc-scripts 1.3.7 (17 Jul 2002)
1645
1646 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
1647
1648 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
1649 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
1650
1651 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
1652
1653 Add additional entries to /etc/services to support cyrus-imapd, thanks
1654 to Nick Hadaway <raker@gentoo.org>.
1655
1656 Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
1657 problem with non 7bit ascii symbols.
1658
1659 Updated /etc/init.d/checkfs to detect if lvm is already active.
1660 This should resolve bug #3613.
1661
1662 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
1663
1664 Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
1665 "games" user and group to 35
1666
1667 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
1668
1669 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
1670 (aka cybersystem). Updated /sbin/rc for this.
1671
1672 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
1673
1674 Update /etc/skel/.bashrc to update the window title of X terminals
1675 that supports it. Closes bug #4232.
1676
1677 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
1678
1679 Add sshd user and group. Updated /etc/passwd and /etc/group for this.
1680
1681 Update /etc/inputrc to resolve bug #2599.
1682
1683 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
1684
1685 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
1686 /etc/env.d/00basic for this.
1687
1688 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
1689 Nothing official, but I spent enouth time on it not to want to loose it :)
1690
1691 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
1692 to give output to stderr. This was caused by a call to "stty", which when
1693 run without a attatched terminal, have this effect. Basically just pipe
1694 stderr to /dev/null.
1695
1696 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
1697
1698 Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
1699 bug #3363
1700
1701 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1702
1703 Update /etc/init.d/netmount not to try and mount NFS filesystems
1704 if portmap was not started. This is to stop "hang" problems for
1705 new users who do not add portmap to the default runlevel. See
1706 bug #2555.
1707
1708 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
1709
1710 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1711
1712 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
1713
1714 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1715
1716 Change the homes of user "at" and "cron" in /etc/passwd, as
1717 they moved to /var/spool/cron...
1718
1719 * rc-scripts 1.3.5 (12 May 2002)
1720
1721 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1722
1723 Make slight modifications to /sbin/depscan.sh to improve speed (about
1724 1 second on a celeron 633).
1725
1726 Finally fix /sbin/runscript.sh to properly handle interdependencies
1727 between types need/use and before/after on runlevel change. I can
1728 actually kick myself for previous implementations, as this fix simplifies
1729 things a lot, and is almost 30 lines of code less!
1730
1731 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
1732 It rather just exit with a warning, as I think most people have like
1733 me mounts that are to boxes that are not always up.
1734
1735 Resolve bug #2439 (should not use try with the dd command for ramdisk
1736 stuff). Also increase the number of inodes used for the ramdisk to
1737 fix "out of space" errors. Updated /sbin/rc for this.
1738
1739 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1740
1741 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
1742 backup files to generate /etc/profile.env.
1743
1744 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
1745 for this.
1746
1747 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1748
1749 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
1750 /etc/env.d/ file. Same for $QTDIR.
1751
1752 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
1753
1754 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
1755 and is needed for some fixes.
1756
1757 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1758
1759 Update /etc/rc.conf to be more clear and state that you should
1760 remove consolefont from startup if you do not use it. Should
1761 resolve bug #2174.
1762
1763 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
1764
1765 Added user/group apache with uid/gid 81.
1766
1767 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1768
1769 Remove the "-net" from the line setting the default gateway
1770 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
1771 noting this.
1772
1773 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
1774
1775 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
1776 which is installed with the nfs-utils package. Also tidied up some
1777 really old, leftover junk like the non-supported stuff from rc5.
1778 Closes #1754.
1779
1780 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1781
1782 Remove creation of /var/run/utmpx from bootmisc again. Seems
1783 other people have wierd problems.
1784
1785 * rc-scripts 1.3.4 (21 Apr 2002)
1786
1787 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1788
1789 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
1790 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
1791
1792 Implement the status commandline argument. Updated /sbin/runscript.sh
1793 and /sbin/rc-help.sh for this.
1794
1795 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
1796 and AFTER.
1797
1798 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1799
1800 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
1801 is needed, else /usr/bin/newgrp segfault.
1802
1803 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1804
1805 Update /etc/skel/.bash_profile to make it tcsh compadible.
1806 Thanks to Väinö Järvelä for this fix.
1807
1808 Update /etc/profile to also set the PS? variables if $SHELL
1809 is set to /bin/sh. This should make prompt colours in
1810 bootstrap work again.
1811
1812 Move LVM stuff to checkfs to ensure that they get fscked.
1813 This resolves bug #1552.
1814
1815 * rc-scripts 1.3.3 (5 Apr 2002)
1816
1817 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1818
1819 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
1820 This is done to try and ensure system integrity.
1821
1822 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
1823
1824 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
1825
1826 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
1827
1828 Add a bash check to the code that sets the prompt, fixing bug #1078.
1829
1830 * rc-scripts 1.3.2 (24 Mar 2002)
1831
1832 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1833
1834 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
1835 for this.
1836
1837 With the "before" and "after" stuff, recursion levels was getting too high,
1838 and with some cases, things just plain did not work as it should. Reworked
1839 things to to lower the levels of recursion and get the order right. Updated
1840 /etc/init.d/runscript.sh for this.
1841
1842 Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
1843 ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
1844
1845 Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
1846
1847 Remove /etc/pwdb.conf, as pwdb already install a copy of this.
1848
1849 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
1850
1851 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
1852 and it seems it has fallen now to my discression.
1853
1854 * rc-scripts 1.3.1 (23 Mar 2002)
1855
1856 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
1857 DHCP lease release from Jim Nutt.
1858
1859 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
1860 since there are a lot of important bug fixes in here that are needed.
1861
1862 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1863
1864 Resolve bug #1292.
1865
1866 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
1867 Spidler.
1868
1869 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1870
1871 Update /sbin/rc to fix a 'cat mounts' instead of the correct
1872 version, 'cat /proc/mounts'.
1873
1874 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1875
1876 Add initial support for the --quiet flag that suppress output.
1877
1878 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1879
1880 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
1881 as not all errors by depscan.sh is critical. It should be
1882 reworked to do better error handeling.
1883
1884 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1885
1886 Fix the GID and UID of nobody and nogroup in /etc/passwd and
1887 /etc/group to match those of Debian, FBSD and others. Thanks
1888 to those who reported it, and Woodchip for looking up the
1889 proper values.
1890
1891 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
1892 This resolves bug #1150, thanks to Paul Fleischer.
1893
1894 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1895
1896 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
1897 as some users have /usr on seperate partition which is not
1898 mounted when depscan.sh is run the first time.
1899
1900 Updated the checking for more than one service providing the
1901 same virtual function in /etc/init.d/depscan.sh. It should
1902 be working now, and this also fix a problem that when there is no
1903 service providing a virtual, counter was used uninitialized.
1904
1905 * rc-scripts 1.3.0 (10 Mar 2002)
1906
1907 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1908
1909 Resolved bug #1021; updated /etc/init.d/consolefont for this.
1910
1911 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
1912
1913 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
1914 and /etc/init.d/localmount for this.
1915
1916 Lots of form/syntax cleanups, most things should be more
1917 consistant now. Fixed fail detection/return values of lots of
1918 scripts.
1919
1920 Lots of cleanup/fixes in the three main scripts behind our
1921 rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
1922
1923 Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
1924 is sourced in a ebuild.
1925
1926 Fix a bug that our rc-script wrapper introduced: Global variables
1927 in scripts no longer worked. Updated /etc/init.d/runscript.sh for
1928 this.
1929
1930 Implemented more error checking for the main startup code in /sbin/rc.
1931 Also fixed try() for mounting /proc (maybe all mount commands).
1932 The function worked fine in a simulated test, but in real life failed
1933 to detect a error when mounting /proc (remember to thank Grant for
1934 his UserMode ebuilds, and Guide).
1935
1936 * rc-scripts 1.2.9 (6 Mar 2002)
1937
1938 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1939
1940 General form updates and some piping fixes.
1941
1942 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
1943 to fix a problem where startDM.sh would be respawned repeatedly
1944 if xdm was not in the default runlevel.
1945
1946 * rc-scripts 1.2.8 (4 Mar 2002)
1947
1948 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1949
1950 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
1951 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
1952 move them to the xfree ebuild later on when things settles down.
1953
1954 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
1955
1956 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
1957 where we had a invalid $PATH on boot in some cases.
1958
1959 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
1960 the new sys-apps/kbd package.
1961
1962 * rc-scripts 1.2.7 (3 Mar 2002)
1963
1964 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1965
1966 Fixed the problem of rc-scripts trying to start/stop a service multiple
1967 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
1968 for this.
1969
1970 Fixing some variable declarations in /etc/init.d/runscript.sh caused
1971 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
1972 this.
1973
1974 Added caching of the "depend() { need foo; } " lines, and updated
1975 /etc/init.d/depscan.sh to touch the actual files less. This should
1976 speedup dependency caching a lot, especially on slow machines.
1977
1978 Updated /etc/passwd to have users with no shell defined, use /bin/false
1979 for security.
1980
1981 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
1982
1983 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
1984
1985 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
1986 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
1987 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
1988 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
1989
1990 Removed stopping of dependent services that have current service as
1991 a 'use'dependency ... should be less confusing now.
1992 Updated /etc/init.d/runscript.sh for this.
1993
1994 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
1995
1996 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
1997 programs to startup. This should pretty much have /etc/init.d/ static,
1998 except for baselayout updates, etc.
1999
2000 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2001
2002 In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
2003 problems. Fixed this in /sbin/rc.
2004
2005 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
2006 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
2007 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
2008
2009 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2010
2011 Fix my brain dead update of the 25th. It really should keep
2012 "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
2013 retrieving kernel options. Updated /etc/init.d/functions.sh,
2014 /etc/init.d/checkroot and /sbin/rc for this.
2015
2016 Updated /etc/init.d/consolefont to work without devfs as well.
2017
2018 When rebooting or shutting down, a service should not fail to stop
2019 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
2020 for this.
2021
2022 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
2023
2024 Added a check if /dev is mounted when creating entries for /etc/mtab.
2025 This should solve a invalid entry or /dev being mounted even with
2026 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
2027
2028 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
2029 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
2030 just in a comment now)
2031
2032 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2033
2034 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
2035 this. This should fix services not getting started in the correct order
2036 in a tight loop, services getting stopped out of order, and some other
2037 sanity checks. Updated rc-script.sh for updated help.
2038
2039 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2040
2041 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
2042 and added the 'after' type. 'before' and 'after' will only work currently
2043 for a change of runlevel. Updated /etc/init.d/depscan.sh,
2044 /etc/init.d/runscript.sh and /sbin/rc for this.
2045
2046 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2047
2048 Add some more entries to /etc/devfsd.conf to make alsa users life
2049 easier ... thanks Tod.
2050
2051 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2052
2053 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
2054
2055 Fixed some services not starting again when restarting a service.
2056 Seems simple is still the best way.
2057
2058 Fixed some other problems created with feature additions and cleanups.
2059
2060 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2061
2062 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
2063
2064 Added 'before *' to /etc/init.d/checkroot to make sure it gets
2065 started first.
2066
2067 Added 'use *' to /etc/init.d/local to make sure it gets started
2068 last.
2069
2070 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2071
2072 Fixed /sbin/rc to stop a service on change of runlevel if it is
2073 in 'use' by another service.
2074
2075 Added the 'provide' depend type for creating virtual services.
2076 Updated /etc/init.d/depscan.sh for this.
2077
2078 Added the 'before' depend type. This is more for changing the
2079 order services start in. Updated /etc/init.d/depscan.sh and
2080 /etc/init.d/functions.sh for this.
2081
2082 Updated /etc/init.d/depscan.sh to work with '*' as argument for
2083 dependency types. This can be used with 'use' and 'before' to
2084 start a script last or first respectively.
2085
2086 Added save_options() and get_options() to /etc/init.d/functions.sh
2087 for saving misc settings between startup/shutdown. Updated
2088 /etc/init.d/net.eth0 to use these and properly down virtual
2089 interfaces.
2090
2091 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2092
2093 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
2094 on no errors.
2095
2096 * rc-scripts 1.2.6 (6 Feb 2002)
2097
2098 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2099
2100 Updated /etc/net.eth0 to specify the gateway device via the $gateway
2101 variable (something like gateway="eth0/192.168.0.1").
2102
2103 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
2104
2105 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
2106
2107 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
2108
2109 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
2110 implements a retry if not successful the first time, and will kill
2111 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
2112
2113 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
2114 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
2115 Fixed /etc/passwd,group for user/group mysql.
2116
2117 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
2118 map file support to /etc/init.d/consolefont and the setting to
2119 /etc/rc.conf.
2120
2121 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
2122 in skel files to support both versions of dircolors.
2123
2124 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
2125 in the restart stuff of /etc/init.d/runscript.sh that caused
2126 a restart of a 'net' service not to restart services again
2127 that depended on it.
2128
2129 * rc-scripts 1.2.5 (20 Jan 2002)
2130
2131 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
2132 /etc/init.d/net.eth0 to 'use' pcmcia.
2133
2134 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
2135 the dircolors command in /etc/skel/.bash_profile to handle cases
2136 where bash do not export $SHELL.
2137
2138 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
2139 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
2140 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
2141 scheme for the net.eth* scripts.
2142
2143 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
2144 from manpages; no need for that..
2145
2146 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
2147 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
2148
2149 * rc-scripts 1.2.4 (30 Dec 2001)
2150
2151 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
2152 back to 022 as it should be.
2153
2154 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
2155 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
2156
2157 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
2158 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
2159
2160 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
2161
2162 Updated /etc/init.d/depscan.sh to store info about missing dependencies
2163 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
2164 to use this when starting a script ('need' dependencies is critical for
2165 startup). Added the broken() function to /etc/init.d/runscript.sh
2166 to list the missing dependencies.
2167
2168 Updated /etc/init.d/runscript.sh for svc_start() to have better error
2169 checking.
2170
2171 Updated /etc/init.d/functions.sh with ewend(), which is the same as
2172 eend(), but print a warning on error, not a error. Updated
2173 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
2174
2175 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
2176
2177 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
2178 is passed to a rc-script.
2179
2180 Added /etc/init.d/rc-help.sh, simple script that prints out help for
2181 the rc-scripts.
2182
2183 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
2184
2185 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
2186 halt and reboot. This fixes a problem where / was not unmounted properly
2187 in some cases.
2188
2189 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
2190
2191 Move $svcdir to to /etc/init.d/functions.sh, and update
2192 /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
2193
2194 Modified /etc/init.d/runscript.sh to also restart the services that
2195 depend on a service if that service is restarted. Enhanced the
2196 restart function to be able to have custom restart() functions in
2197 rc-scripts. The custom restart() have to use svc_stop() and
2198 svc_start() to restart the service.
2199
2200 Add a pause function to /etc/init.d/runscript.sh. It will basically
2201 stop a service without stopping the services that depends on that
2202 service.
2203
2204 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
2205 service without stopping the services that depends on that service.
2206
2207 * rc-scripts 1.2.3 (18 Dec 2001)
2208
2209 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
2210
2211 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
2212 init wrapper we used).
2213
2214 Some cleanups: take out the shm resize comment;
2215
2216 remove the $wrongmount;
2217
2218 remove the mountshm() function and insert it directly
2219 where needed;
2220
2221 remove the setting of $PATH as /sbin/init already do
2222 this for us.
2223
2224 Added the if statement to detect if it is the first time the 'boot'
2225 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
2226 $RUNLEVEL is a env var set by /sbin/init.
2227
2228 Also added functionality to detect if the kernel have DEVFS support
2229 compiled in; seems new users thinks devfs is unstable and as they do
2230 not always read the docs, it does not get compiled in ;/ Should
2231 make live for us a bit easier.
2232
2233 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
2234
2235 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
2236 the unneeded services.
2237
2238 * rc-scripts 1.2.2 (8 Dec 2001)
2239
2240 10 Dec 2001; Added a localhost entry in /etc/hosts.
2241
2242 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
2243 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
2244 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
2245 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
2246 in this ChangeLog that needs to be removed! Like the changes to hosts,
2247 profile. /etc/{passwd,group} have minor UID and GID type fixes for
2248 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
2249 directories.
2250
2251 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
2252 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
2253 and one for update-modules.8. These were adapted from Debian. Updated
2254 tarball.sh to include the new man directory. Updated baselayout to install
2255 these manpages. Slightly tweak the /etc/modules.autoload comments.
2256
2257 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2258
2259 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
2260 and cleaned out old code.
2261
2262 Updated /etc/init.d/bootmisc with additional lock files to clean.
2263
2264 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2265
2266 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
2267 that can be used for services that needs to have a logger started before
2268 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
2269 to define what loggers the 'logger' depend represent.
2270
2271 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2272
2273 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
2274 and grpck.
2275
2276 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2277
2278 Changed umask in /etc/profile for the user to 077 for security.
2279
2280 Added a stop() function to /etc/init.d/clock. Also removed uneeded
2281 'source /etc/rc.conf' line.
2282
2283 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
2284 /etc/hostname is invalid.
2285
2286 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
2287 running devfsd, as it did still not save settings properly. Also removed
2288 old /dev-state/compat stuff.
2289
2290 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
2291 from the default "default" runlevel. It still exists in the archive so that
2292 users who want/need it can add it easily.
2293
2294 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
2295 removed notail from the ext2 boot partition, other cleanups.
2296
2297 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
2298
2299 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2300
2301 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
2302 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
2303 standard location.
2304
2305 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
2306 itself, calling depscan.sh or changing runlevels cause a tempory effect
2307 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
2308 changing runlevels did not want to work.
2309
2310 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
2311 More cosmetic than anything else, but cant hurt with the new dev-state
2312 scheme.
2313
2314 Updated /sbin/init to set the console log level to 1, so that bootup
2315 can be much cleaner. Also updated /etc/init.d/modules not to have
2316 a logger in it 'use' depends, as it should not be needed anymore.
2317
2318 Updated /sbin/rc to check if devfsd is still running between runlevel
2319 changes.
2320
2321 Updated /etc/init.d/modules to run update-modules. We want to be sure
2322 /etc/modules.conf is updated when running depmod -a.
2323
2324 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
2325 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
2326
2327 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
2328 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
2329 updated tarball.sh to handle ppp/chat-default.
2330
2331 Added /etc/skel/.bash* to make things cleaner.
2332
2333 Other minor changes.
2334
2335 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
2336 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
2337
2338 * rc-scripts 1.1.8 (15 Nov 2001)
2339
2340 16 Nov 2001; removed bogus "mountall.test" script.
2341
2342 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2343
2344 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
2345 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
2346 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
2347 names of new functions in init.d/runscript.sh to better sounding ones.
2348 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
2349 fixes/cleanups.
2350
2351 Removed try() out of init.d/runscript.sh (why was this here ?).
2352
2353 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2354
2355 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
2356 doesn't exist.
2357
2358 init.d/hostname: Added check for a valid /etc/hostname.
2359
2360 init.d/keymaps: Added check for valid $KEYMAP.
2361
2362 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
2363 should solve Woodchip's syslog+glue issue. We just have to change the
2364 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
2365 output info and warnings, etc to the console, then boot will be much cleaner.
2366 Also the install guide will need changing to add the loggers to 'boot' and
2367 not 'default' runlevel.
2368
2369 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
2370 this really needed (I cannot see that it is used anywhere ...)?
2371
2372 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2373
2374 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
2375 called 'uses'. It basically have the same usage as 'need', except that it
2376 do not start services that is not in the current and 'boot' runlevels.
2377
2378 Updated init.d/netmount to use the 'uses' depend.
2379
2380 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2381
2382 Fixed init.d/runscript.sh not to destroy the 'need' depends in
2383 /${svcdir}/need. This caused subsequent starting and stopping of services
2384 not to start depends.
2385
2386 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
2387
2388 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
2389 destroyed before stopping running services scheduled to be stopped. This
2390 with the fact that $SOFTLEVEL was set too early, caused the services to be
2391 stopped in the wrong order.
2392
2393 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
2394
2395 Modified init.d/netmount to check if any network filesystems is mounted.
2396
2397 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
2398 some awk and grep magic to find all remote filesystems and umount them.
2399
2400 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
2401
2402 A fix for checkroot (missing "/"); it now actually checks the root
2403 filesystem. Also, a localmount cleanliness fix.
2404
2405 * rc-scripts 1.1.7 (18 Oct 2001)
2406
2407 [old changelog format follows]
2408
2409 *lots of scripts; woodchip
2410 removed old rc5 scripts from cvs
2411
2412 *init.d/runscript.sh; agriffis
2413 Added support for rc.conf and home-grown functions
2414
2415 *init.d/modules;
2416 Now correctly looks at /etc/modules.autoload
2417
2418 rc-scripts-1.1.6, released 15 Sep 2001
2419 ======================================
2420
2421 *init.d/runscript.sh, others
2422 Handling of "net" dependencies resolve to all net devices in
2423 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
2424 variable in /etc/rc.conf has been removed.
2425
2426 *init.d/runscript.sh
2427 New "zap" option for manually resetting the state of an initscript
2428 to stopped.
2429
2430 *init.d/{samba,sysklogd,sshd}
2431 Removed from CVS; they live in their respective packages.
2432
2433 rc-scripts-1.1.5, released 02 Sep 2001
2434 ====================================
2435
2436 *sbin/rc-update
2437 New version of the rc-update command for the new initscripts. Works
2438 similarly to the old version, except this one updates our dependency
2439 cache.
2440
2441 *init.d/functions.sh
2442 New and better looking informational message functions (einfo, einfon).
2443 Brand new message functions (ewarn).
2444
2445 *sbin/init, init.d/checkroot
2446 We're going back to a /proc/mounts-based mtab symlink because it's
2447 just plain better. Appropriate changes made.
2448
2449 # vim:expandtab

  ViewVC Help
Powered by ViewVC 1.1.20