/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 131 Revision 251
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2001 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002 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 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
6
7 Fix /sbin/update-modules not to include backup files. Closes
8 bug #9707.
9
5 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead 10 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
6 update of the 25th. It really should keep "gentoo=nodevfs" in mind. 11
7 Also added 'get_bootparam()' to help in retrieving kernel options. 12 Fix update-modules borking if there are directories present
8 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc 13 in /etc/modules.d/. Closes bug #9632.
14
15 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
16
17 Change deps on /etc/init.d/{clock,hostname,modules} not to
18 depend on localmount, but rather on checkroot, as all of them
19 just need / to be mounted. This should fix race conditions
20 because of checkfs dependency on modules. This should close
21 bug #9266.
22
23* rc-scripts 1.4.1 (13 Oct 2002)
24
25 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
26
27 Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
28 is additional measures for bug #8281.
29
30 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
31
32 Update /etc/init.d/net.eth0 to fix bug #8626.
33
34 Fix /sbin/rc-update to check return code of "ln". This should
35 close bug #8867.
36
37 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
38
39 Fix indentation in /etc/inputrc. This should close
40 bug #8368.
41
42 Add extended status functionality. Should close bug #2462.
43
44 Add support for /sbin/rc-update to check if the rc-script
45 is executable or not. Thanks to widersacher@gmx.net, closing
46 bug #8326.
47
48 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
49
50 Fix /etc/init.d/bootmisc not to kill pidfiles of running
51 daemons. Improve NGPT support in /sbin/rc a bit.
52
53 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
54
55 Fix my last screwup with /etc/init.d/net.ppp0. Basically
56 forgot to change a few DEVICE's to IFACE ...
57
58 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
59
60 NGPT support.
61
62 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
63
64 Did a small fix to /etc/init.d/net.eth0, thanks to
65 naanyaar2000@yahoo.com, bug #7407.
66
67 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
68
69 Add the permission stuff for generic scsi when compiled as
70 module, thanks to Bauno <bauno@inwind.it>.
71
72 Add support for /etc/devfs.d/ for additional devfs config
73 stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
74
75 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
76
77 Fix small type-o from last changes to /etc/init.d/netmount.
78 Should resolve bug #7803.
79
80* rc-scripts 1.4.0 (7 Sep 2002)
81
82 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
83
84 Update /etc/init.d/net.eth0 to handle individual broadcast
85 and netmask for aliases. Should close bug #7407.
86
87 Give /var/run/utmp and /var/log/wtmp the proper permissions
88 and ownership. First steps in fixing bug #7630.
89
90 Change Raid stuff again in /etc/init.d/checkfs.
91
92 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
93
94 Give root a 'root' GECOS in /etc/passwd, was NULL before.
95
96* rc-scripts 1.3.9 (25 Aug 2002)
97
98 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
99
100 Update /sbin/rc to fix some spelling/slang mistakes. Closes
101 bug #6887.
102
103 Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
104 This closes bug #6378.
105
106 Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
107 with many thanks to Asbjorn Sannes <ace@sannes.org>.
108
109 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
110
111 Update /etc/init.d/bootmisc to reset pam_console permissions.
112
113 Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
114 line for getting devfs to work with pam_console.
115
116 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
117
118 Update /etc/init.d/keymaps to first load the windowkeys.inc then
119 the user selected one, fixing bug #6295.
120
121 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
122
123 Change the 'cat' in check_rcscript() to a single 'awk' in
124 /sbin/depscan.sh. This should fix broken pipe issues if the
125 loop exists too early. Resolves bug #5961.
126
127 Fix software RAID startup/shutdown, bug #5310. Modified
128 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
129
130* rc-scripts 1.3.8 (08 Aug 2002)
131
132 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
133
134 Move the color ls stuff to .bashrc. Fix bug #5250.
135
136 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
137
138 Correct the comments in rc.conf about the XSESSION variable: it should
139 be set to "kde-<version>" not "KDE". Closes bug #5948.
140
141 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
142
143 Fix the 'Usage' line in the help to return the correct options for
144 the script (/sbin/runscript.sh). Resolve bug #6029.
145
146 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
147
148 Added UPS shutdown support for nut to halt.sh.
149 Added nut user/group as uid/gid 84.
150
151 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
152
153 Updated /sbin/rc's way of checking for devfs support (now rather uses
154 awk, as it is more accurate). Closes bug #5458.
155
156 Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
157 and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
158 Thanks goes to Chris PeBenito (bug #5570).
159
160 Changed most daemons to use /bin/false as shell. Should close bug #5388.
161
162 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
163
164 Added vpopmail user and group as 89:89
165
166 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
167
168 Add the cyrus user to /etc/passwd. Resolves bug #4100.
169
170 Some bugfixes and speed improvements to /sbin/depscan.sh after
171 last changes.
172
173 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
174 get some speed improvements.
175
176 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
177
178 Fix LVM support in /etc/init.d/checkfs again, thanks to help from
179 Kyle Manna <nitro@gentoo.org>.
180
181 Add software RAID support to /etc/init.d/checkfs, thanks to
182 Daniel Ahlberg <aliz@gentoo.org>.
183
184 Update the cache_depend() funtion in /sbin/depscan.sh not to
185 quit on any "}", but only on the one matching the first "{". This
186 requires wc in /bin, so baselayout should depend on
187 >=sys-apps/textutils-2.0.19-r2
188
189 Update /etc/init.d/netmount to try and detect nfs mounts that should be
190 mounted automatically on boot. This requires awk in /bin, so baselayout
191 should depend on >=sys-apps/gawk-3.1.0-r3.
192
193* rc-scripts 1.3.7 (17 Jul 2002)
194
195 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
196
197 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
198 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
199
200 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
201
202 Add additional entries to /etc/services to support cyrus-imapd, thanks
203 to Nick Hadaway <raker@gentoo.org>.
204
205 Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
206 problem with non 7bit ascii symbols.
207
208 Updated /etc/init.d/checkfs to detect if lvm is already active.
209 This should resolve bug #3613.
210
211 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
212
213 Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
214 "games" user and group to 35
215
216 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
217
218 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
219 (aka cybersystem). Updated /sbin/rc for this.
220
221 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
222
223 Update /etc/skel/.bashrc to update the window title of X terminals
224 that supports it. Closes bug #4232.
225
226 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
227
228 Add sshd user and group. Updated /etc/passwd and /etc/group for this.
229
230 Update /etc/inputrc to resolve bug #2599.
231
232 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
233
234 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
235 /etc/env.d/00basic for this.
236
237 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
238 Nothing official, but I spent enouth time on it not to want to loose it :)
239
240 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
241 to give output to stderr. This was caused by a call to "stty", which when
242 run without a attatched terminal, have this effect. Basically just pipe
243 stderr to /dev/null.
244
245 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
246
247 Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
248 bug #3363
249
250 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
251
252 Update /etc/init.d/netmount not to try and mount NFS filesystems
253 if portmap was not started. This is to stop "hang" problems for
254 new users who do not add portmap to the default runlevel. See
255 bug #2555.
256
257 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
258
259 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
260
261 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
262
263 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
264
265 Change the homes of user "at" and "cron" in /etc/passwd, as
266 they moved to /var/spool/cron...
267
268* rc-scripts 1.3.5 (12 May 2002)
269
270 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
271
272 Make slight modifications to /sbin/depscan.sh to improve speed (about
273 1 second on a celeron 633).
274
275 Finally fix /sbin/runscript.sh to properly handle interdependencies
276 between types need/use and before/after on runlevel change. I can
277 actually kick myself for previous implementations, as this fix simplifies
278 things a lot, and is almost 30 lines of code less!
279
280 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
281 It rather just exit with a warning, as I think most people have like
282 me mounts that are to boxes that are not always up.
283
284 Resolve bug #2439 (should not use try with the dd command for ramdisk
285 stuff). Also increase the number of inodes used for the ramdisk to
286 fix "out of space" errors. Updated /sbin/rc for this.
287
288 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
289
290 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
291 backup files to generate /etc/profile.env.
292
293 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
9 for this. 294 for this.
295
296 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
297
298 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
299 /etc/env.d/ file. Same for $QTDIR.
300
301 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
302
303 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
304 and is needed for some fixes.
305
306 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
307
308 Update /etc/rc.conf to be more clear and state that you should
309 remove consolefont from startup if you do not use it. Should
310 resolve bug #2174.
311
312 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
313
314 Added user/group apache with uid/gid 81.
315
316 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
317
318 Remove the "-net" from the line setting the default gateway
319 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
320 noting this.
321
322 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
323
324 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
325 which is installed with the nfs-utils package. Also tidied up some
326 really old, leftover junk like the non-supported stuff from rc5.
327 Closes #1754.
328
329 23 April 2002; Martin Schlemmer <azarah@gentoo.org>:
330
331 Remove creation of /var/run/utmpx from bootmisc again. Seems
332 other people have wierd problems.
333
334* rc-scripts 1.3.4 (21 April 2002)
335
336 21 April 2002; Martin Schlemmer <azarah@gentoo.org>:
337
338 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
339 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
340
341 Implement the status commandline argument. Updated /sbin/runscript.sh
342 and /sbin/rc-help.sh for this.
343
344 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
345 and AFTER.
346
347 12 April 2002; Martin Schlemmer <azarah@gentoo.org>:
348
349 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
350 is needed, else /usr/bin/newgrp segfault.
351
352 11 April 2002; Martin Schlemmer <azarah@gentoo.org>:
353
354 Update /etc/skel/.bash_profile to make it tcsh compadible.
355 Thanks to Väinö Järvelä for this fix.
356
357 Update /etc/profile to also set the PS? variables if $SHELL
358 is set to /bin/sh. This should make prompt colours in
359 bootstrap work again.
360
361 Move LVM stuff to checkfs to ensure that they get fscked.
362 This resolves bug #1552.
363
364* rc-scripts 1.3.3 (5 April 2002)
365
366 5 April 2002; Martin Schlemmer <azarah@gentoo.org>:
367
368 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
369 This is done to try and ensure system integrity.
370
371 1 April 2002; Martin Schlemmer <azarah@gentoo.org>:
372
373 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
374
375 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
376
377 Add a bash check to the code that sets the prompt, fixing bug #1078.
378
379* rc-scripts 1.3.2 (24 Mar 2002)
380
381 24 March 2002; Martin Schlemmer <azarah@gentoo.org>:
382
383 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
384 for this.
385
386 With the "before" and "after" stuff, recursion levels was getting too high,
387 and with some cases, things just plain did not work as it should. Reworked
388 things to to lower the levels of recursion and get the order right. Updated
389 /etc/init.d/runscript.sh for this.
390
391 Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
392 ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
393
394 Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
395
396 Remove /etc/pwdb.conf, as pwdb already install a copy of this.
397
398 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
399
400 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
401 and it seems it has fallen now to my discression.
402
403* rc-scripts 1.3.1 (23 Mar 2002)
404
405 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
406 DHCP lease release from Jim Nutt.
407
408 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
409 since there are a lot of important bug fixes in here that are needed.
410
411 23 March 2002; Martin Schlemmer <azarah@gentoo.org>:
412
413 Resolve bug #1292.
414
415 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
416 Spidler.
417
418 21 March 2002; Martin Schlemmer <azarah@gentoo.org>:
419
420 Update /sbin/rc to fix a 'cat mounts' instead of the correct
421 version, 'cat /proc/mounts'.
422
423 19 March 2002; Martin Schlemmer <azarah@gentoo.org>:
424
425 Add initial support for the --quiet flag that suppress output.
426
427 18 March 2002; Martin Schlemmer <azarah@gentoo.org>:
428
429 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
430 as not all errors by depscan.sh is critical. It should be
431 reworked to do better error handeling.
432
433 14 March 2002; Martin Schlemmer <azarah@gentoo.org>:
434
435 Fix the GID and UID of nobody and nogroup in /etc/passwd and
436 /etc/group to match those of Debian, FBSD and others. Thanks
437 to those who reported it, and Woodchip for looking up the
438 proper values.
439
440 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
441 This resolves bug #1150, thanks to Paul Fleischer.
442
443 11 March 2002; Martin Schlemmer <azarah@gentoo.org>:
444
445 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
446 as some users have /usr on seperate partition which is not
447 mounted when depscan.sh is run the first time.
448
449 Updated the checking for more than one service providing the
450 same virtual function in /etc/init.d/depscan.sh. It should
451 be working now, and this also fix a problem that when there is no
452 service providing a virtual, counter was used uninitialized.
453
454* rc-scripts 1.3.0 (10 March 2002)
455
456 10 March 2002; Martin Schlemmer <azarah@gentoo.org>:
457
458 Resolved bug #1021; updated /etc/init.d/consolefont for this.
459
460 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
461
462 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
463 and /etc/init.d/localmount for this.
464
465 Lots of form/syntax cleanups, most things should be more
466 consistant now. Fixed fail detection/return values of lots of
467 scripts.
468
469 Lots of cleanup/fixes in the three main scripts behind our
470 rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
471
472 Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
473 is sourced in a ebuild.
474
475 Fix a bug that our rc-script wrapper introduced: Global variables
476 in scripts no longer worked. Updated /etc/init.d/runscript.sh for
477 this.
478
479 Implemented more error checking for the main startup code in /sbin/rc.
480 Also fixed try() for mounting /proc (maybe all mount commands).
481 The function worked fine in a simulated test, but in real life failed
482 to detect a error when mounting /proc (remember to thank Grant for
483 his UserMode ebuilds, and Guide).
484
485* rc-scripts 1.2.9 (6 March 2002)
486
487 6 March 2002; Martin Schlemmer <azarah@gentoo.org>:
488
489 General form updates and some piping fixes.
490
491 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
492 to fix a problem where startDM.sh would be respawned repeatedly
493 if xdm was not in the default runlevel.
494
495* rc-scripts 1.2.8 (4 March 2002)
496
497 4 March 2002; Martin Schlemmer <azarah@gentoo.org>:
498
499 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
500 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
501 move them to the xfree ebuild later on when things settles down.
502
503 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
504
505 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
506 where we had a invalid $PATH on boot in some cases.
507
508 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
509 the new sys-apps/kbd package.
510
511* rc-scripts 1.2.7 (3 March 2002)
512
513 3 March 2002; Martin Schlemmer <azarah@gentoo.org>:
514
515 Fixed the problem of rc-scripts trying to start/stop a service multiple
516 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
517 for this.
518
519 Fixing some variable declarations in /etc/init.d/runscript.sh caused
520 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
521 this.
522
523 Added caching of the "depend() { need foo; } " lines, and updated
524 /etc/init.d/depscan.sh to touch the actual files less. This should
525 speedup dependancy caching a lot, especially on slow machines.
526
527 Updated /etc/passwd to have users with no shell defined, use /bin/false
528 for security.
529
530 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
531
532 1 March 2002; Martin Schlemmer <azarah@gentoo.org>:
533
534 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
535 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
536 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
537 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
538
539 Removed stopping of dependant services that have current service as
540 a 'use'dependancy ... should be less confusing now.
541 Updated /etc/init.d/runscript.sh for this.
542
543 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
544
545 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
546 programs to startup. This should pretty much have /etc/init.d/ static,
547 except for baselayout updates, etc.
548
549 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
550
551 In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
552 problems. Fixed this in /sbin/rc.
553
554 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
555 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
556 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
557
558 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
559
560 Fix my brain dead update of the 25th. It really should keep
561 "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
562 retrieving kernel options. Updated /etc/init.d/functions.sh,
563 /etc/init.d/checkroot and /sbin/rc for this.
10 564
11 Updated /etc/init.d/consolefont to work without devfs as well. 565 Updated /etc/init.d/consolefont to work without devfs as well.
12 566
13 When rebooting or shutting down, a service should not fail to stop 567 When rebooting or shutting down, a service should not fail to stop
14 if a service it depends on, fails. Updated /etc/init.d/runscript.sh 568 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
15 for this. 569 for this.
16 570
17 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if 571 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
18 /dev is mounted when creating entries for /etc/mtab. This should solve a 572
19 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option. 573 Added a check if /dev is mounted when creating entries for /etc/mtab.
20 Updated /etc/init.d/checkroot for this. 574 This should solve a invalid entry or /dev being mounted even with
575 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
21 576
22 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default 577 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
23 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's 578 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
24 just in a comment now) 579 just in a comment now)
25 580
26 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and 581 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
27 'before', updated /etc/init.d/runscript.sh for this. This should fix
28 services not getting started in the correct order in a tight loop, services
29 getting stopped out of order, and some other sanity checks. Updated
30 rc-script.sh for updated help.
31 582
583 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
584 this. This should fix services not getting started in the correct order
585 in a tight loop, services getting stopped out of order, and some other
586 sanity checks. Updated rc-script.sh for updated help.
587
32 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to 588 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
33 resolve bug #588. Reimplemented things a bit, and added the 'after' type. 589
34 'before' and 'after' will only work currently for a change of runlevel. 590 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
35 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it. 591 and added the 'after' type. 'before' and 'after' will only work currently
592 for a change of runlevel. Updated /etc/init.d/depscan.sh,
593 /etc/init.d/runscript.sh and /sbin/rc for this.
36 594
37 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to 595 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
38 /etc/devfsd.conf to make alsa users life easier ... thanks Tod. 596
597 Add some more entries to /etc/devfsd.conf to make alsa users life
598 easier ... thanks Tod.
39 599
40 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to 600 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
601
41 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 602 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
42 603
43 Fixed some services not starting again when restarting a service. 604 Fixed some services not starting again when restarting a service.
44 Seems simple is still the best way. 605 Seems simple is still the best way.
45 606
46 Fixed some other problems created with feature additions and cleanups. 607 Fixed some other problems created with feature additions and cleanups.
47 608
48 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to 609 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
610
49 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 611 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
50 612
51 Added 'before *' to /etc/init.d/checkroot to make sure it gets 613 Added 'before *' to /etc/init.d/checkroot to make sure it gets
52 started first. 614 started first.
53 615
54 Added 'use *' to /etc/init.d/local to make sure it gets started 616 Added 'use *' to /etc/init.d/local to make sure it gets started
55 last. 617 last.
56 618
57 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc 619 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
620
58 to stop a service on change of runlevel if it is in 'use' by 621 Fixed /sbin/rc to stop a service on change of runlevel if it is
59 another service. 622 in 'use' by another service.
60 623
61 Added the 'provide' depend type for creating virtual services. 624 Added the 'provide' depend type for creating virtual services.
62 Updated /etc/init.d/depscan.sh for this. 625 Updated /etc/init.d/depscan.sh for this.
63 626
64 Added the 'before' depend type. This is more for changing the 627 Added the 'before' depend type. This is more for changing the
72 Added save_options() and get_options() to /etc/init.d/functions.sh 635 Added save_options() and get_options() to /etc/init.d/functions.sh
73 for saving misc settings between startup/shutdown. Updated 636 for saving misc settings between startup/shutdown. Updated
74 /etc/init.d/net.eth0 to use these and properly down virtual 637 /etc/init.d/net.eth0 to use these and properly down virtual
75 interfaces. 638 interfaces.
76 639
77 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both 640 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
641
78 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no 642 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
79 errors. 643 on no errors.
80 644
81* rc-scripts 1.2.6 (6 Feb 2002) 645* rc-scripts 1.2.6 (6 Feb 2002)
82 646
83 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
84 to specify the gateway device via the $gateway variable (something like
85 gateway="eth0/192.168.0.1").
86
87 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script 647 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
648
649 Updated /etc/net.eth0 to specify the gateway device via the $gateway
650 variable (something like gateway="eth0/192.168.0.1").
651
652 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
653
88 /etc/init.d/numlock, for enabling numlock at boot. 654 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
89 655
90 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the 656 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
657
91 last fix to /etc/init.d/netmount to umount cleanly. This fix 658 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
92 implements a retry if not successful the first time, and will 659 implements a retry if not successful the first time, and will kill
93 kill processess using the mount. Also small type-o fix to 660 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
94 /etc/init.d/halt.sh.
95 661
96 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to 662 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
97 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. 663 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
98 Fixed /etc/passwd,group for user/group mysql. 664 Fixed /etc/passwd,group for user/group mysql.
99 665
138 /etc/init.d/checkfs to return 0 if the fs was successfully repaired. 704 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
139 705
140 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 706 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
141 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 707 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
142 708
143 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated 709 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
710
144 /etc/init.d/depscan.sh to store info about missing dependancies of 711 Updated /etc/init.d/depscan.sh to store info about missing dependancies
145 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 712 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
146 to use this when starting a script ('need' dependancies is critical for 713 to use this when starting a script ('need' dependancies is critical for
147 startup). Added the broken() function to /etc/init.d/runscript.sh 714 startup). Added the broken() function to /etc/init.d/runscript.sh
148 to list the missing dependancies. 715 to list the missing dependancies.
149 716
150 Updated /etc/init.d/runscript.sh for svc_start() to have better error 717 Updated /etc/init.d/runscript.sh for svc_start() to have better error
152 719
153 Updated /etc/init.d/functions.sh with ewend(), which is the same as 720 Updated /etc/init.d/functions.sh with ewend(), which is the same as
154 eend(), but print a warning on error, not a error. Updated 721 eend(), but print a warning on error, not a error. Updated
155 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function. 722 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
156 723
157 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c 724 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
158 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script. 725
726 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
727 is passed to a rc-script.
159 728
160 Added /etc/init.d/rc-help.sh, simple script that prints out help for 729 Added /etc/init.d/rc-help.sh, simple script that prints out help for
161 the rc-scripts. 730 the rc-scripts.
162 731
163 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update 732 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
733
164 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the 734 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
165 halt and reboot. This fixes a problem where / was not unmounted 735 halt and reboot. This fixes a problem where / was not unmounted properly
166 properly in some cases. 736 in some cases.
167 737
168 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to 738 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
169 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and 739
170 /etc/init.d/depscan.sh for this 740 Move $svcdir to to /etc/init.d/functions.sh, and update
741 /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
171 742
172 Modified /etc/init.d/runscript.sh to also restart the services that 743 Modified /etc/init.d/runscript.sh to also restart the services that
173 depend on a service if that service is restarted. Enhanced the 744 depend on a service if that service is restarted. Enhanced the
174 restart function to be able to have custom restart() functions in 745 restart function to be able to have custom restart() functions in
175 rc-scripts. The custom restart() have to use svc_stop() and 746 rc-scripts. The custom restart() have to use svc_stop() and
177 748
178 Add a pause function to /etc/init.d/runscript.sh. It will basically 749 Add a pause function to /etc/init.d/runscript.sh. It will basically
179 stop a service without stopping the services that depends on that 750 stop a service without stopping the services that depends on that
180 service. 751 service.
181 752
182 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a 753 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
183 service without stopping the services that depends on that service. 754 service without stopping the services that depends on that service.
184 755
185* rc-scripts 1.2.3 (18 Dec 2001) 756* rc-scripts 1.2.3 (18 Dec 2001)
186 757
187 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from 758 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
188 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used). 759
760 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
761 init wrapper we used).
189 762
190 Some cleanups: take out the shm resize comment; 763 Some cleanups: take out the shm resize comment;
191 764
192 remove the $wrongmount; 765 remove the $wrongmount;
193 766
204 Also added functionality to detect if the kernel have DEVFS support 777 Also added functionality to detect if the kernel have DEVFS support
205 compiled in; seems new users thinks devfs is unstable and as they do 778 compiled in; seems new users thinks devfs is unstable and as they do
206 not always read the docs, it does not get compiled in ;/ Should 779 not always read the docs, it does not get compiled in ;/ Should
207 make live for us a bit easier. 780 make live for us a bit easier.
208 781
209 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill 782 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
210 a cosmetic bug in the part that stops all the unneeded services. 783
784 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
785 the unneeded services.
211 786
212* rc-scripts 1.2.2 (8 Dec 2001) 787* rc-scripts 1.2.2 (8 Dec 2001)
213 788
214 10 Dec 2001; Added a localhost entry in /etc/hosts. 789 10 Dec 2001; Added a localhost entry in /etc/hosts.
215 790
226 to rc-scripts. Checked in two manpages there, one for modules.autoload.5 801 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
227 and one for update-modules.8. These were adapted from Debian. Updated 802 and one for update-modules.8. These were adapted from Debian. Updated
228 tarball.sh to include the new man directory. Updated baselayout to install 803 tarball.sh to include the new man directory. Updated baselayout to install
229 these manpages. Slightly tweak the /etc/modules.autoload comments. 804 these manpages. Slightly tweak the /etc/modules.autoload comments.
230 805
231 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init 806 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
807
232 to work correctly with the 'gentoo=nodevfs' option, and cleaned 808 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
233 out old code. 809 and cleaned out old code.
234 810
235 Updated /etc/init.d/bootmisc with additional lock files to clean. 811 Updated /etc/init.d/bootmisc with additional lock files to clean.
236 812
237 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 813 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
814
238 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 815 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
239 that can be used for services that needs to have a logger started 816 that can be used for services that needs to have a logger started before
240 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 817 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
241 that is used to define what loggers the 'logger' depend represent. 818 to define what loggers the 'logger' depend represent.
242 819
243 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 820 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
821
244 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 822 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
823 and grpck.
245 824
246 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 825 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
826
247 /etc/profile for the user to 077 for security. 827 Changed umask in /etc/profile for the user to 077 for security.
248 828
249 Added a stop() function to /etc/init.d/clock. Also removed uneeded 829 Added a stop() function to /etc/init.d/clock. Also removed uneeded
250 'source /etc/rc.conf' line. 830 'source /etc/rc.conf' line.
251 831
252 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 832 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
263 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 843 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
264 removed notail from the ext2 boot partition, other cleanups. 844 removed notail from the ext2 boot partition, other cleanups.
265 845
266 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 846 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
267 847
268 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 848 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
269 and updated /sbin/init to use a new scheme for saving /dev permissions. 849
850 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
270 Also moved /dev-state to /lib/dev-state which is a more standard location. 851 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
852 standard location.
271 853
272 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 854 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
273 itself, calling depscan.sh or changing runlevels cause a tempory effect 855 itself, calling depscan.sh or changing runlevels cause a tempory effect
274 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 856 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
275 changing runlevels did not want to work. 857 changing runlevels did not want to work.
304 886
305* rc-scripts 1.1.8 (15 Nov 2001) 887* rc-scripts 1.1.8 (15 Nov 2001)
306 888
307 16 Nov 2001; removed bogus "mountall.test" script. 889 16 Nov 2001; removed bogus "mountall.test" script.
308 890
309 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 891 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
892
310 init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not 893 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
311 'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded 894 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
312 for loop from init.d/depscan.sh, and other fixes. Updated names of new 895 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
313 functions in init.d/runscript.sh to better sounding ones. Updated 896 names of new functions in init.d/runscript.sh to better sounding ones.
314 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. 897 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
898 fixes/cleanups.
899
315 Removed try() out of init.d/runscript.sh (why was this here ?). 900 Removed try() out of init.d/runscript.sh (why was this here ?).
316 901
317 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 902 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
903
318 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. 904 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
905 doesn't exist.
319 906
320 init.d/hostname: Added check for a valid /etc/hostname. 907 init.d/hostname: Added check for a valid /etc/hostname.
321 908
322 init.d/keymaps: Added check for valid $KEYMAP. 909 init.d/keymaps: Added check for valid $KEYMAP.
323 910
329 not 'default' runlevel. 916 not 'default' runlevel.
330 917
331 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is 918 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
332 this really needed (I cannot see that it is used anywhere ...)? 919 this really needed (I cannot see that it is used anywhere ...)?
333 920
334 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 921 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
922
335 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called 923 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
336 'uses'. It basically have the same usage as 'need', except that it do not 924 called 'uses'. It basically have the same usage as 'need', except that it
337 start services that is not in the current and 'boot' runlevels. 925 do not start services that is not in the current and 'boot' runlevels.
338 926
339 Updated init.d/netmount to use the 'uses' depend. 927 Updated init.d/netmount to use the 'uses' depend.
340 928
341 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 929 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
342 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 930
343 starting and stopping of services not to start depends. 931 Fixed init.d/runscript.sh not to destroy the 'need' depends in
932 /${svcdir}/need. This caused subsequent starting and stopping of services
933 not to start depends.
344 934
345 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc 935 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
346 where the ${svcdir}/softscripts directory got destroyed before stopping 936
347 running services scheduled to be stopped. This with the fact that $SOFTLEVEL 937 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
348 was set too early, caused the services to be stopped in the wrong order. 938 destroyed before stopping running services scheduled to be stopped. This
939 with the fact that $SOFTLEVEL was set too early, caused the services to be
940 stopped in the wrong order.
349 941
350 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to 942 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
943
351 check if any network filesystems is mounted. 944 Modified init.d/netmount to check if any network filesystems is mounted.
352 945
353 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added 946 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
354 some awk and grep magic to find all remote filesystems and umount them. 947 some awk and grep magic to find all remote filesystems and umount them.
355 948
356 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot 949 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
357 (missing "/"); it now actually checks the root filesystem. Also, a 950
358 localmount cleanliness fix. 951 A fix for checkroot (missing "/"); it now actually checks the root
952 filesystem. Also, a localmount cleanliness fix.
359 953
360* rc-scripts 1.1.7 (18 Oct 2001) 954* rc-scripts 1.1.7 (18 Oct 2001)
361 955
362[old changelog format follows] 956[old changelog format follows]
363 957
398 Brand new message functions (ewarn). 992 Brand new message functions (ewarn).
399 993
400 *sbin/init, init.d/checkroot 994 *sbin/init, init.d/checkroot
401 We're going back to a /proc/mounts-based mtab symlink because it's 995 We're going back to a /proc/mounts-based mtab symlink because it's
402 just plain better. Appropriate changes made. 996 just plain better. Appropriate changes made.
997
998# vim:expandtab

Legend:
Removed from v.131  
changed lines
  Added in v.251

  ViewVC Help
Powered by ViewVC 1.1.20