/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 314 Revision 364
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 4
5* rc-scripts 1.4.3.8 (20 May 2003)
6
7 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
8
9 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
10 rc-service.sh to handle this, thanks to YAMAKURA Makoto
11 <makoto@dsb.club.ne.jp>.
12
13 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
14 about the host it is running on.
15
16 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
17
18 Do not let devfsd handle /dev/log's permission management, as it breaks
19 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
20 <pebenito@gentoo.org>.
21
22 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
23
24 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
25
26 We should not export the RC_GOT_* variables, as it breaks on some systems,
27 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
28
29 From C. Brewer <killian@gentoo.org>:
30 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
31 suppose to be default, but why take chances?
32 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
33 kppp complaint.
34
35 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
36
37 For the network functions, the dependency code tried to create a funcion
38 with a '.' in the name, causing the network rc-scripts to not have any
39 dependencies. This should fix bug #20849 's order issue, thanks to
40 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
41
42 Fix query_{before,after} to also check 'net' if 'service2' is a network
43 service.
44
45 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
46
47 More cleanups:
48 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
49 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
50 this.
51 - Add functions for more common tasks in /sbin/runscript.sh to
52 /sbin/rc-services.sh.
53 - Move 'consoletype' to /sbin.
54 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
55 /etc/init.d/bootmisc for this.
56 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
57 - Improve detection of circular depends ... modified gendepend.awk for this.
58
59* rc-scripts 1.4.3.7 (11 May 2003)
60
61 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
62
63 Too many things to remember, so here is changes of note:
64 - More changes to gendepend.awk. This basically modifies it to not use
65 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
66 create a file that can be sourced. Seems to speedup things nicely.
67 - Add /sbin/rc-services.sh. This is basically a module to get dependency
68 info from the new $svcdir/deptree, and some other new service functions.
69 - Modify the whole works to *only* source all needed files once. This
70 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
71 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
72 is sourced more than once (actually each time a service is started or
73 stopped, but is is cut down much). Also seems to speed things up again.
74 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
75 dependency to not be actually used in shutdown, causing the services
76 needing it to be stoped before net.* services.
77 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
78 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
79 startup of services, and seems to work nicely. Only issues to date is
80 that printing of messages is not synced, and a race very intermittantly
81 that causes a service to be started when it was already scheduled.
82 - Add a new dependency type 'parallel' that can be used to control if a
83 service can be started in paralled or not. Possible arguments is "yes"
84 or "no"; if it is not present, it is considered as "yes":
85
86 depend() {
87 parallel yes|no
88 }
89
90 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
91 - Fix the 'single' runlevel to actually work properly, and without a
92 /etc/runlevels/single directory.
93 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
94 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
95
96 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
97
98 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
99 and adding more sanity checks.
100
101 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
102
103 Revert /etc/init.d/hostname the way it was, as it should be the user's
104 choice if he want to have a FQDN in there or not, bug #14946.
105
106 Add /etc/init.d/domainname for those that want to use it.
107
108 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
109
110 Change the root check back the way it was, else it breaks with non bash
111 shells; modified /etc/profile.
112
113 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
114
115 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
116
117 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
118
119 Add various patches from Rachel Holmes <rach@gmx.net>:
120
121 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
122 purpose. Modified:
123
124 /etc/init.d/net.ppp0
125 /etc/init.d/nscd
126 /sbin/functions.sh
127 /sbin/rc
128 /sbin/rc-daemon.sh
129 /sbin/rc-envupdate.sh.bash
130 /sbin/runscript.sh
131
132 Exchanged some gratuitous use of awk for grep. Awk is a little resource
133 hungry just for a simple test. (I [azarah] did not apply the changes to
134 tests for 'devfs', as having 'usbdevfs' in the equation will break
135 things). Modified /sbin/rc for this.
136
137 Gentoo enforces having /proc, so uname -r is a little redundant when the
138 information is available without an external command. Modified:
139
140 /etc/init.d/modules
141 /etc/init.d/serial
142 /sbin/functions.sh
143 /sbin/modules-update
144
145 Changed 'id -u' commands to use $EUID in bash executed scripts, same
146 result no extra command. Modified:
147
148 /sbin/rc-envupdate.sh
149 /sbin/rc-envupdate.sh.bash
150 /sbin/rc-update
151
152 Removed all the cat sections, and the separate echo sections. The output
153 is _exactly_ the same, minus some spare spaces that have been removed.
154 Fourfold speed increase in the (granted flimsy) tests I have done.
155 Modified /sbin/rc-help.sh for this.
156
157 Final remaining 'cat' commands removed, in favour of using bash's internal
158 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
159 i18n anyway. Modified:
160
161 /sbin/rc
162 /sbin/rc-envupdate.sh
163 /sbin/rc-envupdate.sh.bash
164
165
166
167* rc-scripts 1.4.3.6 (27 Apr 2003)
168
169 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
170
171 Add a 'save' function /etc/init.d/clock, bug #19685.
172
173 Add a slocate group to /etc/group, bug #19604.
174
175 Do not stop a network service if we do not reboot on runlevel change,
176 as it could have been started by the user or hotplug. This should
177 address bug #12763; modified /sbin/rc for this.
178
179 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
180 domainname.
181
182 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
183 This should close bug #16884.
184
185 Fix /etc/profile to be /bin/sh compadible, bug #18918.
186
187 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
188 be more 'generic' ? Only try to disable swap if any devices/files was
189 activated. This should close bug #19089.
190
191 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
192 rw in /etc/fstab, bug #19158.
193
194 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
195
196 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
197 but the ppp link was already down, bug #15333.
198
199 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
200
201 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
202 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
203
204 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
205 updated /sbin/rc for this.
206
207 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
208
209 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
210
211 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
212
213 Make checking in unmount more strict, fixing bug #19007.
214
215 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
216
217 Add one more check to genenviron.awk, to spot cases where there is a
218 space between the variable and the '='.
219
220 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
221
222 Fix interactive shell not to have coloured prompt when used as a
223 dumb client, bug #18886. Fix was inspired by patch from
224 Matthew Kennedy <mkennedy@gentoo.org>.
225
226* rc-scripts 1.4.3.5 (06 Apr 2003)
227
228 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
229
230 Hopefully get the serial support sane again. Added /bin/consoletype
231 from Redhat to check for serial console. This should resolve bug
232 #18329 partly.
233
234 Add the --nocolor option to suppress the use of colors.
235
236 Change the 'status' option to return true if the service is running,
237 and false if stopped. This is only if the '--quiet' flag was also
238 given.
239
240 Change the start and stop options not to output or return false if
241 the '--quiet' flag was given.
242
243 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
244 as well, fixing bug #18344.
245
246 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
247 Aron Griffis <agriffis@gentoo.org>.
248
249 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
250 or rebooting.
251
252 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
253
254 Fix bug #18329 ... $COLS was not setup properly for serial console.
255
256 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
257
258 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
259 Fix a problem where it might not have mounted the USB fs when usbcore
260 was compiled as module, and the kernel did not mount it by the time
261 the script was started. Get it to rather check what filesystems is
262 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
263 later 2.4 kernels now also support the newer 'usbfs'.
264
265 Optimize RAID stuff in /etc/init.d/checkfs a bit.
266
267 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
268
269 Update sbin/rc-envupdate.sh.bash for bug #17549.
270
271* rc-scripts 1.4.3.4 (16 Mar 2003)
272
273 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
274
275 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
276 modifications (purple and display hostname, etc). Closes bug #16806.
277
278 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
279 work properly. Closes bug #17348.
280
281 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
282 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
283
284 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
285
286 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
287 <lostlogic@gentoo.org>!
288
289 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
290
291 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
292 and /etc/init.d/halt.sh for this.
293
294 Update /etc/fstab to correctly mount /proc with:
295
296 mount -t proc none /proc
297
298 Do the same for /dev/shm:
299
300 mount -t tmpfs none /dev/shm
301
302 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
303 noise if we exited a recovery console.
304
305 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
306 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
307
308 Bring down default gateway before adding new one .. this fixes issues
309 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
310 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
311 fix.
312
313 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
314 it fails for module-init-tools if the module is already loaded. This
315 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
316
317* rc-scripts 1.4.3.3 (09 Mar 2003)
318
319 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
320
321 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
322
323 Fix net.eth0 not to try and start an interface if already up.
324
325 Update MAKEDEV from Debian to support more archs. This adds support
326 for 'arm', 'hppa' among others. URL:
327
328 http://packages.debian.org/stable/base/makedev.html
329
330 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
331 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
332 are using a 2.5 kernel ... bug #17109.
333
334 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
335
336 Update /etc/init.d/hostname to only set the hostname to whatever is before
337 the first '.', and then set the domainname to the rest, closing bug #14946.
338
339 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
340
341 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
342
343 Fix spelling of dependency and some other spelling/grammer issues.
344 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
345 Mike Frysinger <vapier@gentoo.org>, bug #15498.
346
347 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
348
349 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
350
351 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
352 bug #14556.
353
354 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
355
356 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
357
358 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
359
360 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
361 to 'test -c /dev/ttyp0 &> /dev/null'.
362
363 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
364
365 Update /sbin/modules-update to generate /etc/modprobe.devfs from
366 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
367 module-init-tools-0.9.9 should get rid of many of the warnings/errors
368 with devfs, and makes it work a bit better.
369
370 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
371
372 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
373
374 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
375
376 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
377 support. This resolves bug #14994.
378
379 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
380 according to /etc/rc.conf.
381
382 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
383 and used 'basename' which is located in /usr/bin.
384
385 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
386
387 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
388 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
389 this.
390
391 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
392
393 Update src/awk/genenviron.awk to properly set the environment for each
394 rc-script's depend() function by sourcing required config files.
395
396 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
397
398 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
399 to Max Kalika <alkern23@yahoo.com>, bug #15050.
400
401 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
402
403 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
404
5 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: 405 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
6 406
7 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to 407 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
8 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>. 408 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
9 409
22 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from 422 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
23 Malcolm Scott <m@lcolm.org.uk>. 423 Malcolm Scott <m@lcolm.org.uk>.
24 424
25 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: 425 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
26 426
27 Updated /etc/rc.conf to add elogind support #13790. 427 Updated /etc/rc.conf to add elogin/entrance support #13790.
28 428
29 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: 429 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
30 430
31 Update /etc/init.d/keymaps to enable unicode if required. This closes 431 Update /etc/init.d/keymaps to enable unicode if required. This closes
32 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. 432 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
603 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 1003 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
604 1004
605 Add /etc/DIR_COLORS as it is no longer shipped with fileutils, 1005 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
606 and is needed for some fixes. 1006 and is needed for some fixes.
607 1007
608 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1008 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
609 1009
610 Update /etc/rc.conf to be more clear and state that you should 1010 Update /etc/rc.conf to be more clear and state that you should
611 remove consolefont from startup if you do not use it. Should 1011 remove consolefont from startup if you do not use it. Should
612 resolve bug #2174. 1012 resolve bug #2174.
613 1013
614 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 1014 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
615 1015
616 Added user/group apache with uid/gid 81. 1016 Added user/group apache with uid/gid 81.
617 1017
618 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1018 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
619 1019
620 Remove the "-net" from the line setting the default gateway 1020 Remove the "-net" from the line setting the default gateway
621 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for 1021 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
622 noting this. 1022 noting this.
623 1023
624 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 1024 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
625 1025
626 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs 1026 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
627 which is installed with the nfs-utils package. Also tidied up some 1027 which is installed with the nfs-utils package. Also tidied up some
628 really old, leftover junk like the non-supported stuff from rc5. 1028 really old, leftover junk like the non-supported stuff from rc5.
629 Closes #1754. 1029 Closes #1754.
630 1030
631 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1031 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
632 1032
633 Remove creation of /var/run/utmpx from bootmisc again. Seems 1033 Remove creation of /var/run/utmpx from bootmisc again. Seems
634 other people have wierd problems. 1034 other people have wierd problems.
635 1035
636* rc-scripts 1.3.4 (21 April 2002) 1036* rc-scripts 1.3.4 (21 Apr 2002)
637 1037
638 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1038 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
639 1039
640 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, 1040 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
641 and /etc/csh.env. Update /etc/init.d/bootmisc to use this. 1041 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
642 1042
643 Implement the status commandline argument. Updated /sbin/runscript.sh 1043 Implement the status commandline argument. Updated /sbin/runscript.sh
644 and /sbin/rc-help.sh for this. 1044 and /sbin/rc-help.sh for this.
645 1045
646 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 1046 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
647 and AFTER. 1047 and AFTER.
648 1048
649 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1049 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
650 1050
651 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 1051 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
652 is needed, else /usr/bin/newgrp segfault. 1052 is needed, else /usr/bin/newgrp segfault.
653 1053
654 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1054 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
655 1055
656 Update /etc/skel/.bash_profile to make it tcsh compadible. 1056 Update /etc/skel/.bash_profile to make it tcsh compadible.
657 Thanks to Väinö Järvelä for this fix. 1057 Thanks to Väinö Järvelä for this fix.
658 1058
659 Update /etc/profile to also set the PS? variables if $SHELL 1059 Update /etc/profile to also set the PS? variables if $SHELL
661 bootstrap work again. 1061 bootstrap work again.
662 1062
663 Move LVM stuff to checkfs to ensure that they get fscked. 1063 Move LVM stuff to checkfs to ensure that they get fscked.
664 This resolves bug #1552. 1064 This resolves bug #1552.
665 1065
666* rc-scripts 1.3.3 (5 April 2002) 1066* rc-scripts 1.3.3 (5 Apr 2002)
667 1067
668 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1068 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
669 1069
670 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. 1070 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
671 This is done to try and ensure system integrity. 1071 This is done to try and ensure system integrity.
672 1072
673 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1073 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
674 1074
675 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. 1075 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
676 1076
677 Add a error message to /etc/init.d/consolefont, resolving bug #1415. 1077 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
678 1078
679 Add a bash check to the code that sets the prompt, fixing bug #1078. 1079 Add a bash check to the code that sets the prompt, fixing bug #1078.
680 1080
681* rc-scripts 1.3.2 (24 Mar 2002) 1081* rc-scripts 1.3.2 (24 Mar 2002)
682 1082
683 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1083 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
684 1084
685 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc 1085 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
686 for this. 1086 for this.
687 1087
688 With the "before" and "after" stuff, recursion levels was getting too high, 1088 With the "before" and "after" stuff, recursion levels was getting too high,
702 Added $INPUTRC to /etc/profile, since too many people keep on bugging me, 1102 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
703 and it seems it has fallen now to my discression. 1103 and it seems it has fallen now to my discression.
704 1104
705* rc-scripts 1.3.1 (23 Mar 2002) 1105* rc-scripts 1.3.1 (23 Mar 2002)
706 1106
707 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for 1107 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
708 DHCP lease release from Jim Nutt. 1108 DHCP lease release from Jim Nutt.
709 1109
710 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release 1110 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
711 since there are a lot of important bug fixes in here that are needed. 1111 since there are a lot of important bug fixes in here that are needed.
712 1112
713 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1113 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
714 1114
715 Resolve bug #1292. 1115 Resolve bug #1292.
716 1116
717 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to 1117 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
718 Spidler. 1118 Spidler.
719 1119
720 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1120 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
721 1121
722 Update /sbin/rc to fix a 'cat mounts' instead of the correct 1122 Update /sbin/rc to fix a 'cat mounts' instead of the correct
723 version, 'cat /proc/mounts'. 1123 version, 'cat /proc/mounts'.
724 1124
725 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1125 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
726 1126
727 Add initial support for the --quiet flag that suppress output. 1127 Add initial support for the --quiet flag that suppress output.
728 1128
729 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1129 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
730 1130
731 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc 1131 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
732 as not all errors by depscan.sh is critical. It should be 1132 as not all errors by depscan.sh is critical. It should be
733 reworked to do better error handeling. 1133 reworked to do better error handeling.
734 1134
735 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1135 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
736 1136
737 Fix the GID and UID of nobody and nogroup in /etc/passwd and 1137 Fix the GID and UID of nobody and nogroup in /etc/passwd and
738 /etc/group to match those of Debian, FBSD and others. Thanks 1138 /etc/group to match those of Debian, FBSD and others. Thanks
739 to those who reported it, and Woodchip for looking up the 1139 to those who reported it, and Woodchip for looking up the
740 proper values. 1140 proper values.
741 1141
742 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1142 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
743 This resolves bug #1150, thanks to Paul Fleischer. 1143 This resolves bug #1150, thanks to Paul Fleischer.
744 1144
745 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1145 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
746 1146
747 Updated /etc/init.d/functions.sh not to use /usr/bin/basename, 1147 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
748 as some users have /usr on seperate partition which is not 1148 as some users have /usr on seperate partition which is not
749 mounted when depscan.sh is run the first time. 1149 mounted when depscan.sh is run the first time.
750 1150
751 Updated the checking for more than one service providing the 1151 Updated the checking for more than one service providing the
752 same virtual function in /etc/init.d/depscan.sh. It should 1152 same virtual function in /etc/init.d/depscan.sh. It should
753 be working now, and this also fix a problem that when there is no 1153 be working now, and this also fix a problem that when there is no
754 service providing a virtual, counter was used uninitialized. 1154 service providing a virtual, counter was used uninitialized.
755 1155
756* rc-scripts 1.3.0 (10 March 2002) 1156* rc-scripts 1.3.0 (10 Mar 2002)
757 1157
758 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1158 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
759 1159
760 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1160 Resolved bug #1021; updated /etc/init.d/consolefont for this.
761 1161
762 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1162 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
763 1163
782 Also fixed try() for mounting /proc (maybe all mount commands). 1182 Also fixed try() for mounting /proc (maybe all mount commands).
783 The function worked fine in a simulated test, but in real life failed 1183 The function worked fine in a simulated test, but in real life failed
784 to detect a error when mounting /proc (remember to thank Grant for 1184 to detect a error when mounting /proc (remember to thank Grant for
785 his UserMode ebuilds, and Guide). 1185 his UserMode ebuilds, and Guide).
786 1186
787* rc-scripts 1.2.9 (6 March 2002) 1187* rc-scripts 1.2.9 (6 Mar 2002)
788 1188
789 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1189 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
790 1190
791 General form updates and some piping fixes. 1191 General form updates and some piping fixes.
792 1192
793 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 1193 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
794 to fix a problem where startDM.sh would be respawned repeatedly 1194 to fix a problem where startDM.sh would be respawned repeatedly
795 if xdm was not in the default runlevel. 1195 if xdm was not in the default runlevel.
796 1196
797* rc-scripts 1.2.8 (4 March 2002) 1197* rc-scripts 1.2.8 (4 Mar 2002)
798 1198
799 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1199 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
800 1200
801 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab 1201 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
802 to fix the "dead key" problem we had with xdm/gdm/kdm. We should 1202 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
803 move them to the xfree ebuild later on when things settles down. 1203 move them to the xfree ebuild later on when things settles down.
804 1204
808 where we had a invalid $PATH on boot in some cases. 1208 where we had a invalid $PATH on boot in some cases.
809 1209
810 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 1210 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
811 the new sys-apps/kbd package. 1211 the new sys-apps/kbd package.
812 1212
813* rc-scripts 1.2.7 (3 March 2002) 1213* rc-scripts 1.2.7 (3 Mar 2002)
814 1214
815 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1215 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
816 1216
817 Fixed the problem of rc-scripts trying to start/stop a service multiple 1217 Fixed the problem of rc-scripts trying to start/stop a service multiple
818 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc 1218 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
819 for this. 1219 for this.
820 1220
822 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 1222 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
823 this. 1223 this.
824 1224
825 Added caching of the "depend() { need foo; } " lines, and updated 1225 Added caching of the "depend() { need foo; } " lines, and updated
826 /etc/init.d/depscan.sh to touch the actual files less. This should 1226 /etc/init.d/depscan.sh to touch the actual files less. This should
827 speedup dependancy caching a lot, especially on slow machines. 1227 speedup dependency caching a lot, especially on slow machines.
828 1228
829 Updated /etc/passwd to have users with no shell defined, use /bin/false 1229 Updated /etc/passwd to have users with no shell defined, use /bin/false
830 for security. 1230 for security.
831 1231
832 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1232 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
833 1233
834 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1234 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
835 1235
836 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1236 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
837 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1237 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
838 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1238 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
839 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1239 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
840 1240
841 Removed stopping of dependant services that have current service as 1241 Removed stopping of dependent services that have current service as
842 a 'use'dependancy ... should be less confusing now. 1242 a 'use'dependency ... should be less confusing now.
843 Updated /etc/init.d/runscript.sh for this. 1243 Updated /etc/init.d/runscript.sh for this.
844 1244
845 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1245 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
846 1246
847 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1247 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
929 Added the 'before' depend type. This is more for changing the 1329 Added the 'before' depend type. This is more for changing the
930 order services start in. Updated /etc/init.d/depscan.sh and 1330 order services start in. Updated /etc/init.d/depscan.sh and
931 /etc/init.d/functions.sh for this. 1331 /etc/init.d/functions.sh for this.
932 1332
933 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1333 Updated /etc/init.d/depscan.sh to work with '*' as argument for
934 dependancy types. This can be used with 'use' and 'before' to 1334 dependency types. This can be used with 'use' and 'before' to
935 start a script last or first respectively. 1335 start a script last or first respectively.
936 1336
937 Added save_options() and get_options() to /etc/init.d/functions.sh 1337 Added save_options() and get_options() to /etc/init.d/functions.sh
938 for saving misc settings between startup/shutdown. Updated 1338 for saving misc settings between startup/shutdown. Updated
939 /etc/init.d/net.eth0 to use these and properly down virtual 1339 /etc/init.d/net.eth0 to use these and properly down virtual
1008 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1408 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
1009 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1409 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
1010 1410
1011 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1411 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
1012 1412
1013 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1413 Updated /etc/init.d/depscan.sh to store info about missing dependencies
1014 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1414 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
1015 to use this when starting a script ('need' dependancies is critical for 1415 to use this when starting a script ('need' dependencies is critical for
1016 startup). Added the broken() function to /etc/init.d/runscript.sh 1416 startup). Added the broken() function to /etc/init.d/runscript.sh
1017 to list the missing dependancies. 1417 to list the missing dependencies.
1018 1418
1019 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1419 Updated /etc/init.d/runscript.sh for svc_start() to have better error
1020 checking. 1420 checking.
1021 1421
1022 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1422 Updated /etc/init.d/functions.sh with ewend(), which is the same as
1255 1655
1256* rc-scripts 1.1.7 (18 Oct 2001) 1656* rc-scripts 1.1.7 (18 Oct 2001)
1257 1657
1258[old changelog format follows] 1658[old changelog format follows]
1259 1659
1260 *lots of scripts; woodchip 1660 *lots of scripts; woodchip
1261 removed old rc5 scripts from cvs 1661 removed old rc5 scripts from cvs
1262 1662
1263 *init.d/runscript.sh; agriffis 1663 *init.d/runscript.sh; agriffis
1264 Added support for rc.conf and home-grown functions 1664 Added support for rc.conf and home-grown functions
1265 1665
1266 *init.d/modules; 1666 *init.d/modules;
1267 Now correctly looks at /etc/modules.autoload 1667 Now correctly looks at /etc/modules.autoload
1268 1668
1269rc-scripts-1.1.6, released 15 Sep 2001 1669rc-scripts-1.1.6, released 15 Sep 2001
1270====================================== 1670======================================
1271 1671
1272 *init.d/runscript.sh, others 1672 *init.d/runscript.sh, others
1273 Handling of "net" dependencies resolve to all net devices in 1673 Handling of "net" dependencies resolve to all net devices in
1274 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1674 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1275 variable in /etc/rc.conf has been removed. 1675 variable in /etc/rc.conf has been removed.
1276 1676
1277 *init.d/runscript.sh 1677 *init.d/runscript.sh
1278 New "zap" option for manually resetting the state of an initscript 1678 New "zap" option for manually resetting the state of an initscript
1279 to stopped. 1679 to stopped.
1280 1680
1281 *init.d/{samba,sysklogd,sshd} 1681 *init.d/{samba,sysklogd,sshd}
1282 Removed from CVS; they live in their respective packages. 1682 Removed from CVS; they live in their respective packages.
1283 1683
1284rc-scripts-1.1.5, released 02 Sep 2001 1684rc-scripts-1.1.5, released 02 Sep 2001
1285==================================== 1685====================================
1286 1686
1287 *sbin/rc-update 1687 *sbin/rc-update
1288 New version of the rc-update command for the new initscripts. Works 1688 New version of the rc-update command for the new initscripts. Works
1289 similarly to the old version, except this one updates our dependency 1689 similarly to the old version, except this one updates our dependency
1290 cache. 1690 cache.
1291 1691
1292 *init.d/functions.sh 1692 *init.d/functions.sh
1293 New and better looking informational message functions (einfo, einfon). 1693 New and better looking informational message functions (einfo, einfon).
1294 Brand new message functions (ewarn). 1694 Brand new message functions (ewarn).
1295 1695
1296 *sbin/init, init.d/checkroot 1696 *sbin/init, init.d/checkroot
1297 We're going back to a /proc/mounts-based mtab symlink because it's 1697 We're going back to a /proc/mounts-based mtab symlink because it's
1298 just plain better. Appropriate changes made. 1698 just plain better. Appropriate changes made.
1299 1699
1300# vim:expandtab 1700# vim:expandtab

Legend:
Removed from v.314  
changed lines
  Added in v.364

  ViewVC Help
Powered by ViewVC 1.1.20