1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
2 | # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL |
2 | # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL |
3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
|
|
4 | |
|
|
5 | * rc-scripts 1.4.3.4 (16 March 2003) |
|
|
6 | |
|
|
7 | 16 March 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
8 | |
|
|
9 | Add /etc/issue done by a Polish ascii-artists, v|rus with some slight |
|
|
10 | modifications (purple and display hostname, etc). Closes bug #16806. |
|
|
11 | |
|
|
12 | Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to |
|
|
13 | work properly. Closes bug #17348. |
|
|
14 | |
|
|
15 | Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown |
|
|
16 | of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0. |
|
|
17 | |
|
|
18 | 11 March 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
19 | |
|
|
20 | Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low |
|
|
21 | <lostlogic@gentoo.org>! |
|
|
22 | |
|
|
23 | 10 March 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
24 | |
|
|
25 | Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc |
|
|
26 | and /etc/init.d/halt.sh for this. |
|
|
27 | |
|
|
28 | Update /etc/fstab to correctly mount /proc with: |
|
|
29 | |
|
|
30 | mount -t proc none /proc |
|
|
31 | |
|
|
32 | Do the same for /dev/shm: |
|
|
33 | |
|
|
34 | mount -t tmpfs none /dev/shm |
|
|
35 | |
|
|
36 | Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output |
|
|
37 | noise if we exited a recovery console. |
|
|
38 | |
|
|
39 | Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks |
|
|
40 | to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this. |
|
|
41 | |
|
|
42 | Bring down default gateway before adding new one .. this fixes issues |
|
|
43 | where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0 |
|
|
44 | for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the |
|
|
45 | fix. |
|
|
46 | |
|
|
47 | Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where |
|
|
48 | it fails for module-init-tools if the module is already loaded. This |
|
|
49 | closes bug #17163, thanks to nth <y.lesaint@free.fr>. |
|
|
50 | |
|
|
51 | * rc-scripts 1.4.3.3 (09 March 2003) |
|
|
52 | |
|
|
53 | 09 March 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
54 | |
|
|
55 | Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274. |
|
|
56 | |
|
|
57 | Fix net.eth0 not to try and start an interface if already up. |
|
|
58 | |
|
|
59 | Update MAKEDEV from Debian to support more archs. This adds support |
|
|
60 | for 'arm', 'hppa' among others. URL: |
|
|
61 | |
|
|
62 | http://packages.debian.org/stable/base/makedev.html |
|
|
63 | |
|
|
64 | Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4 |
|
|
65 | if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we |
|
|
66 | are using a 2.5 kernel ... bug #17109. |
|
|
67 | |
|
|
68 | 02 March 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
69 | |
|
|
70 | Update /etc/init.d/hostname to only set the hostname to whatever is before |
|
|
71 | the first '.', and then set the domainname to the rest, closing bug #14946. |
|
|
72 | |
|
|
73 | 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
74 | |
|
|
75 | Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>. |
|
|
76 | |
|
|
77 | Fix spelling of dependency and some other spelling/grammer issues. |
|
|
78 | Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and |
|
|
79 | Mike Frysinger <vapier@gentoo.org>, bug #15498. |
|
|
80 | |
|
|
81 | Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192. |
|
|
82 | |
|
|
83 | Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662. |
|
|
84 | |
|
|
85 | Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent |
|
|
86 | bug #14556. |
|
|
87 | |
|
|
88 | 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
89 | |
|
|
90 | Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly. |
|
|
91 | |
|
|
92 | 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
93 | |
|
|
94 | Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules |
|
|
95 | to 'test -c /dev/ttyp0 &> /dev/null'. |
|
|
96 | |
|
|
97 | 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
98 | |
|
|
99 | Update /sbin/modules-update to generate /etc/modprobe.devfs from |
|
|
100 | /etc/modules.devfs. This along with the devfs-hack.patch in the latest |
|
|
101 | module-init-tools-0.9.9 should get rid of many of the warnings/errors |
|
|
102 | with devfs, and makes it work a bit better. |
|
|
103 | |
|
|
104 | 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
105 | |
|
|
106 | Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again. |
|
|
107 | |
|
|
108 | 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
109 | |
|
|
110 | Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh |
|
|
111 | support. This resolves bug #14994. |
|
|
112 | |
|
|
113 | Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR |
|
|
114 | according to /etc/rc.conf. |
|
|
115 | |
|
|
116 | Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments, |
|
|
117 | and used 'basename' which is located in /usr/bin. |
|
|
118 | |
|
|
119 | 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
120 | |
|
|
121 | Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if |
|
|
122 | used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for |
|
|
123 | this. |
|
|
124 | |
|
|
125 | 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
126 | |
|
|
127 | Update src/awk/genenviron.awk to properly set the environment for each |
|
|
128 | rc-script's depend() function by sourcing required config files. |
|
|
129 | |
|
|
130 | 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
131 | |
|
|
132 | Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks |
|
|
133 | to Max Kalika <alkern23@yahoo.com>, bug #15050. |
|
|
134 | |
|
|
135 | 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
136 | |
|
|
137 | Fix /sbin/modules-update to work with module-init-tools-0.9.9. |
|
|
138 | |
|
|
139 | 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
140 | |
|
|
141 | Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to |
|
|
142 | Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>. |
|
|
143 | |
|
|
144 | 27 Jan 2003; Donny Davies <woodchip@gentoo.org>: |
|
|
145 | |
|
|
146 | Fix halt.sh by moving the nut UPS kill power stuff back into a function! |
|
|
147 | Add fix from the wonderful analysis of Toby Dickenson |
|
|
148 | <tdickenson@geminidataloggers.com> in #12947. |
|
|
149 | |
|
|
150 | 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
151 | |
|
|
152 | Fix start-stop-daemon to check the call to nice() correctly for failure, |
|
|
153 | closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>. |
|
|
154 | |
|
|
155 | Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot |
|
|
156 | and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from |
|
|
157 | Malcolm Scott <m@lcolm.org.uk>. |
|
|
158 | |
|
|
159 | 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: |
|
|
160 | |
|
|
161 | Updated /etc/rc.conf to add elogin/entrance support #13790. |
|
|
162 | |
|
|
163 | 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
164 | |
|
|
165 | Update /etc/init.d/keymaps to enable unicode if required. This closes |
|
|
166 | bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. |
|
|
167 | |
|
|
168 | 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
169 | |
|
|
170 | Fix deadlock durning shutdown if tmpfs filesystems larger than free |
|
|
171 | memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh |
|
|
172 | for this. |
|
|
173 | |
|
|
174 | Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh. |
|
|
175 | This closes bug #13868. |
|
|
176 | |
|
|
177 | Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both |
|
|
178 | 'su -c foo' not finding start-stop-daemon (etc), and bug #14127. |
|
|
179 | |
|
|
180 | Add route for lo interface to /etc/init.d/net.lo, closing bug #14055. |
|
|
181 | |
|
|
182 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
183 | |
|
|
184 | Clear $svcdir in /sbin/rc before we run depscan to make sure we do |
|
|
185 | not have stale entries left from hard reboot, thanks to pac1085 on |
|
|
186 | irc. |
|
|
187 | |
|
|
188 | * rc-scripts 1.4.3.2 (15 Jan 2003) |
|
|
189 | |
|
|
190 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
191 | |
|
|
192 | Truely fix bootup on seperate /var. |
|
|
193 | |
|
|
194 | Add some fixes and optimizations to /sbin/rc-update, thanks to |
|
|
195 | Daniel Robbins <drobbins@gentoo.org>. |
|
|
196 | |
|
|
197 | * rc-scripts 1.4.3.1 (15 Jan 2003) |
|
|
198 | |
|
|
199 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
200 | |
|
|
201 | Fix bootup on seperate /var. |
|
|
202 | |
|
|
203 | 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
204 | |
|
|
205 | Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636. |
|
|
206 | |
|
|
207 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
208 | |
|
|
209 | Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks |
|
|
210 | to Olaf Hering <gentoo@aepfle.de>, bug #13193. |
|
|
211 | |
|
|
212 | Turn on -C option to fsck on for all calls to fsck. Updated scripts |
|
|
213 | /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321. |
|
|
214 | |
|
|
215 | * rc-scripts 1.4.3.0 (07 Jan 2003) |
|
|
216 | |
|
|
217 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
218 | |
|
|
219 | Too much to mention, but here are a few: |
|
|
220 | - Major rewrite of software RAID startup, based on Mandrake's, as |
|
|
221 | ours was pretty broken :( |
|
|
222 | - Redone /sbin/rc to work without the tmpfs/ramfs stat directory. |
|
|
223 | Much of /sbin/functions.sh and other scripts have been changed |
|
|
224 | to support this. |
|
|
225 | - Reworked /etc/inittab to support this. Also moved critical |
|
|
226 | mounting of local filesystems to 'sysinit' function of /sbin/rc. |
|
|
227 | - Move state directory to /var/state/init.d/ ($svcdir). |
|
|
228 | - Move Adelie node init to /sbin/functions.sh to try and simplify |
|
|
229 | /sbin/rc a bit. |
|
|
230 | - Updated Copyright dates to 2003. |
|
|
231 | |
|
|
232 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
|
|
233 | |
|
|
234 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
235 | |
|
|
236 | Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
|
|
237 | lines, as it seems users do not note the need to have them all on |
|
|
238 | one line .... |
|
|
239 | |
|
|
240 | Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.* |
|
|
241 | script not ending on a digit. This closes bug #12887. |
|
|
242 | |
|
|
243 | Fix get_KV to also check micro version of kernel; add KV_to_int() |
|
|
244 | helper function for get_KV. Update /etc/init.d/localmount to work |
|
|
245 | with new get_KV ... |
|
|
246 | |
|
|
247 | 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
248 | |
|
|
249 | Add support for generate-modprobe.conf or generating /etc/modprobe.conf |
|
|
250 | in the new sys-apps/module-init-tools. Note that you need version |
|
|
251 | 0.9.7 or later of sys-apps/module-init-tools. Updated |
|
|
252 | /sbin/modules-update for this. |
|
|
253 | |
|
|
254 | Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if |
|
|
255 | we are running kernel 2.5 or later ... |
|
|
256 | |
|
|
257 | 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
258 | |
|
|
259 | Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool |
|
|
260 | rc-script to setup encrypted loopback devices. This was kindly |
|
|
261 | donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471). |
|
|
262 | |
|
|
263 | 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
264 | |
|
|
265 | Fix src/awk/genenviron.awk stripping *all* '=', closing |
|
|
266 | bug #8901. |
|
|
267 | |
|
|
268 | Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with |
|
|
269 | spaces ... |
|
|
270 | |
|
|
271 | * rc-scripts 1.4.2.7 (24 Dec 2002) |
|
|
272 | |
|
|
273 | 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
274 | |
|
|
275 | Add a fix to /sbin/functions.sh for bug #12601. |
|
|
276 | |
|
|
277 | 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
278 | |
|
|
279 | Add INFOPATH to /etc/env.d/00basic. |
|
|
280 | |
|
|
281 | Fix src/awk/genenviron.awk to get the order of the env.d files |
|
|
282 | correct. Also fix it to handle *all* the SPECIALS correctly. |
|
|
283 | This closes bug #12411. |
|
|
284 | |
|
|
285 | * rc-scripts 1.4.2.6 (18 Dec 2002) |
|
|
286 | |
|
|
287 | 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
288 | |
|
|
289 | Add mips changes to sbin/MAKEDEV. This should close bug #12329, |
|
|
290 | thanks to Nicholas Wourms <nwourms@netscape.net>. |
|
|
291 | |
|
|
292 | Quote some tests in /sbin/rc-update to fix/avoid the problem |
|
|
293 | in bug # |
|
|
294 | |
|
|
295 | Fix awk regex in /etc/init.d/halt.sh to fix bug #11795. |
|
|
296 | |
|
|
297 | Update shell for postgres user, closing bug #12258. |
|
|
298 | |
|
|
299 | 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
300 | |
|
|
301 | Fix src/awk/genenviron.awk not to add duplicate entries, closing |
|
|
302 | bug #8999. |
|
|
303 | |
|
|
304 | * rc-scripts 1.4.2.5 (09 Dec 2002) |
|
|
305 | |
|
|
306 | 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
307 | |
|
|
308 | Add another sync to /etc/init.d/halt.sh, closing bug 8173. |
|
|
309 | |
|
|
310 | Add smmsp uid and gid. Closes bug #8952. |
|
|
311 | |
|
|
312 | 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
313 | |
|
|
314 | Setup colums, etc up properly for serial consoles in /sbin/functions.sh. |
|
|
315 | Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>. |
|
|
316 | |
|
|
317 | Add headers similar to that of portage-2.0.45 and up to the |
|
|
318 | generated profile files (/etc/{profile,csh}.env). Updated |
|
|
319 | src/awk/genenviron.awk for this. |
|
|
320 | |
|
|
321 | 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
322 | |
|
|
323 | Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the |
|
|
324 | sharp eye of Techie2000 <Linux@mochamail.com>. |
|
|
325 | |
|
|
326 | Rename /sbin/update-modules to /sbin/modules-update, closing |
|
|
327 | bug #11445. |
|
|
328 | |
|
|
329 | Nano moved from /usr/bin/nano to /bin/nano. Fix this in |
|
|
330 | /etc/env.d/00basic, bug #10916. |
|
|
331 | |
|
|
332 | 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
333 | |
|
|
334 | Add more improvements to clustering code. This is from |
|
|
335 | Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. |
|
|
336 | |
|
|
337 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
338 | |
|
|
339 | Change default 'net' dependency behaviour to be more suited |
|
|
340 | for notebook users. Basically if at least one net.* service |
|
|
341 | beside net.lo start successfully, the 'net' dependency is |
|
|
342 | considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" |
|
|
343 | in /etc/conf.d/rc to change this back to the old default. |
|
|
344 | This is the start to address bug #2706. |
|
|
345 | |
|
|
346 | * rc-scripts 1.4.2.4 (26 Nov 2002) |
|
|
347 | |
|
|
348 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
349 | |
|
|
350 | Initial merge of bits for Adelie Linux for SSI clusters. More |
|
|
351 | info at: |
|
|
352 | |
|
|
353 | http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html |
|
|
354 | |
|
|
355 | 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
356 | |
|
|
357 | One liner fix to src/awk/cachedepends.awk to once again fix |
|
|
358 | bug #7803. |
|
|
359 | |
|
|
360 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
361 | |
|
|
362 | Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases. |
|
|
363 | This should close bug #10891. |
|
|
364 | |
|
|
365 | * rc-scripts 1.4.2.3 (18 Nov 2002) |
|
|
366 | |
|
|
367 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
368 | |
|
|
369 | Add some more checks to src/awk/*. Fix error printing for |
|
|
370 | /sbin/depscan.sh. |
|
|
371 | |
|
|
372 | Link awk module with gcc and not with ld. This should fix |
|
|
373 | problems on sparc and alpha. Many thanks for this fix to |
|
|
374 | Stephan Jones <cretin@gentoo.org>. |
|
|
375 | |
|
|
376 | Remove the copyright info from config files, thanks to |
|
|
377 | Matthew Kennedy <mkennedy@gentoo.org>. |
|
|
378 | |
|
|
379 | * rc-scripts 1.4.2.2 (18 Nov 2002) |
|
|
380 | |
|
|
381 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
382 | |
|
|
383 | Add src/awk/genenviron.awk which is rc-envupdate.sh ported |
|
|
384 | to awk. This is also much faster than its bash version. |
|
|
385 | |
|
|
386 | Remove the 'Spider cat fix' from depscan.sh.bash, as it makes |
|
|
387 | things even slower on older boxes. Bug #10548. |
|
|
388 | |
|
|
389 | After a bored Vapier decided that he needed to update the |
|
|
390 | licenses of things in /etc :P, I did the rest. Hopefully |
|
|
391 | not too many people will nuke thier fstab :/ |
|
|
392 | |
|
|
393 | * rc-scripts 1.4.2.1 (18 Nov 2002) |
|
|
394 | |
|
|
395 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
396 | |
|
|
397 | Update src/awk/cachedepends.awk to find its own rc-scripts, |
|
|
398 | fixing the need for find which broke systems with /usr on |
|
|
399 | a different partition. |
|
|
400 | |
|
|
401 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
402 | |
|
|
403 | Add some extra checks to src/awk/cachedepends.awk and |
|
|
404 | src/awk/gendepends.awk. |
|
|
405 | |
|
|
406 | Move some of the more generic functions in src/awk/gendepends.awk |
|
|
407 | to src/awk/functions.awk. |
4 | |
408 | |
5 | * rc-scripts 1.4.2 (17 Nov 2002) |
409 | * rc-scripts 1.4.2 (17 Nov 2002) |
6 | |
410 | |
7 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
411 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
8 | |
412 | |
… | |
… | |
552 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
956 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
553 | this. |
957 | this. |
554 | |
958 | |
555 | Added caching of the "depend() { need foo; } " lines, and updated |
959 | Added caching of the "depend() { need foo; } " lines, and updated |
556 | /etc/init.d/depscan.sh to touch the actual files less. This should |
960 | /etc/init.d/depscan.sh to touch the actual files less. This should |
557 | speedup dependancy caching a lot, especially on slow machines. |
961 | speedup dependency caching a lot, especially on slow machines. |
558 | |
962 | |
559 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
963 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
560 | for security. |
964 | for security. |
561 | |
965 | |
562 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
966 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
… | |
… | |
566 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
970 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
567 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
971 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
568 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
972 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
569 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
973 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
570 | |
974 | |
571 | Removed stopping of dependant services that have current service as |
975 | Removed stopping of dependent services that have current service as |
572 | a 'use'dependancy ... should be less confusing now. |
976 | a 'use'dependency ... should be less confusing now. |
573 | Updated /etc/init.d/runscript.sh for this. |
977 | Updated /etc/init.d/runscript.sh for this. |
574 | |
978 | |
575 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
979 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
576 | |
980 | |
577 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
981 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
… | |
… | |
659 | Added the 'before' depend type. This is more for changing the |
1063 | Added the 'before' depend type. This is more for changing the |
660 | order services start in. Updated /etc/init.d/depscan.sh and |
1064 | order services start in. Updated /etc/init.d/depscan.sh and |
661 | /etc/init.d/functions.sh for this. |
1065 | /etc/init.d/functions.sh for this. |
662 | |
1066 | |
663 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
1067 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
664 | dependancy types. This can be used with 'use' and 'before' to |
1068 | dependency types. This can be used with 'use' and 'before' to |
665 | start a script last or first respectively. |
1069 | start a script last or first respectively. |
666 | |
1070 | |
667 | Added save_options() and get_options() to /etc/init.d/functions.sh |
1071 | Added save_options() and get_options() to /etc/init.d/functions.sh |
668 | for saving misc settings between startup/shutdown. Updated |
1072 | for saving misc settings between startup/shutdown. Updated |
669 | /etc/init.d/net.eth0 to use these and properly down virtual |
1073 | /etc/init.d/net.eth0 to use these and properly down virtual |
… | |
… | |
738 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
1142 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
739 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
1143 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
740 | |
1144 | |
741 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
1145 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
742 | |
1146 | |
743 | Updated /etc/init.d/depscan.sh to store info about missing dependancies |
1147 | Updated /etc/init.d/depscan.sh to store info about missing dependencies |
744 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
1148 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
745 | to use this when starting a script ('need' dependancies is critical for |
1149 | to use this when starting a script ('need' dependencies is critical for |
746 | startup). Added the broken() function to /etc/init.d/runscript.sh |
1150 | startup). Added the broken() function to /etc/init.d/runscript.sh |
747 | to list the missing dependancies. |
1151 | to list the missing dependencies. |
748 | |
1152 | |
749 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
1153 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
750 | checking. |
1154 | checking. |
751 | |
1155 | |
752 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |
1156 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |