/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 293 Revision 359
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* rc-scripts 1.4.3.7 (11 May 2003)
6
7 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
8
9 Too many things to remember, so here is changes of note:
10 - More changes to gendepend.awk. This basically modifies it to not use
11 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
12 create a file that can be sourced. Seems to speedup things nicely.
13 - Add /sbin/rc-services.sh. This is basically a module to get dependency
14 info from the new $svcdir/deptree, and some other new service functions.
15 - Modify the whole works to *only* source all needed files once. This
16 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
17 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
18 is sourced more than once (actually each time a service is started or
19 stopped, but is is cut down much). Also seems to speed things up again.
20 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
21 dependency to not be actually used in shutdown, causing the services
22 needing it to be stoped before net.* services.
23 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
24 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
25 startup of services, and seems to work nicely. Only issues to date is
26 that printing of messages is not synced, and a race very intermittantly
27 that causes a service to be started when it was already scheduled.
28 - Add a new dependency type 'parallel' that can be used to control if a
29 service can be started in paralled or not. Possible arguments is "yes"
30 or "no"; if it is not present, it is considered as "yes":
31
32 depend() {
33 parallel yes|no
34 }
35
36 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
37 - Fix the 'single' runlevel to actually work properly, and without a
38 /etc/runlevels/single directory.
39 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
40 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
41
42 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
43
44 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
45 and adding more sanity checks.
46
47 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
48
49 Revert /etc/init.d/hostname the way it was, as it should be the user's
50 choice if he want to have a FQDN in there or not, bug #14946.
51
52 Add /etc/init.d/domainname for those that want to use it.
53
54 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
55
56 Change the root check back the way it was, else it breaks with non bash
57 shells; modified /etc/profile.
58
59 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
60
61 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
62
63 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
64
65 Add various patches from Rachel Holmes <rach@gmx.net>:
66
67 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
68 purpose. Modified:
69
70 /etc/init.d/net.ppp0
71 /etc/init.d/nscd
72 /sbin/functions.sh
73 /sbin/rc
74 /sbin/rc-daemon.sh
75 /sbin/rc-envupdate.sh.bash
76 /sbin/runscript.sh
77
78 Exchanged some gratuitous use of awk for grep. Awk is a little resource
79 hungry just for a simple test. (I [azarah] did not apply the changes to
80 tests for 'devfs', as having 'usbdevfs' in the equation will break
81 things). Modified /sbin/rc for this.
82
83 Gentoo enforces having /proc, so uname -r is a little redundant when the
84 information is available without an external command. Modified:
85
86 /etc/init.d/modules
87 /etc/init.d/serial
88 /sbin/functions.sh
89 /sbin/modules-update
90
91 Changed 'id -u' commands to use $EUID in bash executed scripts, same
92 result no extra command. Modified:
93
94 /sbin/rc-envupdate.sh
95 /sbin/rc-envupdate.sh.bash
96 /sbin/rc-update
97
98 Removed all the cat sections, and the separate echo sections. The output
99 is _exactly_ the same, minus some spare spaces that have been removed.
100 Fourfold speed increase in the (granted flimsy) tests I have done.
101 Modified /sbin/rc-help.sh for this.
102
103 Final remaining 'cat' commands removed, in favour of using bash's internal
104 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
105 i18n anyway. Modified:
106
107 /sbin/rc
108 /sbin/rc-envupdate.sh
109 /sbin/rc-envupdate.sh.bash
110
111
112
113* rc-scripts 1.4.3.6 (27 Apr 2003)
114
115 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
116
117 Add a 'save' function /etc/init.d/clock, bug #19685.
118
119 Add a slocate group to /etc/group, bug #19604.
120
121 Do not stop a network service if we do not reboot on runlevel change,
122 as it could have been started by the user or hotplug. This should
123 address bug #12763; modified /sbin/rc for this.
124
125 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
126 domainname.
127
128 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
129 This should close bug #16884.
130
131 Fix /etc/profile to be /bin/sh compadible, bug #18918.
132
133 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
134 be more 'generic' ? Only try to disable swap if any devices/files was
135 activated. This should close bug #19089.
136
137 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
138 rw in /etc/fstab, bug #19158.
139
140 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
141
142 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
143 but the ppp link was already down, bug #15333.
144
145 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
146
147 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
148 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
149
150 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
151 updated /sbin/rc for this.
152
153 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
154
155 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
156
157 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
158
159 Make checking in unmount more strict, fixing bug #19007.
160
161 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
162
163 Add one more check to genenviron.awk, to spot cases where there is a
164 space between the variable and the '='.
165
166 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
167
168 Fix interactive shell not to have coloured prompt when used as a
169 dumb client, bug #18886. Fix was inspired by patch from
170 Matthew Kennedy <mkennedy@gentoo.org>.
171
172* rc-scripts 1.4.3.5 (06 Apr 2003)
173
174 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
175
176 Hopefully get the serial support sane again. Added /bin/consoletype
177 from Redhat to check for serial console. This should resolve bug
178 #18329 partly.
179
180 Add the --nocolor option to suppress the use of colors.
181
182 Change the 'status' option to return true if the service is running,
183 and false if stopped. This is only if the '--quiet' flag was also
184 given.
185
186 Change the start and stop options not to output or return false if
187 the '--quiet' flag was given.
188
189 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
190 as well, fixing bug #18344.
191
192 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
193 Aron Griffis <agriffis@gentoo.org>.
194
195 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
196 or rebooting.
197
198 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
199
200 Fix bug #18329 ... $COLS was not setup properly for serial console.
201
202 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
203
204 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
205 Fix a problem where it might not have mounted the USB fs when usbcore
206 was compiled as module, and the kernel did not mount it by the time
207 the script was started. Get it to rather check what filesystems is
208 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
209 later 2.4 kernels now also support the newer 'usbfs'.
210
211 Optimize RAID stuff in /etc/init.d/checkfs a bit.
212
213 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
214
215 Update sbin/rc-envupdate.sh.bash for bug #17549.
216
217* rc-scripts 1.4.3.4 (16 Mar 2003)
218
219 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
220
221 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
222 modifications (purple and display hostname, etc). Closes bug #16806.
223
224 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
225 work properly. Closes bug #17348.
226
227 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
228 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
229
230 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
231
232 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
233 <lostlogic@gentoo.org>!
234
235 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
236
237 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
238 and /etc/init.d/halt.sh for this.
239
240 Update /etc/fstab to correctly mount /proc with:
241
242 mount -t proc none /proc
243
244 Do the same for /dev/shm:
245
246 mount -t tmpfs none /dev/shm
247
248 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
249 noise if we exited a recovery console.
250
251 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
252 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
253
254 Bring down default gateway before adding new one .. this fixes issues
255 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
256 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
257 fix.
258
259 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
260 it fails for module-init-tools if the module is already loaded. This
261 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
262
263* rc-scripts 1.4.3.3 (09 Mar 2003)
264
265 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
266
267 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
268
269 Fix net.eth0 not to try and start an interface if already up.
270
271 Update MAKEDEV from Debian to support more archs. This adds support
272 for 'arm', 'hppa' among others. URL:
273
274 http://packages.debian.org/stable/base/makedev.html
275
276 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
277 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
278 are using a 2.5 kernel ... bug #17109.
279
280 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
281
282 Update /etc/init.d/hostname to only set the hostname to whatever is before
283 the first '.', and then set the domainname to the rest, closing bug #14946.
284
285 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
286
287 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
288
289 Fix spelling of dependency and some other spelling/grammer issues.
290 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
291 Mike Frysinger <vapier@gentoo.org>, bug #15498.
292
293 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
294
295 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
296
297 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
298 bug #14556.
299
300 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
301
302 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
303
304 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
305
306 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
307 to 'test -c /dev/ttyp0 &> /dev/null'.
308
309 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
310
311 Update /sbin/modules-update to generate /etc/modprobe.devfs from
312 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
313 module-init-tools-0.9.9 should get rid of many of the warnings/errors
314 with devfs, and makes it work a bit better.
315
316 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
317
318 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
319
320 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
321
322 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
323 support. This resolves bug #14994.
324
325 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
326 according to /etc/rc.conf.
327
328 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
329 and used 'basename' which is located in /usr/bin.
330
331 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
332
333 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
334 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
335 this.
336
337 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
338
339 Update src/awk/genenviron.awk to properly set the environment for each
340 rc-script's depend() function by sourcing required config files.
341
342 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
343
344 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
345 to Max Kalika <alkern23@yahoo.com>, bug #15050.
346
347 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
348
349 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
350
351 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
352
353 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
354 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
355
356 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
357
358 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
359 Add fix from the wonderful analysis of Toby Dickenson
360 <tdickenson@geminidataloggers.com> in #12947.
361
362 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
363
364 Fix start-stop-daemon to check the call to nice() correctly for failure,
365 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
366
367 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
368 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
369 Malcolm Scott <m@lcolm.org.uk>.
370
371 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
372
373 Updated /etc/rc.conf to add elogin/entrance support #13790.
374
375 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
376
377 Update /etc/init.d/keymaps to enable unicode if required. This closes
378 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
379
380 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
381
382 Fix deadlock durning shutdown if tmpfs filesystems larger than free
383 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
384 for this.
385
386 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
387 This closes bug #13868.
388
389 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
390 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
391
392 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
393
394 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
395
396 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
397 not have stale entries left from hard reboot, thanks to pac1085 on
398 irc.
399
400* rc-scripts 1.4.3.2 (15 Jan 2003)
401
402 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
403
404 Truely fix bootup on seperate /var.
405
406 Add some fixes and optimizations to /sbin/rc-update, thanks to
407 Daniel Robbins <drobbins@gentoo.org>.
408
409* rc-scripts 1.4.3.1 (15 Jan 2003)
410
411 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
412
413 Fix bootup on seperate /var.
414
415 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
416
417 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
418
419 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
420
421 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
422 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
423
424 Turn on -C option to fsck on for all calls to fsck. Updated scripts
425 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
426
427* rc-scripts 1.4.3.0 (07 Jan 2003)
428
429 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
430
431 Too much to mention, but here are a few:
432 - Major rewrite of software RAID startup, based on Mandrake's, as
433 ours was pretty broken :(
434 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
435 Much of /sbin/functions.sh and other scripts have been changed
436 to support this.
437 - Reworked /etc/inittab to support this. Also moved critical
438 mounting of local filesystems to 'sysinit' function of /sbin/rc.
439 - Move state directory to /var/state/init.d/ ($svcdir).
440 - Move Adelie node init to /sbin/functions.sh to try and simplify
441 /sbin/rc a bit.
442 - Updated Copyright dates to 2003.
443
444* rc-scripts 1.4.2.8 (06 Jan 2003)
445
446 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
447
448 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
449 lines, as it seems users do not note the need to have them all on
450 one line ....
451
452 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
453 script not ending on a digit. This closes bug #12887.
454
455 Fix get_KV to also check micro version of kernel; add KV_to_int()
456 helper function for get_KV. Update /etc/init.d/localmount to work
457 with new get_KV ...
4 458
5 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: 459 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
6 460
7 Add support for generate-modprobe.conf or generating /etc/modprobe.conf 461 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
8 in the new sys-apps/module-init-tools. Note that you need version 462 in the new sys-apps/module-init-tools. Note that you need version
495 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 949 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
496 950
497 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 951 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
498 and is needed for some fixes. 952 and is needed for some fixes.
499 953
500 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 954 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
501 955
502 Update /etc/rc.conf to be more clear and state that you should 956 Update /etc/rc.conf to be more clear and state that you should
503 remove consolefont from startup if you do not use it. Should 957 remove consolefont from startup if you do not use it. Should
504 resolve bug #2174. 958 resolve bug #2174.
505 959
506 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 960 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
507 961
508 Added user/group apache with uid/gid 81. 962 Added user/group apache with uid/gid 81.
509 963
510 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 964 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
511 965
512 Remove the "-net" from the line setting the default gateway 966 Remove the "-net" from the line setting the default gateway
513 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 967 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
514 noting this. 968 noting this.
515 969
516 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 970 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
517 971
518 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 972 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
519 which is installed with the nfs-utils package. Also tidied up some 973 which is installed with the nfs-utils package. Also tidied up some
520 really old, leftover junk like the non-supported stuff from rc5. 974 really old, leftover junk like the non-supported stuff from rc5.
521 Closes #1754. 975 Closes #1754.
522 976
523 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 977 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
524 978
525 Remove creation of /var/run/utmpx from bootmisc again. Seems 979 Remove creation of /var/run/utmpx from bootmisc again. Seems
526 other people have wierd problems. 980 other people have wierd problems.
527 981
528* rc-scripts 1.3.4 (21 April 2002) 982* rc-scripts 1.3.4 (21 Apr 2002)
529 983
530 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 984 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
531 985
532 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 986 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
533 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 987 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
534 988
535 Implement the status commandline argument. Updated /sbin/runscript.sh 989 Implement the status commandline argument. Updated /sbin/runscript.sh
536 and /sbin/rc-help.sh for this. 990 and /sbin/rc-help.sh for this.
537 991
538 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 992 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
539 and AFTER. 993 and AFTER.
540 994
541 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 995 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
542 996
543 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 997 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
544 is needed, else /usr/bin/newgrp segfault. 998 is needed, else /usr/bin/newgrp segfault.
545 999
546 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1000 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
547 1001
548 Update /etc/skel/.bash_profile to make it tcsh compadible. 1002 Update /etc/skel/.bash_profile to make it tcsh compadible.
549 Thanks to Väinö Järvelä for this fix. 1003 Thanks to Väinö Järvelä for this fix.
550 1004
551 Update /etc/profile to also set the PS? variables if $SHELL 1005 Update /etc/profile to also set the PS? variables if $SHELL
553 bootstrap work again. 1007 bootstrap work again.
554 1008
555 Move LVM stuff to checkfs to ensure that they get fscked. 1009 Move LVM stuff to checkfs to ensure that they get fscked.
556 This resolves bug #1552. 1010 This resolves bug #1552.
557 1011
558* rc-scripts 1.3.3 (5 April 2002) 1012* rc-scripts 1.3.3 (5 Apr 2002)
559 1013
560 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1014 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
561 1015
562 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 1016 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
563 This is done to try and ensure system integrity. 1017 This is done to try and ensure system integrity.
564 1018
565 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1019 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
566 1020
567 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 1021 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
568 1022
569 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 1023 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
570 1024
571 Add a bash check to the code that sets the prompt, fixing bug #1078. 1025 Add a bash check to the code that sets the prompt, fixing bug #1078.
572 1026
573* rc-scripts 1.3.2 (24 Mar 2002) 1027* rc-scripts 1.3.2 (24 Mar 2002)
574 1028
575 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1029 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
576 1030
577 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 1031 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
578 for this. 1032 for this.
579 1033
580 With the "before" and "after" stuff, recursion levels was getting too high, 1034 With the "before" and "after" stuff, recursion levels was getting too high,
594 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 1048 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
595 and it seems it has fallen now to my discression. 1049 and it seems it has fallen now to my discression.
596 1050
597* rc-scripts 1.3.1 (23 Mar 2002) 1051* rc-scripts 1.3.1 (23 Mar 2002)
598 1052
599 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 1053 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
600 DHCP lease release from Jim Nutt. 1054 DHCP lease release from Jim Nutt.
601 1055
602 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1056 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
603 since there are a lot of important bug fixes in here that are needed. 1057 since there are a lot of important bug fixes in here that are needed.
604 1058
605 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1059 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
606 1060
607 Resolve bug #1292. 1061 Resolve bug #1292.
608 1062
609 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1063 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
610 Spidler. 1064 Spidler.
611 1065
612 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1066 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
613 1067
614 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1068 Update /sbin/rc to fix a 'cat mounts' instead of the correct
615 version, 'cat /proc/mounts'. 1069 version, 'cat /proc/mounts'.
616 1070
617 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1071 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
618 1072
619 Add initial support for the --quiet flag that suppress output. 1073 Add initial support for the --quiet flag that suppress output.
620 1074
621 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1075 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
622 1076
623 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 1077 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
624 as not all errors by depscan.sh is critical. It should be 1078 as not all errors by depscan.sh is critical. It should be
625 reworked to do better error handeling. 1079 reworked to do better error handeling.
626 1080
627 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1081 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
628 1082
629 Fix the GID and UID of nobody and nogroup in /etc/passwd and 1083 Fix the GID and UID of nobody and nogroup in /etc/passwd and
630 /etc/group to match those of Debian, FBSD and others. Thanks 1084 /etc/group to match those of Debian, FBSD and others. Thanks
631 to those who reported it, and Woodchip for looking up the 1085 to those who reported it, and Woodchip for looking up the
632 proper values. 1086 proper values.
633 1087
634 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1088 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
635 This resolves bug #1150, thanks to Paul Fleischer. 1089 This resolves bug #1150, thanks to Paul Fleischer.
636 1090
637 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1091 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
638 1092
639 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 1093 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
640 as some users have /usr on seperate partition which is not 1094 as some users have /usr on seperate partition which is not
641 mounted when depscan.sh is run the first time. 1095 mounted when depscan.sh is run the first time.
642 1096
643 Updated the checking for more than one service providing the 1097 Updated the checking for more than one service providing the
644 same virtual function in /etc/init.d/depscan.sh. It should 1098 same virtual function in /etc/init.d/depscan.sh. It should
645 be working now, and this also fix a problem that when there is no 1099 be working now, and this also fix a problem that when there is no
646 service providing a virtual, counter was used uninitialized. 1100 service providing a virtual, counter was used uninitialized.
647 1101
648* rc-scripts 1.3.0 (10 March 2002) 1102* rc-scripts 1.3.0 (10 Mar 2002)
649 1103
650 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1104 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
651 1105
652 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1106 Resolved bug #1021; updated /etc/init.d/consolefont for this.
653 1107
654 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1108 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
655 1109
674 Also fixed try() for mounting /proc (maybe all mount commands). 1128 Also fixed try() for mounting /proc (maybe all mount commands).
675 The function worked fine in a simulated test, but in real life failed 1129 The function worked fine in a simulated test, but in real life failed
676 to detect a error when mounting /proc (remember to thank Grant for 1130 to detect a error when mounting /proc (remember to thank Grant for
677 his UserMode ebuilds, and Guide). 1131 his UserMode ebuilds, and Guide).
678 1132
679* rc-scripts 1.2.9 (6 March 2002) 1133* rc-scripts 1.2.9 (6 Mar 2002)
680 1134
681 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1135 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
682 1136
683 General form updates and some piping fixes. 1137 General form updates and some piping fixes.
684 1138
685 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1139 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
686 to fix a problem where startDM.sh would be respawned repeatedly 1140 to fix a problem where startDM.sh would be respawned repeatedly
687 if xdm was not in the default runlevel. 1141 if xdm was not in the default runlevel.
688 1142
689* rc-scripts 1.2.8 (4 March 2002) 1143* rc-scripts 1.2.8 (4 Mar 2002)
690 1144
691 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1145 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
692 1146
693 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1147 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
694 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1148 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
695 move them to the xfree ebuild later on when things settles down. 1149 move them to the xfree ebuild later on when things settles down.
696 1150
700 where we had a invalid $PATH on boot in some cases. 1154 where we had a invalid $PATH on boot in some cases.
701 1155
702 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1156 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
703 the new sys-apps/kbd package. 1157 the new sys-apps/kbd package.
704 1158
705* rc-scripts 1.2.7 (3 March 2002) 1159* rc-scripts 1.2.7 (3 Mar 2002)
706 1160
707 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1161 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
708 1162
709 Fixed the problem of rc-scripts trying to start/stop a service multiple 1163 Fixed the problem of rc-scripts trying to start/stop a service multiple
710 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1164 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
711 for this. 1165 for this.
712 1166
714 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 1168 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
715 this. 1169 this.
716 1170
717 Added caching of the "depend() { need foo; } " lines, and updated 1171 Added caching of the "depend() { need foo; } " lines, and updated
718 /etc/init.d/depscan.sh to touch the actual files less. This should 1172 /etc/init.d/depscan.sh to touch the actual files less. This should
719 speedup dependancy caching a lot, especially on slow machines. 1173 speedup dependency caching a lot, especially on slow machines.
720 1174
721 Updated /etc/passwd to have users with no shell defined, use /bin/false 1175 Updated /etc/passwd to have users with no shell defined, use /bin/false
722 for security. 1176 for security.
723 1177
724 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1178 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
725 1179
726 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1180 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
727 1181
728 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1182 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
729 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1183 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
730 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1184 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
731 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1185 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
732 1186
733 Removed stopping of dependant services that have current service as 1187 Removed stopping of dependent services that have current service as
734 a 'use'dependancy ... should be less confusing now. 1188 a 'use'dependency ... should be less confusing now.
735 Updated /etc/init.d/runscript.sh for this. 1189 Updated /etc/init.d/runscript.sh for this.
736 1190
737 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1191 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
738 1192
739 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1193 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
821 Added the 'before' depend type. This is more for changing the 1275 Added the 'before' depend type. This is more for changing the
822 order services start in. Updated /etc/init.d/depscan.sh and 1276 order services start in. Updated /etc/init.d/depscan.sh and
823 /etc/init.d/functions.sh for this. 1277 /etc/init.d/functions.sh for this.
824 1278
825 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1279 Updated /etc/init.d/depscan.sh to work with '*' as argument for
826 dependancy types. This can be used with 'use' and 'before' to 1280 dependency types. This can be used with 'use' and 'before' to
827 start a script last or first respectively. 1281 start a script last or first respectively.
828 1282
829 Added save_options() and get_options() to /etc/init.d/functions.sh 1283 Added save_options() and get_options() to /etc/init.d/functions.sh
830 for saving misc settings between startup/shutdown. Updated 1284 for saving misc settings between startup/shutdown. Updated
831 /etc/init.d/net.eth0 to use these and properly down virtual 1285 /etc/init.d/net.eth0 to use these and properly down virtual
900 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1354 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
901 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1355 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
902 1356
903 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1357 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
904 1358
905 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1359 Updated /etc/init.d/depscan.sh to store info about missing dependencies
906 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1360 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
907 to use this when starting a script ('need' dependancies is critical for 1361 to use this when starting a script ('need' dependencies is critical for
908 startup). Added the broken() function to /etc/init.d/runscript.sh 1362 startup). Added the broken() function to /etc/init.d/runscript.sh
909 to list the missing dependancies. 1363 to list the missing dependencies.
910 1364
911 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1365 Updated /etc/init.d/runscript.sh for svc_start() to have better error
912 checking. 1366 checking.
913 1367
914 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1368 Updated /etc/init.d/functions.sh with ewend(), which is the same as
1147 1601
1148* rc-scripts 1.1.7 (18 Oct 2001) 1602* rc-scripts 1.1.7 (18 Oct 2001)
1149 1603
1150[old changelog format follows] 1604[old changelog format follows]
1151 1605
1152 *lots of scripts; woodchip 1606 *lots of scripts; woodchip
1153 removed old rc5 scripts from cvs 1607 removed old rc5 scripts from cvs
1154 1608
1155 *init.d/runscript.sh; agriffis 1609 *init.d/runscript.sh; agriffis
1156 Added support for rc.conf and home-grown functions 1610 Added support for rc.conf and home-grown functions
1157 1611
1158 *init.d/modules; 1612 *init.d/modules;
1159 Now correctly looks at /etc/modules.autoload 1613 Now correctly looks at /etc/modules.autoload
1160 1614
1161rc-scripts-1.1.6, released 15 Sep 2001 1615rc-scripts-1.1.6, released 15 Sep 2001
1162====================================== 1616======================================
1163 1617
1164 *init.d/runscript.sh, others 1618 *init.d/runscript.sh, others
1165 Handling of "net" dependencies resolve to all net devices in 1619 Handling of "net" dependencies resolve to all net devices in
1166 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1620 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1167 variable in /etc/rc.conf has been removed. 1621 variable in /etc/rc.conf has been removed.
1168 1622
1169 *init.d/runscript.sh 1623 *init.d/runscript.sh
1170 New "zap" option for manually resetting the state of an initscript 1624 New "zap" option for manually resetting the state of an initscript
1171 to stopped. 1625 to stopped.
1172 1626
1173 *init.d/{samba,sysklogd,sshd} 1627 *init.d/{samba,sysklogd,sshd}
1174 Removed from CVS; they live in their respective packages. 1628 Removed from CVS; they live in their respective packages.
1175 1629
1176rc-scripts-1.1.5, released 02 Sep 2001 1630rc-scripts-1.1.5, released 02 Sep 2001
1177==================================== 1631====================================
1178 1632
1179 *sbin/rc-update 1633 *sbin/rc-update
1180 New version of the rc-update command for the new initscripts. Works 1634 New version of the rc-update command for the new initscripts. Works
1181 similarly to the old version, except this one updates our dependency 1635 similarly to the old version, except this one updates our dependency
1182 cache. 1636 cache.
1183 1637
1184 *init.d/functions.sh 1638 *init.d/functions.sh
1185 New and better looking informational message functions (einfo, einfon). 1639 New and better looking informational message functions (einfo, einfon).
1186 Brand new message functions (ewarn). 1640 Brand new message functions (ewarn).
1187 1641
1188 *sbin/init, init.d/checkroot 1642 *sbin/init, init.d/checkroot
1189 We're going back to a /proc/mounts-based mtab symlink because it's 1643 We're going back to a /proc/mounts-based mtab symlink because it's
1190 just plain better. Appropriate changes made. 1644 just plain better. Appropriate changes made.
1191 1645
1192# vim:expandtab 1646# vim:expandtab

Legend:
Removed from v.293  
changed lines
  Added in v.359

  ViewVC Help
Powered by ViewVC 1.1.20