/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.313  
changed lines
  Added in v.365

  ViewVC Help
Powered by ViewVC 1.1.20