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

Contents of /rc-scripts/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.149 - (show annotations) (download)
Mon Nov 18 20:28:39 2002 UTC (12 years, 1 month ago) by azarah
Branch: MAIN
Changes since 1.148: +5 -0 lines
i2c support

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

  ViewVC Help
Powered by ViewVC 1.1.20