/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.93  
changed lines
  Added in v.255

  ViewVC Help
Powered by ViewVC 1.1.20