/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.137 - (show annotations) (download)
Mon Nov 4 14:51:06 2002 UTC (11 years, 10 months ago) by azarah
Branch: MAIN
Changes since 1.136: +9 -0 lines
fix misc deps

1 # ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
3 # Written by Daniel Robbins (drobbins@gentoo.org)
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
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
727 Updated /etc/init.d/depscan.sh to store info about missing dependancies
728 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
729 to use this when starting a script ('need' dependancies is critical for
730 startup). Added the broken() function to /etc/init.d/runscript.sh
731 to list the missing dependancies.
732
733 Updated /etc/init.d/runscript.sh for svc_start() to have better error
734 checking.
735
736 Updated /etc/init.d/functions.sh with ewend(), which is the same as
737 eend(), but print a warning on error, not a error. Updated
738 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
739
740 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
741
742 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
743 is passed to a rc-script.
744
745 Added /etc/init.d/rc-help.sh, simple script that prints out help for
746 the rc-scripts.
747
748 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
749
750 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
751 halt and reboot. This fixes a problem where / was not unmounted properly
752 in some cases.
753
754 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
755
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
758
759 Modified /etc/init.d/runscript.sh to also restart the services that
760 depend on a service if that service is restarted. Enhanced the
761 restart function to be able to have custom restart() functions in
762 rc-scripts. The custom restart() have to use svc_stop() and
763 svc_start() to restart the service.
764
765 Add a pause function to /etc/init.d/runscript.sh. It will basically
766 stop a service without stopping the services that depends on that
767 service.
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
772 * rc-scripts 1.2.3 (18 Dec 2001)
773
774 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
775
776 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
777 init wrapper we used).
778
779 Some cleanups: take out the shm resize comment;
780
781 remove the $wrongmount;
782
783 remove the mountshm() function and insert it directly
784 where needed;
785
786 remove the setting of $PATH as /sbin/init already do
787 this for us.
788
789 Added the if statement to detect if it is the first time the 'boot'
790 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
791 $RUNLEVEL is a env var set by /sbin/init.
792
793 Also added functionality to detect if the kernel have DEVFS support
794 compiled in; seems new users thinks devfs is unstable and as they do
795 not always read the docs, it does not get compiled in ;/ Should
796 make live for us a bit easier.
797
798 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
799
800 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
801 the unneeded services.
802
803 * rc-scripts 1.2.2 (8 Dec 2001)
804
805 10 Dec 2001; Added a localhost entry in /etc/hosts.
806
807 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
808 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
809 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
810 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
811 in this ChangeLog that needs to be removed! Like the changes to hosts,
812 profile. /etc/{passwd,group} have minor UID and GID type fixes for
813 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
814 directories.
815
816 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
817 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
818 and one for update-modules.8. These were adapted from Debian. Updated
819 tarball.sh to include the new man directory. Updated baselayout to install
820 these manpages. Slightly tweak the /etc/modules.autoload comments.
821
822 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
823
824 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
825 and cleaned out old code.
826
827 Updated /etc/init.d/bootmisc with additional lock files to clean.
828
829 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
830
831 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
832 that can be used for services that needs to have a logger started before
833 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
834 to define what loggers the 'logger' depend represent.
835
836 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
837
838 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
839 and grpck.
840
841 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
842
843 Changed umask in /etc/profile for the user to 077 for security.
844
845 Added a stop() function to /etc/init.d/clock. Also removed uneeded
846 'source /etc/rc.conf' line.
847
848 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
849 /etc/hostname is invalid.
850
851 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
852 running devfsd, as it did still not save settings properly. Also removed
853 old /dev-state/compat stuff.
854
855 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
856 from the default "default" runlevel. It still exists in the archive so that
857 users who want/need it can add it easily.
858
859 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
860 removed notail from the ext2 boot partition, other cleanups.
861
862 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
863
864 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
865
866 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
867 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
868 standard location.
869
870 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
871 itself, calling depscan.sh or changing runlevels cause a tempory effect
872 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
873 changing runlevels did not want to work.
874
875 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
876 More cosmetic than anything else, but cant hurt with the new dev-state
877 scheme.
878
879 Updated /sbin/init to set the console log level to 1, so that bootup
880 can be much cleaner. Also updated /etc/init.d/modules not to have
881 a logger in it 'use' depends, as it should not be needed anymore.
882
883 Updated /sbin/rc to check if devfsd is still running between runlevel
884 changes.
885
886 Updated /etc/init.d/modules to run update-modules. We want to be sure
887 /etc/modules.conf is updated when running depmod -a.
888
889 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
890 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
891
892 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
893 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
894 updated tarball.sh to handle ppp/chat-default.
895
896 Added /etc/skel/.bash* to make things cleaner.
897
898 Other minor changes.
899
900 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
901 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
902
903 * rc-scripts 1.1.8 (15 Nov 2001)
904
905 16 Nov 2001; removed bogus "mountall.test" script.
906
907 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
908
909 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
910 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
911 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
912 names of new functions in init.d/runscript.sh to better sounding ones.
913 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
914 fixes/cleanups.
915
916 Removed try() out of init.d/runscript.sh (why was this here ?).
917
918 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
919
920 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
921 doesn't exist.
922
923 init.d/hostname: Added check for a valid /etc/hostname.
924
925 init.d/keymaps: Added check for valid $KEYMAP.
926
927 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
928 should solve Woodchip's syslog+glue issue. We just have to change the
929 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
930 output info and warnings, etc to the console, then boot will be much cleaner.
931 Also the install guide will need changing to add the loggers to 'boot' and
932 not 'default' runlevel.
933
934 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
935 this really needed (I cannot see that it is used anywhere ...)?
936
937 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
938
939 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
940 called 'uses'. It basically have the same usage as 'need', except that it
941 do not start services that is not in the current and 'boot' runlevels.
942
943 Updated init.d/netmount to use the 'uses' depend.
944
945 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
946
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.
950
951 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
952
953 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
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.
957
958 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
959
960 Modified init.d/netmount to check if any network filesystems is mounted.
961
962 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
963 some awk and grep magic to find all remote filesystems and umount them.
964
965 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
966
967 A fix for checkroot (missing "/"); it now actually checks the root
968 filesystem. Also, a localmount cleanliness fix.
969
970 * rc-scripts 1.1.7 (18 Oct 2001)
971
972 [old changelog format follows]
973
974 *lots of scripts; woodchip
975 removed old rc5 scripts from cvs
976
977 *init.d/runscript.sh; agriffis
978 Added support for rc.conf and home-grown functions
979
980 *init.d/modules;
981 Now correctly looks at /etc/modules.autoload
982
983 rc-scripts-1.1.6, released 15 Sep 2001
984 ======================================
985
986 *init.d/runscript.sh, others
987 Handling of "net" dependencies resolve to all net devices in
988 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
989 variable in /etc/rc.conf has been removed.
990
991 *init.d/runscript.sh
992 New "zap" option for manually resetting the state of an initscript
993 to stopped.
994
995 *init.d/{samba,sysklogd,sshd}
996 Removed from CVS; they live in their respective packages.
997
998 rc-scripts-1.1.5, released 02 Sep 2001
999 ====================================
1000
1001 *sbin/rc-update
1002 New version of the rc-update command for the new initscripts. Works
1003 similarly to the old version, except this one updates our dependency
1004 cache.
1005
1006 *init.d/functions.sh
1007 New and better looking informational message functions (einfo, einfon).
1008 Brand new message functions (ewarn).
1009
1010 *sbin/init, init.d/checkroot
1011 We're going back to a /proc/mounts-based mtab symlink because it's
1012 just plain better. Appropriate changes made.
1013
1014 # vim:expandtab

  ViewVC Help
Powered by ViewVC 1.1.20