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