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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.160 - (show annotations) (download)
Mon Dec 9 20:30:00 2002 UTC (11 years, 4 months ago) by azarah
Branch: MAIN
Changes since 1.159: +2 -0 lines
new release

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

  ViewVC Help
Powered by ViewVC 1.1.20