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