/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 291 Revision 370
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL
3# Written by Daniel Robbins (drobbins@gentoo.org) 3# Written by Daniel Robbins (drobbins@gentoo.org)
4
5 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Cleanups for bug #21438 from bug #22637, thanks to
8 Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>.
9
10 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
11
12 Really commit fix for bug #21438 to CVS.
13
14 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
15
16 Call /proc mount with explicit options to fix issues where user
17 have 'bind' mounts for /proc in fstab as well, bug #21068.
18
19 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
20 reported by Gunnlaugur Thor Briem <gthb@hi.is>.
21
22 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
23 it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
24
25* rc-scripts 1.4.3.8p1 (21 May 2003)
26
27 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
28
29 Last fix I did not use the modified 'myservice', but used $1 again,
30 causing the network dependencies to bork. I did not notice this
31 as I have net.eth0 in default runlevel.
32
33* rc-scripts 1.4.3.8 (20 May 2003)
34
35 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
36
37 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
38 rc-service.sh to handle this, thanks to YAMAKURA Makoto
39 <makoto@dsb.club.ne.jp>.
40
41 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
42 about the host it is running on.
43
44 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
45
46 Do not let devfsd handle /dev/log's permission management, as it breaks
47 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
48 <pebenito@gentoo.org>.
49
50 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
51
52 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
53
54 We should not export the RC_GOT_* variables, as it breaks on some systems,
55 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
56
57 From C. Brewer <killian@gentoo.org>:
58 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
59 suppose to be default, but why take chances?
60 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
61 kppp complaint.
62
63 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
64
65 For the network functions, the dependency code tried to create a funcion
66 with a '.' in the name, causing the network rc-scripts to not have any
67 dependencies. This should fix bug #20849 's order issue, thanks to
68 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
69
70 Fix query_{before,after} to also check 'net' if 'service2' is a network
71 service.
72
73 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
74
75 More cleanups:
76 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
77 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
78 this.
79 - Add functions for more common tasks in /sbin/runscript.sh to
80 /sbin/rc-services.sh.
81 - Move 'consoletype' to /sbin.
82 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
83 /etc/init.d/bootmisc for this.
84 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
85 - Improve detection of circular depends ... modified gendepend.awk for this.
86
87* rc-scripts 1.4.3.7 (11 May 2003)
88
89 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
90
91 Too many things to remember, so here is changes of note:
92 - More changes to gendepend.awk. This basically modifies it to not use
93 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
94 create a file that can be sourced. Seems to speedup things nicely.
95 - Add /sbin/rc-services.sh. This is basically a module to get dependency
96 info from the new $svcdir/deptree, and some other new service functions.
97 - Modify the whole works to *only* source all needed files once. This
98 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
99 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
100 is sourced more than once (actually each time a service is started or
101 stopped, but is is cut down much). Also seems to speed things up again.
102 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
103 dependency to not be actually used in shutdown, causing the services
104 needing it to be stoped before net.* services.
105 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
106 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
107 startup of services, and seems to work nicely. Only issues to date is
108 that printing of messages is not synced, and a race very intermittantly
109 that causes a service to be started when it was already scheduled.
110 - Add a new dependency type 'parallel' that can be used to control if a
111 service can be started in paralled or not. Possible arguments is "yes"
112 or "no"; if it is not present, it is considered as "yes":
113
114 depend() {
115 parallel yes|no
116 }
117
118 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
119 - Fix the 'single' runlevel to actually work properly, and without a
120 /etc/runlevels/single directory.
121 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
122 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
123
124 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
125
126 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
127 and adding more sanity checks.
128
129 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
130
131 Revert /etc/init.d/hostname the way it was, as it should be the user's
132 choice if he want to have a FQDN in there or not, bug #14946.
133
134 Add /etc/init.d/domainname for those that want to use it.
135
136 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
137
138 Change the root check back the way it was, else it breaks with non bash
139 shells; modified /etc/profile.
140
141 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
142
143 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
144
145 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
146
147 Add various patches from Rachel Holmes <rach@gmx.net>:
148
149 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
150 purpose. Modified:
151
152 /etc/init.d/net.ppp0
153 /etc/init.d/nscd
154 /sbin/functions.sh
155 /sbin/rc
156 /sbin/rc-daemon.sh
157 /sbin/rc-envupdate.sh.bash
158 /sbin/runscript.sh
159
160 Exchanged some gratuitous use of awk for grep. Awk is a little resource
161 hungry just for a simple test. (I [azarah] did not apply the changes to
162 tests for 'devfs', as having 'usbdevfs' in the equation will break
163 things). Modified /sbin/rc for this.
164
165 Gentoo enforces having /proc, so uname -r is a little redundant when the
166 information is available without an external command. Modified:
167
168 /etc/init.d/modules
169 /etc/init.d/serial
170 /sbin/functions.sh
171 /sbin/modules-update
172
173 Changed 'id -u' commands to use $EUID in bash executed scripts, same
174 result no extra command. Modified:
175
176 /sbin/rc-envupdate.sh
177 /sbin/rc-envupdate.sh.bash
178 /sbin/rc-update
179
180 Removed all the cat sections, and the separate echo sections. The output
181 is _exactly_ the same, minus some spare spaces that have been removed.
182 Fourfold speed increase in the (granted flimsy) tests I have done.
183 Modified /sbin/rc-help.sh for this.
184
185 Final remaining 'cat' commands removed, in favour of using bash's internal
186 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
187 i18n anyway. Modified:
188
189 /sbin/rc
190 /sbin/rc-envupdate.sh
191 /sbin/rc-envupdate.sh.bash
192
193
194
195* rc-scripts 1.4.3.6 (27 Apr 2003)
196
197 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
198
199 Add a 'save' function /etc/init.d/clock, bug #19685.
200
201 Add a slocate group to /etc/group, bug #19604.
202
203 Do not stop a network service if we do not reboot on runlevel change,
204 as it could have been started by the user or hotplug. This should
205 address bug #12763; modified /sbin/rc for this.
206
207 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
208 domainname.
209
210 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
211 This should close bug #16884.
212
213 Fix /etc/profile to be /bin/sh compadible, bug #18918.
214
215 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
216 be more 'generic' ? Only try to disable swap if any devices/files was
217 activated. This should close bug #19089.
218
219 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
220 rw in /etc/fstab, bug #19158.
221
222 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
223
224 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
225 but the ppp link was already down, bug #15333.
226
227 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
228
229 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
230 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
231
232 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
233 updated /sbin/rc for this.
234
235 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
236
237 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
238
239 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
240
241 Make checking in unmount more strict, fixing bug #19007.
242
243 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
244
245 Add one more check to genenviron.awk, to spot cases where there is a
246 space between the variable and the '='.
247
248 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
249
250 Fix interactive shell not to have coloured prompt when used as a
251 dumb client, bug #18886. Fix was inspired by patch from
252 Matthew Kennedy <mkennedy@gentoo.org>.
253
254* rc-scripts 1.4.3.5 (06 Apr 2003)
255
256 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
257
258 Hopefully get the serial support sane again. Added /bin/consoletype
259 from Redhat to check for serial console. This should resolve bug
260 #18329 partly.
261
262 Add the --nocolor option to suppress the use of colors.
263
264 Change the 'status' option to return true if the service is running,
265 and false if stopped. This is only if the '--quiet' flag was also
266 given.
267
268 Change the start and stop options not to output or return false if
269 the '--quiet' flag was given.
270
271 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
272 as well, fixing bug #18344.
273
274 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
275 Aron Griffis <agriffis@gentoo.org>.
276
277 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
278 or rebooting.
279
280 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
281
282 Fix bug #18329 ... $COLS was not setup properly for serial console.
283
284 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
285
286 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
287 Fix a problem where it might not have mounted the USB fs when usbcore
288 was compiled as module, and the kernel did not mount it by the time
289 the script was started. Get it to rather check what filesystems is
290 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
291 later 2.4 kernels now also support the newer 'usbfs'.
292
293 Optimize RAID stuff in /etc/init.d/checkfs a bit.
294
295 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
296
297 Update sbin/rc-envupdate.sh.bash for bug #17549.
298
299* rc-scripts 1.4.3.4 (16 Mar 2003)
300
301 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
302
303 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
304 modifications (purple and display hostname, etc). Closes bug #16806.
305
306 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
307 work properly. Closes bug #17348.
308
309 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
310 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
311
312 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
313
314 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
315 <lostlogic@gentoo.org>!
316
317 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
318
319 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
320 and /etc/init.d/halt.sh for this.
321
322 Update /etc/fstab to correctly mount /proc with:
323
324 mount -t proc none /proc
325
326 Do the same for /dev/shm:
327
328 mount -t tmpfs none /dev/shm
329
330 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
331 noise if we exited a recovery console.
332
333 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
334 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
335
336 Bring down default gateway before adding new one .. this fixes issues
337 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
338 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
339 fix.
340
341 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
342 it fails for module-init-tools if the module is already loaded. This
343 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
344
345* rc-scripts 1.4.3.3 (09 Mar 2003)
346
347 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
348
349 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
350
351 Fix net.eth0 not to try and start an interface if already up.
352
353 Update MAKEDEV from Debian to support more archs. This adds support
354 for 'arm', 'hppa' among others. URL:
355
356 http://packages.debian.org/stable/base/makedev.html
357
358 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
359 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
360 are using a 2.5 kernel ... bug #17109.
361
362 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
363
364 Update /etc/init.d/hostname to only set the hostname to whatever is before
365 the first '.', and then set the domainname to the rest, closing bug #14946.
366
367 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
368
369 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
370
371 Fix spelling of dependency and some other spelling/grammer issues.
372 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
373 Mike Frysinger <vapier@gentoo.org>, bug #15498.
374
375 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
376
377 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
378
379 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
380 bug #14556.
381
382 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
383
384 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
385
386 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
387
388 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
389 to 'test -c /dev/ttyp0 &> /dev/null'.
390
391 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
392
393 Update /sbin/modules-update to generate /etc/modprobe.devfs from
394 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
395 module-init-tools-0.9.9 should get rid of many of the warnings/errors
396 with devfs, and makes it work a bit better.
397
398 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
399
400 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
401
402 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
403
404 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
405 support. This resolves bug #14994.
406
407 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
408 according to /etc/rc.conf.
409
410 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
411 and used 'basename' which is located in /usr/bin.
412
413 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
414
415 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
416 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
417 this.
418
419 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
420
421 Update src/awk/genenviron.awk to properly set the environment for each
422 rc-script's depend() function by sourcing required config files.
423
424 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
425
426 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
427 to Max Kalika <alkern23@yahoo.com>, bug #15050.
428
429 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
430
431 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
432
433 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
434
435 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
436 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
437
438 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
439
440 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
441 Add fix from the wonderful analysis of Toby Dickenson
442 <tdickenson@geminidataloggers.com> in #12947.
443
444 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
445
446 Fix start-stop-daemon to check the call to nice() correctly for failure,
447 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
448
449 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
450 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
451 Malcolm Scott <m@lcolm.org.uk>.
452
453 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
454
455 Updated /etc/rc.conf to add elogin/entrance support #13790.
456
457 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
458
459 Update /etc/init.d/keymaps to enable unicode if required. This closes
460 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
461
462 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
463
464 Fix deadlock durning shutdown if tmpfs filesystems larger than free
465 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
466 for this.
467
468 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
469 This closes bug #13868.
470
471 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
472 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
473
474 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
475
476 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
477
478 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
479 not have stale entries left from hard reboot, thanks to pac1085 on
480 irc.
481
482* rc-scripts 1.4.3.2 (15 Jan 2003)
483
484 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
485
486 Truely fix bootup on seperate /var.
487
488 Add some fixes and optimizations to /sbin/rc-update, thanks to
489 Daniel Robbins <drobbins@gentoo.org>.
490
491* rc-scripts 1.4.3.1 (15 Jan 2003)
492
493 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
494
495 Fix bootup on seperate /var.
496
497 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
498
499 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
500
501 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
502
503 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
504 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
505
506 Turn on -C option to fsck on for all calls to fsck. Updated scripts
507 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
508
509* rc-scripts 1.4.3.0 (07 Jan 2003)
510
511 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
512
513 Too much to mention, but here are a few:
514 - Major rewrite of software RAID startup, based on Mandrake's, as
515 ours was pretty broken :(
516 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
517 Much of /sbin/functions.sh and other scripts have been changed
518 to support this.
519 - Reworked /etc/inittab to support this. Also moved critical
520 mounting of local filesystems to 'sysinit' function of /sbin/rc.
521 - Move state directory to /var/state/init.d/ ($svcdir).
522 - Move Adelie node init to /sbin/functions.sh to try and simplify
523 /sbin/rc a bit.
524 - Updated Copyright dates to 2003.
525
526* rc-scripts 1.4.2.8 (06 Jan 2003)
527
528 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
529
530 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
531 lines, as it seems users do not note the need to have them all on
532 one line ....
533
534 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
535 script not ending on a digit. This closes bug #12887.
536
537 Fix get_KV to also check micro version of kernel; add KV_to_int()
538 helper function for get_KV. Update /etc/init.d/localmount to work
539 with new get_KV ...
540
541 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
542
543 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
544 in the new sys-apps/module-init-tools. Note that you need version
545 0.9.7 or later of sys-apps/module-init-tools. Updated
546 /sbin/modules-update for this.
547
548 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
549 we are running kernel 2.5 or later ...
4 550
5 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: 551 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
6 552
7 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool 553 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
8 rc-script to setup encrypted loopback devices. This was kindly 554 rc-script to setup encrypted loopback devices. This was kindly
485 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 1031 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
486 1032
487 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 1033 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
488 and is needed for some fixes. 1034 and is needed for some fixes.
489 1035
490 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1036 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
491 1037
492 Update /etc/rc.conf to be more clear and state that you should 1038 Update /etc/rc.conf to be more clear and state that you should
493 remove consolefont from startup if you do not use it. Should 1039 remove consolefont from startup if you do not use it. Should
494 resolve bug #2174. 1040 resolve bug #2174.
495 1041
496 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 1042 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
497 1043
498 Added user/group apache with uid/gid 81. 1044 Added user/group apache with uid/gid 81.
499 1045
500 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1046 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
501 1047
502 Remove the "-net" from the line setting the default gateway 1048 Remove the "-net" from the line setting the default gateway
503 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 1049 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
504 noting this. 1050 noting this.
505 1051
506 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 1052 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
507 1053
508 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 1054 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
509 which is installed with the nfs-utils package. Also tidied up some 1055 which is installed with the nfs-utils package. Also tidied up some
510 really old, leftover junk like the non-supported stuff from rc5. 1056 really old, leftover junk like the non-supported stuff from rc5.
511 Closes #1754. 1057 Closes #1754.
512 1058
513 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1059 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
514 1060
515 Remove creation of /var/run/utmpx from bootmisc again. Seems 1061 Remove creation of /var/run/utmpx from bootmisc again. Seems
516 other people have wierd problems. 1062 other people have wierd problems.
517 1063
518* rc-scripts 1.3.4 (21 April 2002) 1064* rc-scripts 1.3.4 (21 Apr 2002)
519 1065
520 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1066 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
521 1067
522 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 1068 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
523 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 1069 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
524 1070
525 Implement the status commandline argument. Updated /sbin/runscript.sh 1071 Implement the status commandline argument. Updated /sbin/runscript.sh
526 and /sbin/rc-help.sh for this. 1072 and /sbin/rc-help.sh for this.
527 1073
528 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 1074 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
529 and AFTER. 1075 and AFTER.
530 1076
531 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1077 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
532 1078
533 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 1079 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
534 is needed, else /usr/bin/newgrp segfault. 1080 is needed, else /usr/bin/newgrp segfault.
535 1081
536 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1082 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
537 1083
538 Update /etc/skel/.bash_profile to make it tcsh compadible. 1084 Update /etc/skel/.bash_profile to make it tcsh compadible.
539 Thanks to Väinö Järvelä for this fix. 1085 Thanks to Väinö Järvelä for this fix.
540 1086
541 Update /etc/profile to also set the PS? variables if $SHELL 1087 Update /etc/profile to also set the PS? variables if $SHELL
543 bootstrap work again. 1089 bootstrap work again.
544 1090
545 Move LVM stuff to checkfs to ensure that they get fscked. 1091 Move LVM stuff to checkfs to ensure that they get fscked.
546 This resolves bug #1552. 1092 This resolves bug #1552.
547 1093
548* rc-scripts 1.3.3 (5 April 2002) 1094* rc-scripts 1.3.3 (5 Apr 2002)
549 1095
550 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1096 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
551 1097
552 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 1098 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
553 This is done to try and ensure system integrity. 1099 This is done to try and ensure system integrity.
554 1100
555 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1101 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
556 1102
557 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 1103 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
558 1104
559 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 1105 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
560 1106
561 Add a bash check to the code that sets the prompt, fixing bug #1078. 1107 Add a bash check to the code that sets the prompt, fixing bug #1078.
562 1108
563* rc-scripts 1.3.2 (24 Mar 2002) 1109* rc-scripts 1.3.2 (24 Mar 2002)
564 1110
565 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1111 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
566 1112
567 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 1113 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
568 for this. 1114 for this.
569 1115
570 With the "before" and "after" stuff, recursion levels was getting too high, 1116 With the "before" and "after" stuff, recursion levels was getting too high,
584 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 1130 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
585 and it seems it has fallen now to my discression. 1131 and it seems it has fallen now to my discression.
586 1132
587* rc-scripts 1.3.1 (23 Mar 2002) 1133* rc-scripts 1.3.1 (23 Mar 2002)
588 1134
589 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 1135 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
590 DHCP lease release from Jim Nutt. 1136 DHCP lease release from Jim Nutt.
591 1137
592 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1138 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
593 since there are a lot of important bug fixes in here that are needed. 1139 since there are a lot of important bug fixes in here that are needed.
594 1140
595 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1141 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
596 1142
597 Resolve bug #1292. 1143 Resolve bug #1292.
598 1144
599 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1145 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
600 Spidler. 1146 Spidler.
601 1147
602 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1148 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
603 1149
604 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1150 Update /sbin/rc to fix a 'cat mounts' instead of the correct
605 version, 'cat /proc/mounts'. 1151 version, 'cat /proc/mounts'.
606 1152
607 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1153 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
608 1154
609 Add initial support for the --quiet flag that suppress output. 1155 Add initial support for the --quiet flag that suppress output.
610 1156
611 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1157 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
612 1158
613 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 1159 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
614 as not all errors by depscan.sh is critical. It should be 1160 as not all errors by depscan.sh is critical. It should be
615 reworked to do better error handeling. 1161 reworked to do better error handeling.
616 1162
617 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1163 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
618 1164
619 Fix the GID and UID of nobody and nogroup in /etc/passwd and 1165 Fix the GID and UID of nobody and nogroup in /etc/passwd and
620 /etc/group to match those of Debian, FBSD and others. Thanks 1166 /etc/group to match those of Debian, FBSD and others. Thanks
621 to those who reported it, and Woodchip for looking up the 1167 to those who reported it, and Woodchip for looking up the
622 proper values. 1168 proper values.
623 1169
624 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1170 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
625 This resolves bug #1150, thanks to Paul Fleischer. 1171 This resolves bug #1150, thanks to Paul Fleischer.
626 1172
627 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1173 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
628 1174
629 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 1175 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
630 as some users have /usr on seperate partition which is not 1176 as some users have /usr on seperate partition which is not
631 mounted when depscan.sh is run the first time. 1177 mounted when depscan.sh is run the first time.
632 1178
633 Updated the checking for more than one service providing the 1179 Updated the checking for more than one service providing the
634 same virtual function in /etc/init.d/depscan.sh. It should 1180 same virtual function in /etc/init.d/depscan.sh. It should
635 be working now, and this also fix a problem that when there is no 1181 be working now, and this also fix a problem that when there is no
636 service providing a virtual, counter was used uninitialized. 1182 service providing a virtual, counter was used uninitialized.
637 1183
638* rc-scripts 1.3.0 (10 March 2002) 1184* rc-scripts 1.3.0 (10 Mar 2002)
639 1185
640 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1186 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
641 1187
642 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1188 Resolved bug #1021; updated /etc/init.d/consolefont for this.
643 1189
644 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1190 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
645 1191
664 Also fixed try() for mounting /proc (maybe all mount commands). 1210 Also fixed try() for mounting /proc (maybe all mount commands).
665 The function worked fine in a simulated test, but in real life failed 1211 The function worked fine in a simulated test, but in real life failed
666 to detect a error when mounting /proc (remember to thank Grant for 1212 to detect a error when mounting /proc (remember to thank Grant for
667 his UserMode ebuilds, and Guide). 1213 his UserMode ebuilds, and Guide).
668 1214
669* rc-scripts 1.2.9 (6 March 2002) 1215* rc-scripts 1.2.9 (6 Mar 2002)
670 1216
671 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1217 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
672 1218
673 General form updates and some piping fixes. 1219 General form updates and some piping fixes.
674 1220
675 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1221 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
676 to fix a problem where startDM.sh would be respawned repeatedly 1222 to fix a problem where startDM.sh would be respawned repeatedly
677 if xdm was not in the default runlevel. 1223 if xdm was not in the default runlevel.
678 1224
679* rc-scripts 1.2.8 (4 March 2002) 1225* rc-scripts 1.2.8 (4 Mar 2002)
680 1226
681 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1227 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
682 1228
683 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1229 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
684 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1230 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
685 move them to the xfree ebuild later on when things settles down. 1231 move them to the xfree ebuild later on when things settles down.
686 1232
690 where we had a invalid $PATH on boot in some cases. 1236 where we had a invalid $PATH on boot in some cases.
691 1237
692 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1238 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
693 the new sys-apps/kbd package. 1239 the new sys-apps/kbd package.
694 1240
695* rc-scripts 1.2.7 (3 March 2002) 1241* rc-scripts 1.2.7 (3 Mar 2002)
696 1242
697 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1243 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
698 1244
699 Fixed the problem of rc-scripts trying to start/stop a service multiple 1245 Fixed the problem of rc-scripts trying to start/stop a service multiple
700 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1246 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
701 for this. 1247 for this.
702 1248
704 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 1250 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
705 this. 1251 this.
706 1252
707 Added caching of the "depend() { need foo; } " lines, and updated 1253 Added caching of the "depend() { need foo; } " lines, and updated
708 /etc/init.d/depscan.sh to touch the actual files less. This should 1254 /etc/init.d/depscan.sh to touch the actual files less. This should
709 speedup dependancy caching a lot, especially on slow machines. 1255 speedup dependency caching a lot, especially on slow machines.
710 1256
711 Updated /etc/passwd to have users with no shell defined, use /bin/false 1257 Updated /etc/passwd to have users with no shell defined, use /bin/false
712 for security. 1258 for security.
713 1259
714 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1260 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
715 1261
716 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1262 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
717 1263
718 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1264 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
719 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1265 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
720 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1266 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
721 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1267 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
722 1268
723 Removed stopping of dependant services that have current service as 1269 Removed stopping of dependent services that have current service as
724 a 'use'dependancy ... should be less confusing now. 1270 a 'use'dependency ... should be less confusing now.
725 Updated /etc/init.d/runscript.sh for this. 1271 Updated /etc/init.d/runscript.sh for this.
726 1272
727 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1273 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
728 1274
729 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1275 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
811 Added the 'before' depend type. This is more for changing the 1357 Added the 'before' depend type. This is more for changing the
812 order services start in. Updated /etc/init.d/depscan.sh and 1358 order services start in. Updated /etc/init.d/depscan.sh and
813 /etc/init.d/functions.sh for this. 1359 /etc/init.d/functions.sh for this.
814 1360
815 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1361 Updated /etc/init.d/depscan.sh to work with '*' as argument for
816 dependancy types. This can be used with 'use' and 'before' to 1362 dependency types. This can be used with 'use' and 'before' to
817 start a script last or first respectively. 1363 start a script last or first respectively.
818 1364
819 Added save_options() and get_options() to /etc/init.d/functions.sh 1365 Added save_options() and get_options() to /etc/init.d/functions.sh
820 for saving misc settings between startup/shutdown. Updated 1366 for saving misc settings between startup/shutdown. Updated
821 /etc/init.d/net.eth0 to use these and properly down virtual 1367 /etc/init.d/net.eth0 to use these and properly down virtual
890 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1436 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
891 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1437 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
892 1438
893 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1439 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
894 1440
895 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1441 Updated /etc/init.d/depscan.sh to store info about missing dependencies
896 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1442 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
897 to use this when starting a script ('need' dependancies is critical for 1443 to use this when starting a script ('need' dependencies is critical for
898 startup). Added the broken() function to /etc/init.d/runscript.sh 1444 startup). Added the broken() function to /etc/init.d/runscript.sh
899 to list the missing dependancies. 1445 to list the missing dependencies.
900 1446
901 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1447 Updated /etc/init.d/runscript.sh for svc_start() to have better error
902 checking. 1448 checking.
903 1449
904 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1450 Updated /etc/init.d/functions.sh with ewend(), which is the same as
1137 1683
1138* rc-scripts 1.1.7 (18 Oct 2001) 1684* rc-scripts 1.1.7 (18 Oct 2001)
1139 1685
1140[old changelog format follows] 1686[old changelog format follows]
1141 1687
1142 *lots of scripts; woodchip 1688 *lots of scripts; woodchip
1143 removed old rc5 scripts from cvs 1689 removed old rc5 scripts from cvs
1144 1690
1145 *init.d/runscript.sh; agriffis 1691 *init.d/runscript.sh; agriffis
1146 Added support for rc.conf and home-grown functions 1692 Added support for rc.conf and home-grown functions
1147 1693
1148 *init.d/modules; 1694 *init.d/modules;
1149 Now correctly looks at /etc/modules.autoload 1695 Now correctly looks at /etc/modules.autoload
1150 1696
1151rc-scripts-1.1.6, released 15 Sep 2001 1697rc-scripts-1.1.6, released 15 Sep 2001
1152====================================== 1698======================================
1153 1699
1154 *init.d/runscript.sh, others 1700 *init.d/runscript.sh, others
1155 Handling of "net" dependencies resolve to all net devices in 1701 Handling of "net" dependencies resolve to all net devices in
1156 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1702 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1157 variable in /etc/rc.conf has been removed. 1703 variable in /etc/rc.conf has been removed.
1158 1704
1159 *init.d/runscript.sh 1705 *init.d/runscript.sh
1160 New "zap" option for manually resetting the state of an initscript 1706 New "zap" option for manually resetting the state of an initscript
1161 to stopped. 1707 to stopped.
1162 1708
1163 *init.d/{samba,sysklogd,sshd} 1709 *init.d/{samba,sysklogd,sshd}
1164 Removed from CVS; they live in their respective packages. 1710 Removed from CVS; they live in their respective packages.
1165 1711
1166rc-scripts-1.1.5, released 02 Sep 2001 1712rc-scripts-1.1.5, released 02 Sep 2001
1167==================================== 1713====================================
1168 1714
1169 *sbin/rc-update 1715 *sbin/rc-update
1170 New version of the rc-update command for the new initscripts. Works 1716 New version of the rc-update command for the new initscripts. Works
1171 similarly to the old version, except this one updates our dependency 1717 similarly to the old version, except this one updates our dependency
1172 cache. 1718 cache.
1173 1719
1174 *init.d/functions.sh 1720 *init.d/functions.sh
1175 New and better looking informational message functions (einfo, einfon). 1721 New and better looking informational message functions (einfo, einfon).
1176 Brand new message functions (ewarn). 1722 Brand new message functions (ewarn).
1177 1723
1178 *sbin/init, init.d/checkroot 1724 *sbin/init, init.d/checkroot
1179 We're going back to a /proc/mounts-based mtab symlink because it's 1725 We're going back to a /proc/mounts-based mtab symlink because it's
1180 just plain better. Appropriate changes made. 1726 just plain better. Appropriate changes made.
1181 1727
1182# vim:expandtab 1728# vim:expandtab

Legend:
Removed from v.291  
changed lines
  Added in v.370

  ViewVC Help
Powered by ViewVC 1.1.20