/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 164 Revision 243
1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts 1# ChangeLog for Gentoo Linux System Intialization ("rc") scripts
2# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL 2# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
3# Written by Daniel Robbins (drobbins@gentoo.org) 3# Written by Daniel Robbins (drobbins@gentoo.org)
4
5 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
6
7 Fix indentation in /etc/inputrc. This should close
8 bug #8368.
9
10 Add extended status functionality. Should close bug #2462.
11
12 Add support for /sbin/rc-update to check if the rc-script
13 is executable or not. Thanks to widersacher@gmx.net, closing
14 bug #8326.
15
16 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
17
18 Fix /etc/init.d/bootmisc not to kill pidfiles of running
19 daemons. Improve NGPT support in /sbin/rc a bit.
20
21 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
22
23 Fix my last screwup with /etc/init.d/net.ppp0. Basically
24 forgot to change a few DEVICE's to IFACE ...
25
26 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
27
28 NGPT support.
29
30 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
31
32 Did a small fix to /etc/init.d/net.eth0, thanks to
33 naanyaar2000@yahoo.com, bug #7407.
34
35 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
36
37 Add the permission stuff for generic scsi when compiled as
38 module, thanks to Bauno <bauno@inwind.it>.
39
40 Add support for /etc/devfs.d/ for additional devfs config
41 stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
42
43 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
44
45 Fix small type-o from last changes to /etc/init.d/netmount.
46 Should resolve bug #7803.
47
48* rc-scripts 1.4.0 (7 Sep 2002)
49
50 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
51
52 Update /etc/init.d/net.eth0 to handle individual broadcast
53 and netmask for aliases. Should close bug #7407.
54
55 Give /var/run/utmp and /var/log/wtmp the proper permissions
56 and ownership. First steps in fixing bug #7630.
57
58 Change Raid stuff again in /etc/init.d/checkfs.
59
60 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
61
62 Give root a 'root' GECOS in /etc/passwd, was NULL before.
63
64* rc-scripts 1.3.9 (25 Aug 2002)
65
66 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
67
68 Update /sbin/rc to fix some spelling/slang mistakes. Closes
69 bug #6887.
70
71 Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
72 This closes bug #6378.
73
74 Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
75 with many thanks to Asbjorn Sannes <ace@sannes.org>.
76
77 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
78
79 Update /etc/init.d/bootmisc to reset pam_console permissions.
80
81 Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
82 line for getting devfs to work with pam_console.
83
84 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
85
86 Update /etc/init.d/keymaps to first load the windowkeys.inc then
87 the user selected one, fixing bug #6295.
88
89 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
90
91 Change the 'cat' in check_rcscript() to a single 'awk' in
92 /sbin/depscan.sh. This should fix broken pipe issues if the
93 loop exists too early. Resolves bug #5961.
94
95 Fix software RAID startup/shutdown, bug #5310. Modified
96 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
97
98* rc-scripts 1.3.8 (08 Aug 2002)
99
100 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
101
102 Move the color ls stuff to .bashrc. Fix bug #5250.
103
104 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
105
106 Correct the comments in rc.conf about the XSESSION variable: it should
107 be set to "kde-<version>" not "KDE". Closes bug #5948.
108
109 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
110
111 Fix the 'Usage' line in the help to return the correct options for
112 the script (/sbin/runscript.sh). Resolve bug #6029.
113
114 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
115
116 Added UPS shutdown support for nut to halt.sh.
117 Added nut user/group as uid/gid 84.
118
119 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
120
121 Updated /sbin/rc's way of checking for devfs support (now rather uses
122 awk, as it is more accurate). Closes bug #5458.
123
124 Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
125 and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
126 Thanks goes to Chris PeBenito (bug #5570).
127
128 Changed most daemons to use /bin/false as shell. Should close bug #5388.
129
130 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
131
132 Added vpopmail user and group as 89:89
133
134 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
135
136 Add the cyrus user to /etc/passwd. Resolves bug #4100.
137
138 Some bugfixes and speed improvements to /sbin/depscan.sh after
139 last changes.
140
141 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
142 get some speed improvements.
143
144 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
145
146 Fix LVM support in /etc/init.d/checkfs again, thanks to help from
147 Kyle Manna <nitro@gentoo.org>.
148
149 Add software RAID support to /etc/init.d/checkfs, thanks to
150 Daniel Ahlberg <aliz@gentoo.org>.
151
152 Update the cache_depend() funtion in /sbin/depscan.sh not to
153 quit on any "}", but only on the one matching the first "{". This
154 requires wc in /bin, so baselayout should depend on
155 >=sys-apps/textutils-2.0.19-r2
156
157 Update /etc/init.d/netmount to try and detect nfs mounts that should be
158 mounted automatically on boot. This requires awk in /bin, so baselayout
159 should depend on >=sys-apps/gawk-3.1.0-r3.
160
161* rc-scripts 1.3.7 (17 Jul 2002)
162
163 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
164
165 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
166 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
167
168 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
169
170 Add additional entries to /etc/services to support cyrus-imapd, thanks
171 to Nick Hadaway <raker@gentoo.org>.
172
173 Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
174 problem with non 7bit ascii symbols.
175
176 Updated /etc/init.d/checkfs to detect if lvm is already active.
177 This should resolve bug #3613.
178
179 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
180
181 Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
182 "games" user and group to 35
183
184 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
185
186 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
187 (aka cybersystem). Updated /sbin/rc for this.
188
189 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
190
191 Update /etc/skel/.bashrc to update the window title of X terminals
192 that supports it. Closes bug #4232.
193
194 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
195
196 Add sshd user and group. Updated /etc/passwd and /etc/group for this.
197
198 Update /etc/inputrc to resolve bug #2599.
199
200 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
201
202 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
203 /etc/env.d/00basic for this.
204
205 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
206 Nothing official, but I spent enouth time on it not to want to loose it :)
207
208 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
209 to give output to stderr. This was caused by a call to "stty", which when
210 run without a attatched terminal, have this effect. Basically just pipe
211 stderr to /dev/null.
212
213 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
214
215 Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
216 bug #3363
217
218 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
219
220 Update /etc/init.d/netmount not to try and mount NFS filesystems
221 if portmap was not started. This is to stop "hang" problems for
222 new users who do not add portmap to the default runlevel. See
223 bug #2555.
224
225 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
226
227 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
228
229 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
230
231 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
232
233 Change the homes of user "at" and "cron" in /etc/passwd, as
234 they moved to /var/spool/cron...
235
236* rc-scripts 1.3.5 (12 May 2002)
237
238 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
239
240 Make slight modifications to /sbin/depscan.sh to improve speed (about
241 1 second on a celeron 633).
242
243 Finally fix /sbin/runscript.sh to properly handle interdependencies
244 between types need/use and before/after on runlevel change. I can
245 actually kick myself for previous implementations, as this fix simplifies
246 things a lot, and is almost 30 lines of code less!
247
248 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
249 It rather just exit with a warning, as I think most people have like
250 me mounts that are to boxes that are not always up.
251
252 Resolve bug #2439 (should not use try with the dd command for ramdisk
253 stuff). Also increase the number of inodes used for the ramdisk to
254 fix "out of space" errors. Updated /sbin/rc for this.
255
256 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
257
258 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
259 backup files to generate /etc/profile.env.
260
261 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
262 for this.
263
264 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
265
266 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
267 /etc/env.d/ file. Same for $QTDIR.
268
269 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
270
271 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
272 and is needed for some fixes.
273
274 28 April 2002; Martin Schlemmer <azarah@gentoo.org>:
275
276 Update /etc/rc.conf to be more clear and state that you should
277 remove consolefont from startup if you do not use it. Should
278 resolve bug #2174.
279
280 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
281
282 Added user/group apache with uid/gid 81.
283
284 25 April 2002; Martin Schlemmer <azarah@gentoo.org>:
285
286 Remove the "-net" from the line setting the default gateway
287 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
288 noting this.
289
290 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
291
292 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
293 which is installed with the nfs-utils package. Also tidied up some
294 really old, leftover junk like the non-supported stuff from rc5.
295 Closes #1754.
296
297 23 April 2002; Martin Schlemmer <azarah@gentoo.org>:
298
299 Remove creation of /var/run/utmpx from bootmisc again. Seems
300 other people have wierd problems.
301
302* rc-scripts 1.3.4 (21 April 2002)
303
304 21 April 2002; Martin Schlemmer <azarah@gentoo.org>:
305
306 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
307 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
308
309 Implement the status commandline argument. Updated /sbin/runscript.sh
310 and /sbin/rc-help.sh for this.
311
312 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
313 and AFTER.
4 314
5 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: 315 12 April 2002; Martin Schlemmer <azarah@gentoo.org>:
6 316
7 Update /etc/init.d/bootmisc to create /var/run/utmpx. This 317 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
8 is needed, else /usr/bin/newgrp segfault. 318 is needed, else /usr/bin/newgrp segfault.
109 be working now, and this also fix a problem that when there is no 419 be working now, and this also fix a problem that when there is no
110 service providing a virtual, counter was used uninitialized. 420 service providing a virtual, counter was used uninitialized.
111 421
112* rc-scripts 1.3.0 (10 March 2002) 422* rc-scripts 1.3.0 (10 March 2002)
113 423
114 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: Resolved 424 10 March 2002; Martin Schlemmer <azarah@gentoo.org>:
425
115 bug #1021; updated /etc/init.d/consolefont for this. 426 Resolved bug #1021; updated /etc/init.d/consolefont for this.
116 427
117 Resolved bug #1029; updated /etc/init.d/net.eth0 for this. 428 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
118 429
119 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount 430 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
120 and /etc/init.d/localmount for this. 431 and /etc/init.d/localmount for this.
139 to detect a error when mounting /proc (remember to thank Grant for 450 to detect a error when mounting /proc (remember to thank Grant for
140 his UserMode ebuilds, and Guide). 451 his UserMode ebuilds, and Guide).
141 452
142* rc-scripts 1.2.9 (6 March 2002) 453* rc-scripts 1.2.9 (6 March 2002)
143 454
144 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form 455 6 March 2002; Martin Schlemmer <azarah@gentoo.org>:
456
145 updates and some piping fixes. 457 General form updates and some piping fixes.
146 458
147 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh 459 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
148 to fix a problem where startDM.sh would be respawned repeatedly 460 to fix a problem where startDM.sh would be respawned repeatedly
149 if xdm was not in the default runlevel. 461 if xdm was not in the default runlevel.
150 462
151* rc-scripts 1.2.8 (4 March 2002) 463* rc-scripts 1.2.8 (4 March 2002)
152 464
153 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm, 465 4 March 2002; Martin Schlemmer <azarah@gentoo.org>:
154 /etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key" 466
155 problem we had with xdm/gdm/kdm. We should move them to the 467 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
468 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
156 xfree ebuild later on when things settles down. 469 move them to the xfree ebuild later on when things settles down.
157 470
158 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh. 471 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
159 472
160 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem 473 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
161 where we had a invalid $PATH on boot in some cases. 474 where we had a invalid $PATH on boot in some cases.
163 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with 476 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
164 the new sys-apps/kbd package. 477 the new sys-apps/kbd package.
165 478
166* rc-scripts 1.2.7 (3 March 2002) 479* rc-scripts 1.2.7 (3 March 2002)
167 480
168 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem 481 3 March 2002; Martin Schlemmer <azarah@gentoo.org>:
482
169 of rc-scripts trying to start/stop a service multiple times if it 483 Fixed the problem of rc-scripts trying to start/stop a service multiple
170 fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for 484 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
171 this. 485 for this.
172 486
173 Fixing some variable declarations in /etc/init.d/runscript.sh caused 487 Fixing some variable declarations in /etc/init.d/runscript.sh caused
174 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 488 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
175 this. 489 this.
176 490
181 Updated /etc/passwd to have users with no shell defined, use /bin/false 495 Updated /etc/passwd to have users with no shell defined, use /bin/false
182 for security. 496 for security.
183 497
184 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 498 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
185 499
186 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for 500 1 March 2002; Martin Schlemmer <azarah@gentoo.org>:
501
187 sourcing the rc-scripts to eliminate syntax errors. Thanks to 502 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
188 Karl Trygve Kalleberg (aka karltk) for the idea. Updated 503 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
189 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 504 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
190 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 505 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
191 506
192 Removed stopping of dependant services that have current service as 507 Removed stopping of dependant services that have current service as
193 a 'use'dependancy ... should be less confusing now. 508 a 'use'dependancy ... should be less confusing now.
194 Updated /etc/init.d/runscript.sh for this. 509 Updated /etc/init.d/runscript.sh for this.
195 510
196 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start 511 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
197 and /etc/conf.d/local.stop for adding any misc programs to startup. This 512
198 should pretty much have /etc/init.d/ static, except for baselayout updates, 513 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
199 etc. 514 programs to startup. This should pretty much have /etc/init.d/ static,
515 except for baselayout updates, etc.
200 516
201 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases, 517 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
518
202 a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed 519 In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
203 this in /sbin/rc. 520 problems. Fixed this in /sbin/rc.
204 521
205 Added the patches from Grant Goodyear (aka g2boojum) to enable us to 522 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
206 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc, 523 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
207 /etc/init.d/functions.sh and /etc/init.d/checkroot for this. 524 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
208 525
209 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead 526 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
210 update of the 25th. It really should keep "gentoo=nodevfs" in mind. 527
211 Also added 'get_bootparam()' to help in retrieving kernel options. 528 Fix my brain dead update of the 25th. It really should keep
212 Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc 529 "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
213 for this. 530 retrieving kernel options. Updated /etc/init.d/functions.sh,
531 /etc/init.d/checkroot and /sbin/rc for this.
214 532
215 Updated /etc/init.d/consolefont to work without devfs as well. 533 Updated /etc/init.d/consolefont to work without devfs as well.
216 534
217 When rebooting or shutting down, a service should not fail to stop 535 When rebooting or shutting down, a service should not fail to stop
218 if a service it depends on, fails. Updated /etc/init.d/runscript.sh 536 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
219 for this. 537 for this.
220 538
221 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if 539 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
222 /dev is mounted when creating entries for /etc/mtab. This should solve a 540
223 invalid entry or /dev being mounted even with 'gentoo=nodevfs' option. 541 Added a check if /dev is mounted when creating entries for /etc/mtab.
224 Updated /etc/init.d/checkroot for this. 542 This should solve a invalid entry or /dev being mounted even with
543 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
225 544
226 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default 545 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
227 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's 546 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
228 just in a comment now) 547 just in a comment now)
229 548
230 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and 549 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
231 'before', updated /etc/init.d/runscript.sh for this. This should fix
232 services not getting started in the correct order in a tight loop, services
233 getting stopped out of order, and some other sanity checks. Updated
234 rc-script.sh for updated help.
235 550
551 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
552 this. This should fix services not getting started in the correct order
553 in a tight loop, services getting stopped out of order, and some other
554 sanity checks. Updated rc-script.sh for updated help.
555
236 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to 556 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
237 resolve bug #588. Reimplemented things a bit, and added the 'after' type. 557
238 'before' and 'after' will only work currently for a change of runlevel. 558 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
239 Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it. 559 and added the 'after' type. 'before' and 'after' will only work currently
560 for a change of runlevel. Updated /etc/init.d/depscan.sh,
561 /etc/init.d/runscript.sh and /sbin/rc for this.
240 562
241 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to 563 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
242 /etc/devfsd.conf to make alsa users life easier ... thanks Tod. 564
565 Add some more entries to /etc/devfsd.conf to make alsa users life
566 easier ... thanks Tod.
243 567
244 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to 568 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
569
245 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 570 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
246 571
247 Fixed some services not starting again when restarting a service. 572 Fixed some services not starting again when restarting a service.
248 Seems simple is still the best way. 573 Seems simple is still the best way.
249 574
250 Fixed some other problems created with feature additions and cleanups. 575 Fixed some other problems created with feature additions and cleanups.
251 576
252 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to 577 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
578
253 /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. 579 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
254 580
255 Added 'before *' to /etc/init.d/checkroot to make sure it gets 581 Added 'before *' to /etc/init.d/checkroot to make sure it gets
256 started first. 582 started first.
257 583
258 Added 'use *' to /etc/init.d/local to make sure it gets started 584 Added 'use *' to /etc/init.d/local to make sure it gets started
259 last. 585 last.
260 586
261 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc 587 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
588
262 to stop a service on change of runlevel if it is in 'use' by 589 Fixed /sbin/rc to stop a service on change of runlevel if it is
263 another service. 590 in 'use' by another service.
264 591
265 Added the 'provide' depend type for creating virtual services. 592 Added the 'provide' depend type for creating virtual services.
266 Updated /etc/init.d/depscan.sh for this. 593 Updated /etc/init.d/depscan.sh for this.
267 594
268 Added the 'before' depend type. This is more for changing the 595 Added the 'before' depend type. This is more for changing the
276 Added save_options() and get_options() to /etc/init.d/functions.sh 603 Added save_options() and get_options() to /etc/init.d/functions.sh
277 for saving misc settings between startup/shutdown. Updated 604 for saving misc settings between startup/shutdown. Updated
278 /etc/init.d/net.eth0 to use these and properly down virtual 605 /etc/init.d/net.eth0 to use these and properly down virtual
279 interfaces. 606 interfaces.
280 607
281 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both 608 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
609
282 /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no 610 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
283 errors. 611 on no errors.
284 612
285* rc-scripts 1.2.6 (6 Feb 2002) 613* rc-scripts 1.2.6 (6 Feb 2002)
286 614
287 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0
288 to specify the gateway device via the $gateway variable (something like
289 gateway="eth0/192.168.0.1").
290
291 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script 615 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
616
617 Updated /etc/net.eth0 to specify the gateway device via the $gateway
618 variable (something like gateway="eth0/192.168.0.1").
619
620 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
621
292 /etc/init.d/numlock, for enabling numlock at boot. 622 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
293 623
294 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the 624 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
625
295 last fix to /etc/init.d/netmount to umount cleanly. This fix 626 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
296 implements a retry if not successful the first time, and will 627 implements a retry if not successful the first time, and will kill
297 kill processess using the mount. Also small type-o fix to 628 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
298 /etc/init.d/halt.sh.
299 629
300 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to 630 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
301 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. 631 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
302 Fixed /etc/passwd,group for user/group mysql. 632 Fixed /etc/passwd,group for user/group mysql.
303 633
342 /etc/init.d/checkfs to return 0 if the fs was successfully repaired. 672 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
343 673
344 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 674 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
345 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 675 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
346 676
347 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated 677 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
678
348 /etc/init.d/depscan.sh to store info about missing dependancies of 679 Updated /etc/init.d/depscan.sh to store info about missing dependancies
349 type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 680 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
350 to use this when starting a script ('need' dependancies is critical for 681 to use this when starting a script ('need' dependancies is critical for
351 startup). Added the broken() function to /etc/init.d/runscript.sh 682 startup). Added the broken() function to /etc/init.d/runscript.sh
352 to list the missing dependancies. 683 to list the missing dependancies.
353 684
354 Updated /etc/init.d/runscript.sh for svc_start() to have better error 685 Updated /etc/init.d/runscript.sh for svc_start() to have better error
356 687
357 Updated /etc/init.d/functions.sh with ewend(), which is the same as 688 Updated /etc/init.d/functions.sh with ewend(), which is the same as
358 eend(), but print a warning on error, not a error. Updated 689 eend(), but print a warning on error, not a error. Updated
359 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function. 690 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
360 691
361 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c 692 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
362 to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script. 693
694 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
695 is passed to a rc-script.
363 696
364 Added /etc/init.d/rc-help.sh, simple script that prints out help for 697 Added /etc/init.d/rc-help.sh, simple script that prints out help for
365 the rc-scripts. 698 the rc-scripts.
366 699
367 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update 700 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
701
368 /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the 702 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
369 halt and reboot. This fixes a problem where / was not unmounted 703 halt and reboot. This fixes a problem where / was not unmounted properly
370 properly in some cases. 704 in some cases.
371 705
372 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to 706 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
373 to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and 707
374 /etc/init.d/depscan.sh for this 708 Move $svcdir to to /etc/init.d/functions.sh, and update
709 /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
375 710
376 Modified /etc/init.d/runscript.sh to also restart the services that 711 Modified /etc/init.d/runscript.sh to also restart the services that
377 depend on a service if that service is restarted. Enhanced the 712 depend on a service if that service is restarted. Enhanced the
378 restart function to be able to have custom restart() functions in 713 restart function to be able to have custom restart() functions in
379 rc-scripts. The custom restart() have to use svc_stop() and 714 rc-scripts. The custom restart() have to use svc_stop() and
381 716
382 Add a pause function to /etc/init.d/runscript.sh. It will basically 717 Add a pause function to /etc/init.d/runscript.sh. It will basically
383 stop a service without stopping the services that depends on that 718 stop a service without stopping the services that depends on that
384 service. 719 service.
385 720
386 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a 721 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
387 service without stopping the services that depends on that service. 722 service without stopping the services that depends on that service.
388 723
389* rc-scripts 1.2.3 (18 Dec 2001) 724* rc-scripts 1.2.3 (18 Dec 2001)
390 725
391 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from 726 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
392 /sbin/init (old) to /sbin/rc (basically drop the init wrapper we used). 727
728 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
729 init wrapper we used).
393 730
394 Some cleanups: take out the shm resize comment; 731 Some cleanups: take out the shm resize comment;
395 732
396 remove the $wrongmount; 733 remove the $wrongmount;
397 734
408 Also added functionality to detect if the kernel have DEVFS support 745 Also added functionality to detect if the kernel have DEVFS support
409 compiled in; seems new users thinks devfs is unstable and as they do 746 compiled in; seems new users thinks devfs is unstable and as they do
410 not always read the docs, it does not get compiled in ;/ Should 747 not always read the docs, it does not get compiled in ;/ Should
411 make live for us a bit easier. 748 make live for us a bit easier.
412 749
413 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill 750 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
414 a cosmetic bug in the part that stops all the unneeded services. 751
752 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
753 the unneeded services.
415 754
416* rc-scripts 1.2.2 (8 Dec 2001) 755* rc-scripts 1.2.2 (8 Dec 2001)
417 756
418 10 Dec 2001; Added a localhost entry in /etc/hosts. 757 10 Dec 2001; Added a localhost entry in /etc/hosts.
419 758
430 to rc-scripts. Checked in two manpages there, one for modules.autoload.5 769 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
431 and one for update-modules.8. These were adapted from Debian. Updated 770 and one for update-modules.8. These were adapted from Debian. Updated
432 tarball.sh to include the new man directory. Updated baselayout to install 771 tarball.sh to include the new man directory. Updated baselayout to install
433 these manpages. Slightly tweak the /etc/modules.autoload comments. 772 these manpages. Slightly tweak the /etc/modules.autoload comments.
434 773
435 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init 774 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
775
436 to work correctly with the 'gentoo=nodevfs' option, and cleaned 776 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
437 out old code. 777 and cleaned out old code.
438 778
439 Updated /etc/init.d/bootmisc with additional lock files to clean. 779 Updated /etc/init.d/bootmisc with additional lock files to clean.
440 780
441 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 781 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
782
442 /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' 783 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
443 that can be used for services that needs to have a logger started 784 that can be used for services that needs to have a logger started before
444 before they are started. Updated /etc/conf.d/basic with $SYSLOGGER 785 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
445 that is used to define what loggers the 'logger' depend represent. 786 to define what loggers the 'logger' depend represent.
446 787
447 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 788 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
789
448 /etc/passwd and /etc/group with minor fixes to pass pwck and grpck. 790 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
791 and grpck.
449 792
450 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in 793 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
794
451 /etc/profile for the user to 077 for security. 795 Changed umask in /etc/profile for the user to 077 for security.
452 796
453 Added a stop() function to /etc/init.d/clock. Also removed uneeded 797 Added a stop() function to /etc/init.d/clock. Also removed uneeded
454 'source /etc/rc.conf' line. 798 'source /etc/rc.conf' line.
455 799
456 Updated /etc/init.d/hostname to set the hostname to 'localhost' if 800 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
467 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), 811 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
468 removed notail from the ext2 boot partition, other cleanups. 812 removed notail from the ext2 boot partition, other cleanups.
469 813
470 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. 814 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
471 815
472 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf 816 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
473 and updated /sbin/init to use a new scheme for saving /dev permissions. 817
818 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
474 Also moved /dev-state to /lib/dev-state which is a more standard location. 819 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
820 standard location.
475 821
476 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on 822 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
477 itself, calling depscan.sh or changing runlevels cause a tempory effect 823 itself, calling depscan.sh or changing runlevels cause a tempory effect
478 similar to a 'mini fork bomb'. Afterwards the depends was broken, and 824 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
479 changing runlevels did not want to work. 825 changing runlevels did not want to work.
508 854
509* rc-scripts 1.1.8 (15 Nov 2001) 855* rc-scripts 1.1.8 (15 Nov 2001)
510 856
511 16 Nov 2001; removed bogus "mountall.test" script. 857 16 Nov 2001; removed bogus "mountall.test" script.
512 858
513 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 859 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
860
514 init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not 861 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
515 'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded 862 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
516 for loop from init.d/depscan.sh, and other fixes. Updated names of new 863 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
517 functions in init.d/runscript.sh to better sounding ones. Updated 864 names of new functions in init.d/runscript.sh to better sounding ones.
518 init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. 865 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
866 fixes/cleanups.
867
519 Removed try() out of init.d/runscript.sh (why was this here ?). 868 Removed try() out of init.d/runscript.sh (why was this here ?).
520 869
521 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now 870 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
871
522 cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. 872 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
873 doesn't exist.
523 874
524 init.d/hostname: Added check for a valid /etc/hostname. 875 init.d/hostname: Added check for a valid /etc/hostname.
525 876
526 init.d/keymaps: Added check for valid $KEYMAP. 877 init.d/keymaps: Added check for valid $KEYMAP.
527 878
533 not 'default' runlevel. 884 not 'default' runlevel.
534 885
535 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is 886 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
536 this really needed (I cannot see that it is used anywhere ...)? 887 this really needed (I cannot see that it is used anywhere ...)?
537 888
538 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated 889 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
890
539 init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called 891 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
540 'uses'. It basically have the same usage as 'need', except that it do not 892 called 'uses'. It basically have the same usage as 'need', except that it
541 start services that is not in the current and 'boot' runlevels. 893 do not start services that is not in the current and 'boot' runlevels.
542 894
543 Updated init.d/netmount to use the 'uses' depend. 895 Updated init.d/netmount to use the 'uses' depend.
544 896
545 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh 897 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
546 not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent 898
547 starting and stopping of services not to start depends. 899 Fixed init.d/runscript.sh not to destroy the 'need' depends in
900 /${svcdir}/need. This caused subsequent starting and stopping of services
901 not to start depends.
548 902
549 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc 903 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
550 where the ${svcdir}/softscripts directory got destroyed before stopping 904
551 running services scheduled to be stopped. This with the fact that $SOFTLEVEL 905 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
552 was set too early, caused the services to be stopped in the wrong order. 906 destroyed before stopping running services scheduled to be stopped. This
907 with the fact that $SOFTLEVEL was set too early, caused the services to be
908 stopped in the wrong order.
553 909
554 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to 910 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
911
555 check if any network filesystems is mounted. 912 Modified init.d/netmount to check if any network filesystems is mounted.
556 913
557 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added 914 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
558 some awk and grep magic to find all remote filesystems and umount them. 915 some awk and grep magic to find all remote filesystems and umount them.
559 916
560 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot 917 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
561 (missing "/"); it now actually checks the root filesystem. Also, a 918
562 localmount cleanliness fix. 919 A fix for checkroot (missing "/"); it now actually checks the root
920 filesystem. Also, a localmount cleanliness fix.
563 921
564* rc-scripts 1.1.7 (18 Oct 2001) 922* rc-scripts 1.1.7 (18 Oct 2001)
565 923
566[old changelog format follows] 924[old changelog format follows]
567 925
602 Brand new message functions (ewarn). 960 Brand new message functions (ewarn).
603 961
604 *sbin/init, init.d/checkroot 962 *sbin/init, init.d/checkroot
605 We're going back to a /proc/mounts-based mtab symlink because it's 963 We're going back to a /proc/mounts-based mtab symlink because it's
606 just plain better. Appropriate changes made. 964 just plain better. Appropriate changes made.
965
966# vim:expandtab

Legend:
Removed from v.164  
changed lines
  Added in v.243

  ViewVC Help
Powered by ViewVC 1.1.20