/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.308  
changed lines
  Added in v.362

  ViewVC Help
Powered by ViewVC 1.1.20