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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.158 - (show annotations) (download)
Wed Dec 4 20:20:45 2002 UTC (11 years, 10 months ago) by azarah
Branch: MAIN
Changes since 1.157: +3 -0 lines
serial console fixes

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

  ViewVC Help
Powered by ViewVC 1.1.20