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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.154 - (show annotations) (download)
Sun Dec 1 08:52:55 2002 UTC (11 years, 11 months ago) by azarah
Branch: MAIN
Changes since 1.153: +5 -0 lines
fix typeo in devfsd.conf

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

  ViewVC Help
Powered by ViewVC 1.1.20