/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.148  
changed lines
  Added in v.368

  ViewVC Help
Powered by ViewVC 1.1.20