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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.133 - (show annotations) (download)
Fri Oct 25 23:49:31 2002 UTC (11 years, 11 months ago) by azarah
Branch: MAIN
Changes since 1.132: +5 -0 lines
bugfix

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

  ViewVC Help
Powered by ViewVC 1.1.20