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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.127 - (show annotations) (download)
Sun Sep 29 13:11:01 2002 UTC (12 years ago) by azarah
Branch: MAIN
Changes since 1.126: +7 -0 lines
bugfixes

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

  ViewVC Help
Powered by ViewVC 1.1.20