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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.152 - (show annotations) (download)
Wed Nov 27 21:32:40 2002 UTC (11 years, 7 months ago) by azarah
Branch: MAIN
Changes since 1.151: +5 -0 lines
cluster updates

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

  ViewVC Help
Powered by ViewVC 1.1.20