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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.143 - (show annotations) (download)
Mon Nov 18 09:02:26 2002 UTC (11 years, 8 months ago) by azarah
Branch: MAIN
Changes since 1.142: +8 -0 lines
fix using /usr/bin/find

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

  ViewVC Help
Powered by ViewVC 1.1.20