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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.151 - (show annotations) (download)
Tue Nov 26 12:32:28 2002 UTC (11 years, 9 months ago) by azarah
Branch: MAIN
Changes since 1.150: +8 -0 lines
add some flexiblity to net dependency

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

  ViewVC Help
Powered by ViewVC 1.1.20