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