/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.109  
changed lines
  Added in v.259

  ViewVC Help
Powered by ViewVC 1.1.20