/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 304 Revision 368
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002-2003 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 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.
4 472
5* rc-scripts 1.4.3.2 (15 Jan 2003) 473* rc-scripts 1.4.3.2 (15 Jan 2003)
6 474
7 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: 475 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
8 476
554 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 1022 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
555 1023
556 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 1024 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
557 and is needed for some fixes. 1025 and is needed for some fixes.
558 1026
559 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1027 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
560 1028
561 Update /etc/rc.conf to be more clear and state that you should 1029 Update /etc/rc.conf to be more clear and state that you should
562 remove consolefont from startup if you do not use it. Should 1030 remove consolefont from startup if you do not use it. Should
563 resolve bug #2174. 1031 resolve bug #2174.
564 1032
565 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 1033 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
566 1034
567 Added user/group apache with uid/gid 81. 1035 Added user/group apache with uid/gid 81.
568 1036
569 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1037 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
570 1038
571 Remove the "-net" from the line setting the default gateway 1039 Remove the "-net" from the line setting the default gateway
572 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 1040 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
573 noting this. 1041 noting this.
574 1042
575 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 1043 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
576 1044
577 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 1045 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
578 which is installed with the nfs-utils package. Also tidied up some 1046 which is installed with the nfs-utils package. Also tidied up some
579 really old, leftover junk like the non-supported stuff from rc5. 1047 really old, leftover junk like the non-supported stuff from rc5.
580 Closes #1754. 1048 Closes #1754.
581 1049
582 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1050 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
583 1051
584 Remove creation of /var/run/utmpx from bootmisc again. Seems 1052 Remove creation of /var/run/utmpx from bootmisc again. Seems
585 other people have wierd problems. 1053 other people have wierd problems.
586 1054
587* rc-scripts 1.3.4 (21 April 2002) 1055* rc-scripts 1.3.4 (21 Apr 2002)
588 1056
589 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1057 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
590 1058
591 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 1059 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
592 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 1060 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
593 1061
594 Implement the status commandline argument. Updated /sbin/runscript.sh 1062 Implement the status commandline argument. Updated /sbin/runscript.sh
595 and /sbin/rc-help.sh for this. 1063 and /sbin/rc-help.sh for this.
596 1064
597 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 1065 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
598 and AFTER. 1066 and AFTER.
599 1067
600 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1068 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
601 1069
602 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 1070 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
603 is needed, else /usr/bin/newgrp segfault. 1071 is needed, else /usr/bin/newgrp segfault.
604 1072
605 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1073 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
606 1074
607 Update /etc/skel/.bash_profile to make it tcsh compadible. 1075 Update /etc/skel/.bash_profile to make it tcsh compadible.
608 Thanks to Väinö Järvelä for this fix. 1076 Thanks to Väinö Järvelä for this fix.
609 1077
610 Update /etc/profile to also set the PS? variables if $SHELL 1078 Update /etc/profile to also set the PS? variables if $SHELL
612 bootstrap work again. 1080 bootstrap work again.
613 1081
614 Move LVM stuff to checkfs to ensure that they get fscked. 1082 Move LVM stuff to checkfs to ensure that they get fscked.
615 This resolves bug #1552. 1083 This resolves bug #1552.
616 1084
617* rc-scripts 1.3.3 (5 April 2002) 1085* rc-scripts 1.3.3 (5 Apr 2002)
618 1086
619 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1087 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
620 1088
621 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 1089 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
622 This is done to try and ensure system integrity. 1090 This is done to try and ensure system integrity.
623 1091
624 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1092 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
625 1093
626 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 1094 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
627 1095
628 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 1096 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
629 1097
630 Add a bash check to the code that sets the prompt, fixing bug #1078. 1098 Add a bash check to the code that sets the prompt, fixing bug #1078.
631 1099
632* rc-scripts 1.3.2 (24 Mar 2002) 1100* rc-scripts 1.3.2 (24 Mar 2002)
633 1101
634 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1102 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
635 1103
636 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 1104 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
637 for this. 1105 for this.
638 1106
639 With the "before" and "after" stuff, recursion levels was getting too high, 1107 With the "before" and "after" stuff, recursion levels was getting too high,
653 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 1121 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
654 and it seems it has fallen now to my discression. 1122 and it seems it has fallen now to my discression.
655 1123
656* rc-scripts 1.3.1 (23 Mar 2002) 1124* rc-scripts 1.3.1 (23 Mar 2002)
657 1125
658 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 1126 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
659 DHCP lease release from Jim Nutt. 1127 DHCP lease release from Jim Nutt.
660 1128
661 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1129 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
662 since there are a lot of important bug fixes in here that are needed. 1130 since there are a lot of important bug fixes in here that are needed.
663 1131
664 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1132 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
665 1133
666 Resolve bug #1292. 1134 Resolve bug #1292.
667 1135
668 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1136 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
669 Spidler. 1137 Spidler.
670 1138
671 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1139 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
672 1140
673 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1141 Update /sbin/rc to fix a 'cat mounts' instead of the correct
674 version, 'cat /proc/mounts'. 1142 version, 'cat /proc/mounts'.
675 1143
676 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1144 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
677 1145
678 Add initial support for the --quiet flag that suppress output. 1146 Add initial support for the --quiet flag that suppress output.
679 1147
680 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1148 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
681 1149
682 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
683 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
684 reworked to do better error handeling. 1152 reworked to do better error handeling.
685 1153
686 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1154 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
687 1155
688 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
689 /etc/group to match those of Debian, FBSD and others. Thanks 1157 /etc/group to match those of Debian, FBSD and others. Thanks
690 to those who reported it, and Woodchip for looking up the 1158 to those who reported it, and Woodchip for looking up the
691 proper values. 1159 proper values.
692 1160
693 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1161 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
694 This resolves bug #1150, thanks to Paul Fleischer. 1162 This resolves bug #1150, thanks to Paul Fleischer.
695 1163
696 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1164 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
697 1165
698 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,
699 as some users have /usr on seperate partition which is not 1167 as some users have /usr on seperate partition which is not
700 mounted when depscan.sh is run the first time. 1168 mounted when depscan.sh is run the first time.
701 1169
702 Updated the checking for more than one service providing the 1170 Updated the checking for more than one service providing the
703 same virtual function in /etc/init.d/depscan.sh. It should 1171 same virtual function in /etc/init.d/depscan.sh. It should
704 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
705 service providing a virtual, counter was used uninitialized. 1173 service providing a virtual, counter was used uninitialized.
706 1174
707* rc-scripts 1.3.0 (10 March 2002) 1175* rc-scripts 1.3.0 (10 Mar 2002)
708 1176
709 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1177 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
710 1178
711 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1179 Resolved bug #1021; updated /etc/init.d/consolefont for this.
712 1180
713 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1181 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
714 1182
733 Also fixed try() for mounting /proc (maybe all mount commands). 1201 Also fixed try() for mounting /proc (maybe all mount commands).
734 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
735 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
736 his UserMode ebuilds, and Guide). 1204 his UserMode ebuilds, and Guide).
737 1205
738* rc-scripts 1.2.9 (6 March 2002) 1206* rc-scripts 1.2.9 (6 Mar 2002)
739 1207
740 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1208 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
741 1209
742 General form updates and some piping fixes. 1210 General form updates and some piping fixes.
743 1211
744 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
745 to fix a problem where startDM.sh would be respawned repeatedly 1213 to fix a problem where startDM.sh would be respawned repeatedly
746 if xdm was not in the default runlevel. 1214 if xdm was not in the default runlevel.
747 1215
748* rc-scripts 1.2.8 (4 March 2002) 1216* rc-scripts 1.2.8 (4 Mar 2002)
749 1217
750 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1218 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
751 1219
752 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1220 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
753 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1221 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
754 move them to the xfree ebuild later on when things settles down. 1222 move them to the xfree ebuild later on when things settles down.
755 1223
759 where we had a invalid $PATH on boot in some cases. 1227 where we had a invalid $PATH on boot in some cases.
760 1228
761 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
762 the new sys-apps/kbd package. 1230 the new sys-apps/kbd package.
763 1231
764* rc-scripts 1.2.7 (3 March 2002) 1232* rc-scripts 1.2.7 (3 Mar 2002)
765 1233
766 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1234 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
767 1235
768 Fixed the problem of rc-scripts trying to start/stop a service multiple 1236 Fixed the problem of rc-scripts trying to start/stop a service multiple
769 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1237 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
770 for this. 1238 for this.
771 1239
773 /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
774 this. 1242 this.
775 1243
776 Added caching of the "depend() { need foo; } " lines, and updated 1244 Added caching of the "depend() { need foo; } " lines, and updated
777 /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
778 speedup dependancy caching a lot, especially on slow machines. 1246 speedup dependency caching a lot, especially on slow machines.
779 1247
780 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
781 for security. 1249 for security.
782 1250
783 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.
784 1252
785 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1253 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
786 1254
787 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1255 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
788 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1256 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
789 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1257 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
790 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1258 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
791 1259
792 Removed stopping of dependant services that have current service as 1260 Removed stopping of dependent services that have current service as
793 a 'use'dependancy ... should be less confusing now. 1261 a 'use'dependency ... should be less confusing now.
794 Updated /etc/init.d/runscript.sh for this. 1262 Updated /etc/init.d/runscript.sh for this.
795 1263
796 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1264 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
797 1265
798 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1266 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
880 Added the 'before' depend type. This is more for changing the 1348 Added the 'before' depend type. This is more for changing the
881 order services start in. Updated /etc/init.d/depscan.sh and 1349 order services start in. Updated /etc/init.d/depscan.sh and
882 /etc/init.d/functions.sh for this. 1350 /etc/init.d/functions.sh for this.
883 1351
884 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
885 dependancy types. This can be used with 'use' and 'before' to 1353 dependency types. This can be used with 'use' and 'before' to
886 start a script last or first respectively. 1354 start a script last or first respectively.
887 1355
888 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
889 for saving misc settings between startup/shutdown. Updated 1357 for saving misc settings between startup/shutdown. Updated
890 /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
959 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1427 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
960 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1428 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
961 1429
962 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1430 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
963 1431
964 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1432 Updated /etc/init.d/depscan.sh to store info about missing dependencies
965 of 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
966 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
967 startup). Added the broken() function to /etc/init.d/runscript.sh 1435 startup). Added the broken() function to /etc/init.d/runscript.sh
968 to list the missing dependancies. 1436 to list the missing dependencies.
969 1437
970 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
971 checking. 1439 checking.
972 1440
973 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
1206 1674
1207* rc-scripts 1.1.7 (18 Oct 2001) 1675* rc-scripts 1.1.7 (18 Oct 2001)
1208 1676
1209[old changelog format follows] 1677[old changelog format follows]
1210 1678
1211 *lots of scripts; woodchip 1679 *lots of scripts; woodchip
1212 removed old rc5 scripts from cvs 1680 removed old rc5 scripts from cvs
1213 1681
1214 *init.d/runscript.sh; agriffis 1682 *init.d/runscript.sh; agriffis
1215 Added support for rc.conf and home-grown functions 1683 Added support for rc.conf and home-grown functions
1216 1684
1217 *init.d/modules; 1685 *init.d/modules;
1218 Now correctly looks at /etc/modules.autoload 1686 Now correctly looks at /etc/modules.autoload
1219 1687
1220rc-scripts-1.1.6, released 15 Sep 2001 1688rc-scripts-1.1.6, released 15 Sep 2001
1221====================================== 1689======================================
1222 1690
1223 *init.d/runscript.sh, others 1691 *init.d/runscript.sh, others
1224 Handling of "net" dependencies resolve to all net devices in 1692 Handling of "net" dependencies resolve to all net devices in
1225 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1693 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1226 variable in /etc/rc.conf has been removed. 1694 variable in /etc/rc.conf has been removed.
1227 1695
1228 *init.d/runscript.sh 1696 *init.d/runscript.sh
1229 New "zap" option for manually resetting the state of an initscript 1697 New "zap" option for manually resetting the state of an initscript
1230 to stopped. 1698 to stopped.
1231 1699
1232 *init.d/{samba,sysklogd,sshd} 1700 *init.d/{samba,sysklogd,sshd}
1233 Removed from CVS; they live in their respective packages. 1701 Removed from CVS; they live in their respective packages.
1234 1702
1235rc-scripts-1.1.5, released 02 Sep 2001 1703rc-scripts-1.1.5, released 02 Sep 2001
1236==================================== 1704====================================
1237 1705
1238 *sbin/rc-update 1706 *sbin/rc-update
1239 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
1240 similarly to the old version, except this one updates our dependency 1708 similarly to the old version, except this one updates our dependency
1241 cache. 1709 cache.
1242 1710
1243 *init.d/functions.sh 1711 *init.d/functions.sh
1244 New and better looking informational message functions (einfo, einfon). 1712 New and better looking informational message functions (einfo, einfon).
1245 Brand new message functions (ewarn). 1713 Brand new message functions (ewarn).
1246 1714
1247 *sbin/init, init.d/checkroot 1715 *sbin/init, init.d/checkroot
1248 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
1249 just plain better. Appropriate changes made. 1717 just plain better. Appropriate changes made.
1250 1718
1251# vim:expandtab 1719# vim:expandtab

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

  ViewVC Help
Powered by ViewVC 1.1.20