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 |
12 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
6 |
|
7 |
Make slight modifications to /sbin/depscan.sh to improve speed (about |
8 |
1 second on a celeron 633). |
9 |
|
10 |
Finally fix /sbin/runscript.sh to properly handle interdependencies |
11 |
between types need/use and before/after on runlevel change. I can |
12 |
actually kick myself for previous implementations, as this fix simplifies |
13 |
things a lot, and is almost 30 lines of code less! |
14 |
|
15 |
Change /etc/init.d/netmount not to fail if all mounts are not mounted. |
16 |
It rather just exit with a warning, as I think most people have like |
17 |
me mounts that are to boxes that are not always up. |
18 |
|
19 |
Resolve bug #2439 (should not use try with the dd command for ramdisk |
20 |
stuff). Also increase the number of inodes used for the ramdisk to |
21 |
fix "out of space" errors. Updated /sbin/rc for this. |
22 |
|
23 |
10 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
24 |
|
25 |
Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use |
26 |
backup files to generate /etc/profile.env. |
27 |
|
28 |
Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0 |
29 |
for this. |
30 |
|
31 |
6 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
32 |
|
33 |
Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest |
34 |
/etc/env.d/ file. Same for $QTDIR. |
35 |
|
36 |
5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
37 |
|
38 |
Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
39 |
and is needed for some fixes. |
40 |
|
41 |
28 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
42 |
|
43 |
Update /etc/rc.conf to be more clear and state that you should |
44 |
remove consolefont from startup if you do not use it. Should |
45 |
resolve bug #2174. |
46 |
|
47 |
26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
48 |
|
49 |
Added user/group apache with uid/gid 81. |
50 |
|
51 |
25 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
52 |
|
53 |
Remove the "-net" from the line setting the default gateway |
54 |
in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
55 |
noting this. |
56 |
|
57 |
24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
58 |
|
59 |
Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
60 |
which is installed with the nfs-utils package. Also tidied up some |
61 |
really old, leftover junk like the non-supported stuff from rc5. |
62 |
Closes #1754. |
63 |
|
64 |
23 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
65 |
|
66 |
Remove creation of /var/run/utmpx from bootmisc again. Seems |
67 |
other people have wierd problems. |
68 |
|
69 |
* rc-scripts 1.3.4 (21 April 2002) |
70 |
|
71 |
21 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
72 |
|
73 |
Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
74 |
and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
75 |
|
76 |
Implement the status commandline argument. Updated /sbin/runscript.sh |
77 |
and /sbin/rc-help.sh for this. |
78 |
|
79 |
Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
80 |
and AFTER. |
81 |
|
82 |
12 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
83 |
|
84 |
Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
85 |
is needed, else /usr/bin/newgrp segfault. |
86 |
|
87 |
11 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
88 |
|
89 |
Update /etc/skel/.bash_profile to make it tcsh compadible. |
90 |
Thanks to Väinö Järvelä for this fix. |
91 |
|
92 |
Update /etc/profile to also set the PS? variables if $SHELL |
93 |
is set to /bin/sh. This should make prompt colours in |
94 |
bootstrap work again. |
95 |
|
96 |
Move LVM stuff to checkfs to ensure that they get fscked. |
97 |
This resolves bug #1552. |
98 |
|
99 |
* rc-scripts 1.3.3 (5 April 2002) |
100 |
|
101 |
5 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
102 |
|
103 |
Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
104 |
This is done to try and ensure system integrity. |
105 |
|
106 |
1 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
107 |
|
108 |
Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
109 |
|
110 |
Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
111 |
|
112 |
Add a bash check to the code that sets the prompt, fixing bug #1078. |
113 |
|
114 |
* rc-scripts 1.3.2 (24 Mar 2002) |
115 |
|
116 |
24 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
117 |
|
118 |
Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
119 |
for this. |
120 |
|
121 |
With the "before" and "after" stuff, recursion levels was getting too high, |
122 |
and with some cases, things just plain did not work as it should. Reworked |
123 |
things to to lower the levels of recursion and get the order right. Updated |
124 |
/etc/init.d/runscript.sh for this. |
125 |
|
126 |
Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where |
127 |
${svcdir}/softlevel did not always exist, but runscript.sh tried to open it. |
128 |
|
129 |
Enhance --quiet support. Updated /etc/init.d/functions.sh for this. |
130 |
|
131 |
Remove /etc/pwdb.conf, as pwdb already install a copy of this. |
132 |
|
133 |
Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this. |
134 |
|
135 |
Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
136 |
and it seems it has fallen now to my discression. |
137 |
|
138 |
* rc-scripts 1.3.1 (23 Mar 2002) |
139 |
|
140 |
23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
141 |
DHCP lease release from Jim Nutt. |
142 |
|
143 |
23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
144 |
since there are a lot of important bug fixes in here that are needed. |
145 |
|
146 |
23 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
147 |
|
148 |
Resolve bug #1292. |
149 |
|
150 |
Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
151 |
Spidler. |
152 |
|
153 |
21 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
154 |
|
155 |
Update /sbin/rc to fix a 'cat mounts' instead of the correct |
156 |
version, 'cat /proc/mounts'. |
157 |
|
158 |
19 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
159 |
|
160 |
Add initial support for the --quiet flag that suppress output. |
161 |
|
162 |
18 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
163 |
|
164 |
Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
165 |
as not all errors by depscan.sh is critical. It should be |
166 |
reworked to do better error handeling. |
167 |
|
168 |
14 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
169 |
|
170 |
Fix the GID and UID of nobody and nogroup in /etc/passwd and |
171 |
/etc/group to match those of Debian, FBSD and others. Thanks |
172 |
to those who reported it, and Woodchip for looking up the |
173 |
proper values. |
174 |
|
175 |
Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
176 |
This resolves bug #1150, thanks to Paul Fleischer. |
177 |
|
178 |
11 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
179 |
|
180 |
Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
181 |
as some users have /usr on seperate partition which is not |
182 |
mounted when depscan.sh is run the first time. |
183 |
|
184 |
Updated the checking for more than one service providing the |
185 |
same virtual function in /etc/init.d/depscan.sh. It should |
186 |
be working now, and this also fix a problem that when there is no |
187 |
service providing a virtual, counter was used uninitialized. |
188 |
|
189 |
* rc-scripts 1.3.0 (10 March 2002) |
190 |
|
191 |
10 March 2002; Martin Schlemmer <azarah@gentoo.org>: Resolved |
192 |
bug #1021; updated /etc/init.d/consolefont for this. |
193 |
|
194 |
Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
195 |
|
196 |
Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount |
197 |
and /etc/init.d/localmount for this. |
198 |
|
199 |
Lots of form/syntax cleanups, most things should be more |
200 |
consistant now. Fixed fail detection/return values of lots of |
201 |
scripts. |
202 |
|
203 |
Lots of cleanup/fixes in the three main scripts behind our |
204 |
rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh |
205 |
|
206 |
Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh |
207 |
is sourced in a ebuild. |
208 |
|
209 |
Fix a bug that our rc-script wrapper introduced: Global variables |
210 |
in scripts no longer worked. Updated /etc/init.d/runscript.sh for |
211 |
this. |
212 |
|
213 |
Implemented more error checking for the main startup code in /sbin/rc. |
214 |
Also fixed try() for mounting /proc (maybe all mount commands). |
215 |
The function worked fine in a simulated test, but in real life failed |
216 |
to detect a error when mounting /proc (remember to thank Grant for |
217 |
his UserMode ebuilds, and Guide). |
218 |
|
219 |
* rc-scripts 1.2.9 (6 March 2002) |
220 |
|
221 |
6 March 2002; Martin Schlemmer <azarah@gentoo.org>: General form |
222 |
updates and some piping fixes. |
223 |
|
224 |
Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
225 |
to fix a problem where startDM.sh would be respawned repeatedly |
226 |
if xdm was not in the default runlevel. |
227 |
|
228 |
* rc-scripts 1.2.8 (4 March 2002) |
229 |
|
230 |
4 March 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/init.d/xdm, |
231 |
/etc/X11/startDM.sh and updated /etc/inittab to fix the "dead key" |
232 |
problem we had with xdm/gdm/kdm. We should move them to the |
233 |
xfree ebuild later on when things settles down. |
234 |
|
235 |
Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh. |
236 |
|
237 |
Added a basic $PATH to /etc/init.d/functions.sh to fix a problem |
238 |
where we had a invalid $PATH on boot in some cases. |
239 |
|
240 |
Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
241 |
the new sys-apps/kbd package. |
242 |
|
243 |
* rc-scripts 1.2.7 (3 March 2002) |
244 |
|
245 |
3 March 2002; Martin Schlemmer <azarah@gentoo.org>: fixed the problem |
246 |
of rc-scripts trying to start/stop a service multiple times if it |
247 |
fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc for |
248 |
this. |
249 |
|
250 |
Fixing some variable declarations in /etc/init.d/runscript.sh caused |
251 |
/etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
252 |
this. |
253 |
|
254 |
Added caching of the "depend() { need foo; } " lines, and updated |
255 |
/etc/init.d/depscan.sh to touch the actual files less. This should |
256 |
speedup dependancy caching a lot, especially on slow machines. |
257 |
|
258 |
Updated /etc/passwd to have users with no shell defined, use /bin/false |
259 |
for security. |
260 |
|
261 |
Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
262 |
|
263 |
1 March 2002; Martin Schlemmer <azarah@gentoo.org>: added a wrapper for |
264 |
sourcing the rc-scripts to eliminate syntax errors. Thanks to |
265 |
Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
266 |
/etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
267 |
/etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
268 |
|
269 |
Removed stopping of dependant services that have current service as |
270 |
a 'use'dependancy ... should be less confusing now. |
271 |
Updated /etc/init.d/runscript.sh for this. |
272 |
|
273 |
28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: add /etc/conf.d/local.start |
274 |
and /etc/conf.d/local.stop for adding any misc programs to startup. This |
275 |
should pretty much have /etc/init.d/ static, except for baselayout updates, |
276 |
etc. |
277 |
|
278 |
27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: in some wierd cases, |
279 |
a redundent /dev/.devfsd on a unmounted /dev can cause problems. Fixed |
280 |
this in /sbin/rc. |
281 |
|
282 |
Added the patches from Grant Goodyear (aka g2boojum) to enable us to |
283 |
use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc, |
284 |
/etc/init.d/functions.sh and /etc/init.d/checkroot for this. |
285 |
|
286 |
26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: fix my brain dead |
287 |
update of the 25th. It really should keep "gentoo=nodevfs" in mind. |
288 |
Also added 'get_bootparam()' to help in retrieving kernel options. |
289 |
Updated /etc/init.d/functions.sh, /etc/init.d/checkroot and /sbin/rc |
290 |
for this. |
291 |
|
292 |
Updated /etc/init.d/consolefont to work without devfs as well. |
293 |
|
294 |
When rebooting or shutting down, a service should not fail to stop |
295 |
if a service it depends on, fails. Updated /etc/init.d/runscript.sh |
296 |
for this. |
297 |
|
298 |
25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: added a check if |
299 |
/dev is mounted when creating entries for /etc/mtab. This should solve a |
300 |
invalid entry or /dev being mounted even with 'gentoo=nodevfs' option. |
301 |
Updated /etc/init.d/checkroot for this. |
302 |
|
303 |
17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default |
304 |
filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's |
305 |
just in a comment now) |
306 |
|
307 |
17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): more fixes to 'after' and |
308 |
'before', updated /etc/init.d/runscript.sh for this. This should fix |
309 |
services not getting started in the correct order in a tight loop, services |
310 |
getting stopped out of order, and some other sanity checks. Updated |
311 |
rc-script.sh for updated help. |
312 |
|
313 |
15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): update /etc/profile to |
314 |
resolve bug #588. Reimplemented things a bit, and added the 'after' type. |
315 |
'before' and 'after' will only work currently for a change of runlevel. |
316 |
Updated /etc/init.d/depscan.sh, /etc/init.d/runscript.sh and /sbin/rc for it. |
317 |
|
318 |
13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): add some more entries to |
319 |
/etc/devfsd.conf to make alsa users life easier ... thanks Tod. |
320 |
|
321 |
12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Some more cleanups to |
322 |
/etc/init.d/depscan.sh and /etc/init.d/runscript.sh. |
323 |
|
324 |
Fixed some services not starting again when restarting a service. |
325 |
Seems simple is still the best way. |
326 |
|
327 |
Fixed some other problems created with feature additions and cleanups. |
328 |
|
329 |
11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): General cleanups to |
330 |
/etc/init.d/depscan.sh and /etc/init.d/runscript.sh. |
331 |
|
332 |
Added 'before *' to /etc/init.d/checkroot to make sure it gets |
333 |
started first. |
334 |
|
335 |
Added 'use *' to /etc/init.d/local to make sure it gets started |
336 |
last. |
337 |
|
338 |
10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc |
339 |
to stop a service on change of runlevel if it is in 'use' by |
340 |
another service. |
341 |
|
342 |
Added the 'provide' depend type for creating virtual services. |
343 |
Updated /etc/init.d/depscan.sh for this. |
344 |
|
345 |
Added the 'before' depend type. This is more for changing the |
346 |
order services start in. Updated /etc/init.d/depscan.sh and |
347 |
/etc/init.d/functions.sh for this. |
348 |
|
349 |
Updated /etc/init.d/depscan.sh to work with '*' as argument for |
350 |
dependancy types. This can be used with 'use' and 'before' to |
351 |
start a script last or first respectively. |
352 |
|
353 |
Added save_options() and get_options() to /etc/init.d/functions.sh |
354 |
for saving misc settings between startup/shutdown. Updated |
355 |
/etc/init.d/net.eth0 to use these and properly down virtual |
356 |
interfaces. |
357 |
|
358 |
6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated both |
359 |
/etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet on no |
360 |
errors. |
361 |
|
362 |
* rc-scripts 1.2.6 (6 Feb 2002) |
363 |
|
364 |
2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): updated /etc/net.eth0 |
365 |
to specify the gateway device via the $gateway variable (something like |
366 |
gateway="eth0/192.168.0.1"). |
367 |
|
368 |
2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): added rc-script |
369 |
/etc/init.d/numlock, for enabling numlock at boot. |
370 |
|
371 |
29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): hopefully the |
372 |
last fix to /etc/init.d/netmount to umount cleanly. This fix |
373 |
implements a retry if not successful the first time, and will |
374 |
kill processess using the mount. Also small type-o fix to |
375 |
/etc/init.d/halt.sh. |
376 |
|
377 |
27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to |
378 |
/etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. |
379 |
Fixed /etc/passwd,group for user/group mysql. |
380 |
|
381 |
27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset |
382 |
map file support to /etc/init.d/consolefont and the setting to |
383 |
/etc/rc.conf. |
384 |
|
385 |
25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors |
386 |
in skel files to support both versions of dircolors. |
387 |
|
388 |
23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug |
389 |
in the restart stuff of /etc/init.d/runscript.sh that caused |
390 |
a restart of a 'net' service not to restart services again |
391 |
that depended on it. |
392 |
|
393 |
* rc-scripts 1.2.5 (20 Jan 2002) |
394 |
|
395 |
20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated |
396 |
/etc/init.d/net.eth0 to 'use' pcmcia. |
397 |
|
398 |
8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to |
399 |
the dircolors command in /etc/skel/.bash_profile to handle cases |
400 |
where bash do not export $SHELL. |
401 |
|
402 |
6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated |
403 |
/etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and |
404 |
removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config |
405 |
scheme for the net.eth* scripts. |
406 |
|
407 |
6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address |
408 |
from manpages; no need for that.. |
409 |
|
410 |
5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in |
411 |
/etc/devfsd.conf; had 'dvd' in the cdrw stuff. |
412 |
|
413 |
* rc-scripts 1.2.4 (30 Dec 2001) |
414 |
|
415 |
30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask |
416 |
back to 022 as it should be. |
417 |
|
418 |
30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
419 |
/etc/init.d/checkfs to return 0 if the fs was successfully repaired. |
420 |
|
421 |
29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
422 |
sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
423 |
|
424 |
28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Updated |
425 |
/etc/init.d/depscan.sh to store info about missing dependancies of |
426 |
type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
427 |
to use this when starting a script ('need' dependancies is critical for |
428 |
startup). Added the broken() function to /etc/init.d/runscript.sh |
429 |
to list the missing dependancies. |
430 |
|
431 |
Updated /etc/init.d/runscript.sh for svc_start() to have better error |
432 |
checking. |
433 |
|
434 |
Updated /etc/init.d/functions.sh with ewend(), which is the same as |
435 |
eend(), but print a warning on error, not a error. Updated |
436 |
/etc/init.d/checkroot and /etc/init.d/checkfs to use this function. |
437 |
|
438 |
27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update /sbin/runscript.c |
439 |
to run /etc/init.d/rc-help.sh if no arguments is passed to a rc-script. |
440 |
|
441 |
Added /etc/init.d/rc-help.sh, simple script that prints out help for |
442 |
the rc-scripts. |
443 |
|
444 |
25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); Update |
445 |
/etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the |
446 |
halt and reboot. This fixes a problem where / was not unmounted |
447 |
properly in some cases. |
448 |
|
449 |
24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Move $svcdir to |
450 |
to /etc/init.d/functions.sh, and update /etc/init.d/runscript.sh and |
451 |
/etc/init.d/depscan.sh for this |
452 |
|
453 |
Modified /etc/init.d/runscript.sh to also restart the services that |
454 |
depend on a service if that service is restarted. Enhanced the |
455 |
restart function to be able to have custom restart() functions in |
456 |
rc-scripts. The custom restart() have to use svc_stop() and |
457 |
svc_start() to restart the service. |
458 |
|
459 |
Add a pause function to /etc/init.d/runscript.sh. It will basically |
460 |
stop a service without stopping the services that depends on that |
461 |
service. |
462 |
|
463 |
Add a pause function to /etc/init.d/runscript.sh. It will basically stop a |
464 |
service without stopping the services that depends on that service. |
465 |
|
466 |
* rc-scripts 1.2.3 (18 Dec 2001) |
467 |
|
468 |
16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Moved the stuff from |
469 |
/sbin/init (old) to /sbin/rc (basically drop the init wrapper we used). |
470 |
|
471 |
Some cleanups: take out the shm resize comment; |
472 |
|
473 |
remove the $wrongmount; |
474 |
|
475 |
remove the mountshm() function and insert it directly |
476 |
where needed; |
477 |
|
478 |
remove the setting of $PATH as /sbin/init already do |
479 |
this for us. |
480 |
|
481 |
Added the if statement to detect if it is the first time the 'boot' |
482 |
runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]). |
483 |
$RUNLEVEL is a env var set by /sbin/init. |
484 |
|
485 |
Also added functionality to detect if the kernel have DEVFS support |
486 |
compiled in; seems new users thinks devfs is unstable and as they do |
487 |
not always read the docs, it does not get compiled in ;/ Should |
488 |
make live for us a bit easier. |
489 |
|
490 |
14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Fixed /sbin/rc to kill |
491 |
a cosmetic bug in the part that stops all the unneeded services. |
492 |
|
493 |
* rc-scripts 1.2.2 (8 Dec 2001) |
494 |
|
495 |
10 Dec 2001; Added a localhost entry in /etc/hosts. |
496 |
|
497 |
8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c |
498 |
to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to |
499 |
rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon. |
500 |
Start-stop-daemon is moved here from sysvinit by the way. There is stuff |
501 |
in this ChangeLog that needs to be removed! Like the changes to hosts, |
502 |
profile. /etc/{passwd,group} have minor UID and GID type fixes for |
503 |
users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS |
504 |
directories. |
505 |
|
506 |
29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory |
507 |
to rc-scripts. Checked in two manpages there, one for modules.autoload.5 |
508 |
and one for update-modules.8. These were adapted from Debian. Updated |
509 |
tarball.sh to include the new man directory. Updated baselayout to install |
510 |
these manpages. Slightly tweak the /etc/modules.autoload comments. |
511 |
|
512 |
28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated /sbin/init |
513 |
to work correctly with the 'gentoo=nodevfs' option, and cleaned |
514 |
out old code. |
515 |
|
516 |
Updated /etc/init.d/bootmisc with additional lock files to clean. |
517 |
|
518 |
27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
519 |
/etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' |
520 |
that can be used for services that needs to have a logger started |
521 |
before they are started. Updated /etc/conf.d/basic with $SYSLOGGER |
522 |
that is used to define what loggers the 'logger' depend represent. |
523 |
|
524 |
26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
525 |
/etc/passwd and /etc/group with minor fixes to pass pwck and grpck. |
526 |
|
527 |
25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Changed umask in |
528 |
/etc/profile for the user to 077 for security. |
529 |
|
530 |
Added a stop() function to /etc/init.d/clock. Also removed uneeded |
531 |
'source /etc/rc.conf' line. |
532 |
|
533 |
Updated /etc/init.d/hostname to set the hostname to 'localhost' if |
534 |
/etc/hostname is invalid. |
535 |
|
536 |
Updated /sbin/init to move the entries in /lib/dev-state to /dev before |
537 |
running devfsd, as it did still not save settings properly. Also removed |
538 |
old /dev-state/compat stuff. |
539 |
|
540 |
25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
541 |
from the default "default" runlevel. It still exists in the archive so that |
542 |
users who want/need it can add it easily. |
543 |
|
544 |
25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
545 |
removed notail from the ext2 boot partition, other cleanups. |
546 |
|
547 |
25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
548 |
|
549 |
24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Added /etc/devfsd.conf |
550 |
and updated /sbin/init to use a new scheme for saving /dev permissions. |
551 |
Also moved /dev-state to /lib/dev-state which is a more standard location. |
552 |
|
553 |
Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on |
554 |
itself, calling depscan.sh or changing runlevels cause a tempory effect |
555 |
similar to a 'mini fork bomb'. Afterwards the depends was broken, and |
556 |
changing runlevels did not want to work. |
557 |
|
558 |
Updated /etc/init.d/halt.sh to terminate and display message for devfsd. |
559 |
More cosmetic than anything else, but cant hurt with the new dev-state |
560 |
scheme. |
561 |
|
562 |
Updated /sbin/init to set the console log level to 1, so that bootup |
563 |
can be much cleaner. Also updated /etc/init.d/modules not to have |
564 |
a logger in it 'use' depends, as it should not be needed anymore. |
565 |
|
566 |
Updated /sbin/rc to check if devfsd is still running between runlevel |
567 |
changes. |
568 |
|
569 |
Updated /etc/init.d/modules to run update-modules. We want to be sure |
570 |
/etc/modules.conf is updated when running depmod -a. |
571 |
|
572 |
Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also |
573 |
added a entry for xfs (X Font Server) in /etc/passwd and /etc/group. |
574 |
|
575 |
Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and |
576 |
/usr/lib/ppp/chat-default as part of my new pppd scripts. Also |
577 |
updated tarball.sh to handle ppp/chat-default. |
578 |
|
579 |
Added /etc/skel/.bash* to make things cleaner. |
580 |
|
581 |
Other minor changes. |
582 |
|
583 |
17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
584 |
to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
585 |
|
586 |
* rc-scripts 1.1.8 (15 Nov 2001) |
587 |
|
588 |
16 Nov 2001; removed bogus "mountall.test" script. |
589 |
|
590 |
15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
591 |
init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being 'use' not |
592 |
'uses', as it fits better with 'need' (not 'needs'). Also removed unneeded |
593 |
for loop from init.d/depscan.sh, and other fixes. Updated names of new |
594 |
functions in init.d/runscript.sh to better sounding ones. Updated |
595 |
init.d/modules, init.d/netmount to use 'use'. Lots of other fixes/cleanups. |
596 |
Removed try() out of init.d/runscript.sh (why was this here ?). |
597 |
|
598 |
14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): init.d/bootmisc: Now |
599 |
cleans /tmp. Also creates /etc/resolv.conf if it doesn't exist. |
600 |
|
601 |
init.d/hostname: Added check for a valid /etc/hostname. |
602 |
|
603 |
init.d/keymaps: Added check for valid $KEYMAP. |
604 |
|
605 |
init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This |
606 |
should solve Woodchip's syslog+glue issue. We just have to change the |
607 |
console loglevel for metalog and syslog-ng (sysklogd already updated) not to |
608 |
output info and warnings, etc to the console, then boot will be much cleaner. |
609 |
Also the install guide will need changing to add the loggers to 'boot' and |
610 |
not 'default' runlevel. |
611 |
|
612 |
init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is |
613 |
this really needed (I cannot see that it is used anywhere ...)? |
614 |
|
615 |
13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
616 |
init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend called |
617 |
'uses'. It basically have the same usage as 'need', except that it do not |
618 |
start services that is not in the current and 'boot' runlevels. |
619 |
|
620 |
Updated init.d/netmount to use the 'uses' depend. |
621 |
|
622 |
11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed init.d/runscript.sh |
623 |
not to destroy the 'need' depends in /${svcdir}/need. This caused subsequent |
624 |
starting and stopping of services not to start depends. |
625 |
|
626 |
7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): Fixed a problem in sbin/rc |
627 |
where the ${svcdir}/softscripts directory got destroyed before stopping |
628 |
running services scheduled to be stopped. This with the fact that $SOFTLEVEL |
629 |
was set too early, caused the services to be stopped in the wrong order. |
630 |
|
631 |
30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): Modified init.d/netmount to |
632 |
check if any network filesystems is mounted. |
633 |
|
634 |
29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added |
635 |
some awk and grep magic to find all remote filesystems and umount them. |
636 |
|
637 |
29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): A fix for checkroot |
638 |
(missing "/"); it now actually checks the root filesystem. Also, a |
639 |
localmount cleanliness fix. |
640 |
|
641 |
* rc-scripts 1.1.7 (18 Oct 2001) |
642 |
|
643 |
[old changelog format follows] |
644 |
|
645 |
*lots of scripts; woodchip |
646 |
removed old rc5 scripts from cvs |
647 |
|
648 |
*init.d/runscript.sh; agriffis |
649 |
Added support for rc.conf and home-grown functions |
650 |
|
651 |
*init.d/modules; |
652 |
Now correctly looks at /etc/modules.autoload |
653 |
|
654 |
rc-scripts-1.1.6, released 15 Sep 2001 |
655 |
====================================== |
656 |
|
657 |
*init.d/runscript.sh, others |
658 |
Handling of "net" dependencies resolve to all net devices in |
659 |
/etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES |
660 |
variable in /etc/rc.conf has been removed. |
661 |
|
662 |
*init.d/runscript.sh |
663 |
New "zap" option for manually resetting the state of an initscript |
664 |
to stopped. |
665 |
|
666 |
*init.d/{samba,sysklogd,sshd} |
667 |
Removed from CVS; they live in their respective packages. |
668 |
|
669 |
rc-scripts-1.1.5, released 02 Sep 2001 |
670 |
==================================== |
671 |
|
672 |
*sbin/rc-update |
673 |
New version of the rc-update command for the new initscripts. Works |
674 |
similarly to the old version, except this one updates our dependency |
675 |
cache. |
676 |
|
677 |
*init.d/functions.sh |
678 |
New and better looking informational message functions (einfo, einfon). |
679 |
Brand new message functions (ewarn). |
680 |
|
681 |
*sbin/init, init.d/checkroot |
682 |
We're going back to a /proc/mounts-based mtab symlink because it's |
683 |
just plain better. Appropriate changes made. |