/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 306 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
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
413 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
414
415 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
416 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
417
418 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
419
420 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
421 Add fix from the wonderful analysis of Toby Dickenson
422 <tdickenson@geminidataloggers.com> in #12947.
423
424 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
425
426 Fix start-stop-daemon to check the call to nice() correctly for failure,
427 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
428
429 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
430 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
431 Malcolm Scott <m@lcolm.org.uk>.
432
433 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
434
435 Updated /etc/rc.conf to add elogin/entrance support #13790.
436
437 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
438
439 Update /etc/init.d/keymaps to enable unicode if required. This closes
440 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
441
442 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
443
444 Fix deadlock durning shutdown if tmpfs filesystems larger than free
445 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
446 for this.
447
448 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
449 This closes bug #13868.
450
451 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
452 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
453
454 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
4 455
5 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: 456 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
6 457
7 Clear $svcdir in /sbin/rc before we run depscan to make sure we do 458 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
8 not have stale entries left from hard reboot, thanks to pac1085 on 459 not have stale entries left from hard reboot, thanks to pac1085 on
560 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: 1011 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
561 1012
562 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,
563 and is needed for some fixes. 1014 and is needed for some fixes.
564 1015
565 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1016 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
566 1017
567 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
568 remove consolefont from startup if you do not use it. Should 1019 remove consolefont from startup if you do not use it. Should
569 resolve bug #2174. 1020 resolve bug #2174.
570 1021
571 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : 1022 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
572 1023
573 Added user/group apache with uid/gid 81. 1024 Added user/group apache with uid/gid 81.
574 1025
575 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1026 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
576 1027
577 Remove the "-net" from the line setting the default gateway 1028 Remove the "-net" from the line setting the default gateway
578 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
579 noting this. 1030 noting this.
580 1031
581 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : 1032 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
582 1033
583 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
584 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
585 really old, leftover junk like the non-supported stuff from rc5. 1036 really old, leftover junk like the non-supported stuff from rc5.
586 Closes #1754. 1037 Closes #1754.
587 1038
588 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1039 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
589 1040
590 Remove creation of /var/run/utmpx from bootmisc again. Seems 1041 Remove creation of /var/run/utmpx from bootmisc again. Seems
591 other people have wierd problems. 1042 other people have wierd problems.
592 1043
593* rc-scripts 1.3.4 (21 April 2002) 1044* rc-scripts 1.3.4 (21 Apr 2002)
594 1045
595 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1046 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
596 1047
597 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,
598 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.
599 1050
600 Implement the status commandline argument. Updated /sbin/runscript.sh 1051 Implement the status commandline argument. Updated /sbin/runscript.sh
601 and /sbin/rc-help.sh for this. 1052 and /sbin/rc-help.sh for this.
602 1053
603 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE 1054 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
604 and AFTER. 1055 and AFTER.
605 1056
606 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1057 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
607 1058
608 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 1059 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
609 is needed, else /usr/bin/newgrp segfault. 1060 is needed, else /usr/bin/newgrp segfault.
610 1061
611 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1062 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
612 1063
613 Update /etc/skel/.bash_profile to make it tcsh compadible. 1064 Update /etc/skel/.bash_profile to make it tcsh compadible.
614 Thanks to Väinö Järvelä for this fix. 1065 Thanks to Väinö Järvelä for this fix.
615 1066
616 Update /etc/profile to also set the PS? variables if $SHELL 1067 Update /etc/profile to also set the PS? variables if $SHELL
618 bootstrap work again. 1069 bootstrap work again.
619 1070
620 Move LVM stuff to checkfs to ensure that they get fscked. 1071 Move LVM stuff to checkfs to ensure that they get fscked.
621 This resolves bug #1552. 1072 This resolves bug #1552.
622 1073
623* rc-scripts 1.3.3 (5 April 2002) 1074* rc-scripts 1.3.3 (5 Apr 2002)
624 1075
625 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1076 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
626 1077
627 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.
628 This is done to try and ensure system integrity. 1079 This is done to try and ensure system integrity.
629 1080
630 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: 1081 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
631 1082
632 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.
633 1084
634 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.
635 1086
636 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.
637 1088
638* rc-scripts 1.3.2 (24 Mar 2002) 1089* rc-scripts 1.3.2 (24 Mar 2002)
639 1090
640 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1091 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
641 1092
642 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
643 for this. 1094 for this.
644 1095
645 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,
659 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,
660 and it seems it has fallen now to my discression. 1111 and it seems it has fallen now to my discression.
661 1112
662* rc-scripts 1.3.1 (23 Mar 2002) 1113* rc-scripts 1.3.1 (23 Mar 2002)
663 1114
664 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
665 DHCP lease release from Jim Nutt. 1116 DHCP lease release from Jim Nutt.
666 1117
667 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
668 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.
669 1120
670 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1121 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
671 1122
672 Resolve bug #1292. 1123 Resolve bug #1292.
673 1124
674 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
675 Spidler. 1126 Spidler.
676 1127
677 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1128 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
678 1129
679 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
680 version, 'cat /proc/mounts'. 1131 version, 'cat /proc/mounts'.
681 1132
682 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1133 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
683 1134
684 Add initial support for the --quiet flag that suppress output. 1135 Add initial support for the --quiet flag that suppress output.
685 1136
686 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1137 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
687 1138
688 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
689 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
690 reworked to do better error handeling. 1141 reworked to do better error handeling.
691 1142
692 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1143 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
693 1144
694 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
695 /etc/group to match those of Debian, FBSD and others. Thanks 1146 /etc/group to match those of Debian, FBSD and others. Thanks
696 to those who reported it, and Woodchip for looking up the 1147 to those who reported it, and Woodchip for looking up the
697 proper values. 1148 proper values.
698 1149
699 Update /etc/init.d/net.eth0 to properly down DHCP interfaces. 1150 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
700 This resolves bug #1150, thanks to Paul Fleischer. 1151 This resolves bug #1150, thanks to Paul Fleischer.
701 1152
702 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1153 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
703 1154
704 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,
705 as some users have /usr on seperate partition which is not 1156 as some users have /usr on seperate partition which is not
706 mounted when depscan.sh is run the first time. 1157 mounted when depscan.sh is run the first time.
707 1158
708 Updated the checking for more than one service providing the 1159 Updated the checking for more than one service providing the
709 same virtual function in /etc/init.d/depscan.sh. It should 1160 same virtual function in /etc/init.d/depscan.sh. It should
710 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
711 service providing a virtual, counter was used uninitialized. 1162 service providing a virtual, counter was used uninitialized.
712 1163
713* rc-scripts 1.3.0 (10 March 2002) 1164* rc-scripts 1.3.0 (10 Mar 2002)
714 1165
715 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1166 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
716 1167
717 Resolved bug #1021; updated /etc/init.d/consolefont for this. 1168 Resolved bug #1021; updated /etc/init.d/consolefont for this.
718 1169
719 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 1170 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
720 1171
739 Also fixed try() for mounting /proc (maybe all mount commands). 1190 Also fixed try() for mounting /proc (maybe all mount commands).
740 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
741 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
742 his UserMode ebuilds, and Guide). 1193 his UserMode ebuilds, and Guide).
743 1194
744* rc-scripts 1.2.9 (6 March 2002) 1195* rc-scripts 1.2.9 (6 Mar 2002)
745 1196
746 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1197 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
747 1198
748 General form updates and some piping fixes. 1199 General form updates and some piping fixes.
749 1200
750 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
751 to fix a problem where startDM.sh would be respawned repeatedly 1202 to fix a problem where startDM.sh would be respawned repeatedly
752 if xdm was not in the default runlevel. 1203 if xdm was not in the default runlevel.
753 1204
754* rc-scripts 1.2.8 (4 March 2002) 1205* rc-scripts 1.2.8 (4 Mar 2002)
755 1206
756 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1207 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
757 1208
758 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
759 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
760 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.
761 1212
765 where we had a invalid $PATH on boot in some cases. 1216 where we had a invalid $PATH on boot in some cases.
766 1217
767 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
768 the new sys-apps/kbd package. 1219 the new sys-apps/kbd package.
769 1220
770* rc-scripts 1.2.7 (3 March 2002) 1221* rc-scripts 1.2.7 (3 Mar 2002)
771 1222
772 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1223 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
773 1224
774 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
775 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
776 for this. 1227 for this.
777 1228
779 /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
780 this. 1231 this.
781 1232
782 Added caching of the "depend() { need foo; } " lines, and updated 1233 Added caching of the "depend() { need foo; } " lines, and updated
783 /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
784 speedup dependancy caching a lot, especially on slow machines. 1235 speedup dependency caching a lot, especially on slow machines.
785 1236
786 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
787 for security. 1238 for security.
788 1239
789 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.
790 1241
791 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: 1242 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
792 1243
793 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.
794 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1245 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
795 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1246 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
796 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1247 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
797 1248
798 Removed stopping of dependant services that have current service as 1249 Removed stopping of dependent services that have current service as
799 a 'use'dependancy ... should be less confusing now. 1250 a 'use'dependency ... should be less confusing now.
800 Updated /etc/init.d/runscript.sh for this. 1251 Updated /etc/init.d/runscript.sh for this.
801 1252
802 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1253 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
803 1254
804 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
886 Added the 'before' depend type. This is more for changing the 1337 Added the 'before' depend type. This is more for changing the
887 order services start in. Updated /etc/init.d/depscan.sh and 1338 order services start in. Updated /etc/init.d/depscan.sh and
888 /etc/init.d/functions.sh for this. 1339 /etc/init.d/functions.sh for this.
889 1340
890 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
891 dependancy types. This can be used with 'use' and 'before' to 1342 dependency types. This can be used with 'use' and 'before' to
892 start a script last or first respectively. 1343 start a script last or first respectively.
893 1344
894 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
895 for saving misc settings between startup/shutdown. Updated 1346 for saving misc settings between startup/shutdown. Updated
896 /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
965 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1416 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
966 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1417 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
967 1418
968 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1419 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
969 1420
970 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
971 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
972 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
973 startup). Added the broken() function to /etc/init.d/runscript.sh 1424 startup). Added the broken() function to /etc/init.d/runscript.sh
974 to list the missing dependancies. 1425 to list the missing dependencies.
975 1426
976 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
977 checking. 1428 checking.
978 1429
979 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
1212 1663
1213* rc-scripts 1.1.7 (18 Oct 2001) 1664* rc-scripts 1.1.7 (18 Oct 2001)
1214 1665
1215[old changelog format follows] 1666[old changelog format follows]
1216 1667
1217 *lots of scripts; woodchip 1668 *lots of scripts; woodchip
1218 removed old rc5 scripts from cvs 1669 removed old rc5 scripts from cvs
1219 1670
1220 *init.d/runscript.sh; agriffis 1671 *init.d/runscript.sh; agriffis
1221 Added support for rc.conf and home-grown functions 1672 Added support for rc.conf and home-grown functions
1222 1673
1223 *init.d/modules; 1674 *init.d/modules;
1224 Now correctly looks at /etc/modules.autoload 1675 Now correctly looks at /etc/modules.autoload
1225 1676
1226rc-scripts-1.1.6, released 15 Sep 2001 1677rc-scripts-1.1.6, released 15 Sep 2001
1227====================================== 1678======================================
1228 1679
1229 *init.d/runscript.sh, others 1680 *init.d/runscript.sh, others
1230 Handling of "net" dependencies resolve to all net devices in 1681 Handling of "net" dependencies resolve to all net devices in
1231 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES 1682 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
1232 variable in /etc/rc.conf has been removed. 1683 variable in /etc/rc.conf has been removed.
1233 1684
1234 *init.d/runscript.sh 1685 *init.d/runscript.sh
1235 New "zap" option for manually resetting the state of an initscript 1686 New "zap" option for manually resetting the state of an initscript
1236 to stopped. 1687 to stopped.
1237 1688
1238 *init.d/{samba,sysklogd,sshd} 1689 *init.d/{samba,sysklogd,sshd}
1239 Removed from CVS; they live in their respective packages. 1690 Removed from CVS; they live in their respective packages.
1240 1691
1241rc-scripts-1.1.5, released 02 Sep 2001 1692rc-scripts-1.1.5, released 02 Sep 2001
1242==================================== 1693====================================
1243 1694
1244 *sbin/rc-update 1695 *sbin/rc-update
1245 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
1246 similarly to the old version, except this one updates our dependency 1697 similarly to the old version, except this one updates our dependency
1247 cache. 1698 cache.
1248 1699
1249 *init.d/functions.sh 1700 *init.d/functions.sh
1250 New and better looking informational message functions (einfo, einfon). 1701 New and better looking informational message functions (einfo, einfon).
1251 Brand new message functions (ewarn). 1702 Brand new message functions (ewarn).
1252 1703
1253 *sbin/init, init.d/checkroot 1704 *sbin/init, init.d/checkroot
1254 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
1255 just plain better. Appropriate changes made. 1706 just plain better. Appropriate changes made.
1256 1707
1257# vim:expandtab 1708# vim:expandtab

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

  ViewVC Help
Powered by ViewVC 1.1.20