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 | |
4 | |
5 | 27 Aug 2002; Maik Schreiber <blizzy@gentoo.org> sbin/functions.sh: |
5 | 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
6 | More intelligent output of extra blank line in eend() when errors |
6 | |
7 | are to be printed. |
7 | Fix start-stop-daemon to check the call to nice() correctly for failure, |
|
|
8 | closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>. |
|
|
9 | |
|
|
10 | Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot |
|
|
11 | and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from |
|
|
12 | Malcolm Scott <m@lcolm.org.uk>. |
|
|
13 | |
|
|
14 | 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: |
|
|
15 | |
|
|
16 | Updated /etc/rc.conf to add elogind support #13790. |
|
|
17 | |
|
|
18 | 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
19 | |
|
|
20 | Update /etc/init.d/keymaps to enable unicode if required. This closes |
|
|
21 | bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. |
|
|
22 | |
|
|
23 | 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
24 | |
|
|
25 | Fix deadlock durning shutdown if tmpfs filesystems larger than free |
|
|
26 | memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh |
|
|
27 | for this. |
|
|
28 | |
|
|
29 | Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh. |
|
|
30 | This closes bug #13868. |
|
|
31 | |
|
|
32 | Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both |
|
|
33 | 'su -c foo' not finding start-stop-daemon (etc), and bug #14127. |
|
|
34 | |
|
|
35 | Add route for lo interface to /etc/init.d/net.lo, closing bug #14055. |
|
|
36 | |
|
|
37 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
38 | |
|
|
39 | Clear $svcdir in /sbin/rc before we run depscan to make sure we do |
|
|
40 | not have stale entries left from hard reboot, thanks to pac1085 on |
|
|
41 | irc. |
|
|
42 | |
|
|
43 | * rc-scripts 1.4.3.2 (15 Jan 2003) |
|
|
44 | |
|
|
45 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
46 | |
|
|
47 | Truely fix bootup on seperate /var. |
|
|
48 | |
|
|
49 | Add some fixes and optimizations to /sbin/rc-update, thanks to |
|
|
50 | Daniel Robbins <drobbins@gentoo.org>. |
|
|
51 | |
|
|
52 | * rc-scripts 1.4.3.1 (15 Jan 2003) |
|
|
53 | |
|
|
54 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
55 | |
|
|
56 | Fix bootup on seperate /var. |
|
|
57 | |
|
|
58 | 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
59 | |
|
|
60 | Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636. |
|
|
61 | |
|
|
62 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
63 | |
|
|
64 | Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks |
|
|
65 | to Olaf Hering <gentoo@aepfle.de>, bug #13193. |
|
|
66 | |
|
|
67 | Turn on -C option to fsck on for all calls to fsck. Updated scripts |
|
|
68 | /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321. |
|
|
69 | |
|
|
70 | * rc-scripts 1.4.3.0 (07 Jan 2003) |
|
|
71 | |
|
|
72 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
73 | |
|
|
74 | Too much to mention, but here are a few: |
|
|
75 | - Major rewrite of software RAID startup, based on Mandrake's, as |
|
|
76 | ours was pretty broken :( |
|
|
77 | - Redone /sbin/rc to work without the tmpfs/ramfs stat directory. |
|
|
78 | Much of /sbin/functions.sh and other scripts have been changed |
|
|
79 | to support this. |
|
|
80 | - Reworked /etc/inittab to support this. Also moved critical |
|
|
81 | mounting of local filesystems to 'sysinit' function of /sbin/rc. |
|
|
82 | - Move state directory to /var/state/init.d/ ($svcdir). |
|
|
83 | - Move Adelie node init to /sbin/functions.sh to try and simplify |
|
|
84 | /sbin/rc a bit. |
|
|
85 | - Updated Copyright dates to 2003. |
|
|
86 | |
|
|
87 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
|
|
88 | |
|
|
89 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
90 | |
|
|
91 | Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
|
|
92 | lines, as it seems users do not note the need to have them all on |
|
|
93 | one line .... |
|
|
94 | |
|
|
95 | Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.* |
|
|
96 | script not ending on a digit. This closes bug #12887. |
|
|
97 | |
|
|
98 | Fix get_KV to also check micro version of kernel; add KV_to_int() |
|
|
99 | helper function for get_KV. Update /etc/init.d/localmount to work |
|
|
100 | with new get_KV ... |
|
|
101 | |
|
|
102 | 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
103 | |
|
|
104 | Add support for generate-modprobe.conf or generating /etc/modprobe.conf |
|
|
105 | in the new sys-apps/module-init-tools. Note that you need version |
|
|
106 | 0.9.7 or later of sys-apps/module-init-tools. Updated |
|
|
107 | /sbin/modules-update for this. |
|
|
108 | |
|
|
109 | Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if |
|
|
110 | we are running kernel 2.5 or later ... |
|
|
111 | |
|
|
112 | 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
113 | |
|
|
114 | Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool |
|
|
115 | rc-script to setup encrypted loopback devices. This was kindly |
|
|
116 | donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471). |
|
|
117 | |
|
|
118 | 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
119 | |
|
|
120 | Fix src/awk/genenviron.awk stripping *all* '=', closing |
|
|
121 | bug #8901. |
|
|
122 | |
|
|
123 | Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with |
|
|
124 | spaces ... |
|
|
125 | |
|
|
126 | * rc-scripts 1.4.2.7 (24 Dec 2002) |
|
|
127 | |
|
|
128 | 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
129 | |
|
|
130 | Add a fix to /sbin/functions.sh for bug #12601. |
|
|
131 | |
|
|
132 | 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
133 | |
|
|
134 | Add INFOPATH to /etc/env.d/00basic. |
|
|
135 | |
|
|
136 | Fix src/awk/genenviron.awk to get the order of the env.d files |
|
|
137 | correct. Also fix it to handle *all* the SPECIALS correctly. |
|
|
138 | This closes bug #12411. |
|
|
139 | |
|
|
140 | * rc-scripts 1.4.2.6 (18 Dec 2002) |
|
|
141 | |
|
|
142 | 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
143 | |
|
|
144 | Add mips changes to sbin/MAKEDEV. This should close bug #12329, |
|
|
145 | thanks to Nicholas Wourms <nwourms@netscape.net>. |
|
|
146 | |
|
|
147 | Quote some tests in /sbin/rc-update to fix/avoid the problem |
|
|
148 | in bug # |
|
|
149 | |
|
|
150 | Fix awk regex in /etc/init.d/halt.sh to fix bug #11795. |
|
|
151 | |
|
|
152 | Update shell for postgres user, closing bug #12258. |
|
|
153 | |
|
|
154 | 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
155 | |
|
|
156 | Fix src/awk/genenviron.awk not to add duplicate entries, closing |
|
|
157 | bug #8999. |
|
|
158 | |
|
|
159 | * rc-scripts 1.4.2.5 (09 Dec 2002) |
|
|
160 | |
|
|
161 | 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
162 | |
|
|
163 | Add another sync to /etc/init.d/halt.sh, closing bug 8173. |
|
|
164 | |
|
|
165 | Add smmsp uid and gid. Closes bug #8952. |
|
|
166 | |
|
|
167 | 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
168 | |
|
|
169 | Setup colums, etc up properly for serial consoles in /sbin/functions.sh. |
|
|
170 | Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>. |
|
|
171 | |
|
|
172 | Add headers similar to that of portage-2.0.45 and up to the |
|
|
173 | generated profile files (/etc/{profile,csh}.env). Updated |
|
|
174 | src/awk/genenviron.awk for this. |
|
|
175 | |
|
|
176 | 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
177 | |
|
|
178 | Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the |
|
|
179 | sharp eye of Techie2000 <Linux@mochamail.com>. |
|
|
180 | |
|
|
181 | Rename /sbin/update-modules to /sbin/modules-update, closing |
|
|
182 | bug #11445. |
|
|
183 | |
|
|
184 | Nano moved from /usr/bin/nano to /bin/nano. Fix this in |
|
|
185 | /etc/env.d/00basic, bug #10916. |
|
|
186 | |
|
|
187 | 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
188 | |
|
|
189 | Add more improvements to clustering code. This is from |
|
|
190 | Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. |
|
|
191 | |
|
|
192 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
193 | |
|
|
194 | Change default 'net' dependency behaviour to be more suited |
|
|
195 | for notebook users. Basically if at least one net.* service |
|
|
196 | beside net.lo start successfully, the 'net' dependency is |
|
|
197 | considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" |
|
|
198 | in /etc/conf.d/rc to change this back to the old default. |
|
|
199 | This is the start to address bug #2706. |
|
|
200 | |
|
|
201 | * rc-scripts 1.4.2.4 (26 Nov 2002) |
|
|
202 | |
|
|
203 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
204 | |
|
|
205 | Initial merge of bits for Adelie Linux for SSI clusters. More |
|
|
206 | info at: |
|
|
207 | |
|
|
208 | http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html |
|
|
209 | |
|
|
210 | 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
211 | |
|
|
212 | One liner fix to src/awk/cachedepends.awk to once again fix |
|
|
213 | bug #7803. |
|
|
214 | |
|
|
215 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
216 | |
|
|
217 | Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases. |
|
|
218 | This should close bug #10891. |
|
|
219 | |
|
|
220 | * rc-scripts 1.4.2.3 (18 Nov 2002) |
|
|
221 | |
|
|
222 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
223 | |
|
|
224 | Add some more checks to src/awk/*. Fix error printing for |
|
|
225 | /sbin/depscan.sh. |
|
|
226 | |
|
|
227 | Link awk module with gcc and not with ld. This should fix |
|
|
228 | problems on sparc and alpha. Many thanks for this fix to |
|
|
229 | Stephan Jones <cretin@gentoo.org>. |
|
|
230 | |
|
|
231 | Remove the copyright info from config files, thanks to |
|
|
232 | Matthew Kennedy <mkennedy@gentoo.org>. |
|
|
233 | |
|
|
234 | * rc-scripts 1.4.2.2 (18 Nov 2002) |
|
|
235 | |
|
|
236 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
237 | |
|
|
238 | Add src/awk/genenviron.awk which is rc-envupdate.sh ported |
|
|
239 | to awk. This is also much faster than its bash version. |
|
|
240 | |
|
|
241 | Remove the 'Spider cat fix' from depscan.sh.bash, as it makes |
|
|
242 | things even slower on older boxes. Bug #10548. |
|
|
243 | |
|
|
244 | After a bored Vapier decided that he needed to update the |
|
|
245 | licenses of things in /etc :P, I did the rest. Hopefully |
|
|
246 | not too many people will nuke thier fstab :/ |
|
|
247 | |
|
|
248 | * rc-scripts 1.4.2.1 (18 Nov 2002) |
|
|
249 | |
|
|
250 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
251 | |
|
|
252 | Update src/awk/cachedepends.awk to find its own rc-scripts, |
|
|
253 | fixing the need for find which broke systems with /usr on |
|
|
254 | a different partition. |
|
|
255 | |
|
|
256 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
257 | |
|
|
258 | Add some extra checks to src/awk/cachedepends.awk and |
|
|
259 | src/awk/gendepends.awk. |
|
|
260 | |
|
|
261 | Move some of the more generic functions in src/awk/gendepends.awk |
|
|
262 | to src/awk/functions.awk. |
|
|
263 | |
|
|
264 | * rc-scripts 1.4.2 (17 Nov 2002) |
|
|
265 | |
|
|
266 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
267 | |
|
|
268 | Add initial version of new depscan.sh. This uses awk scripts |
|
|
269 | to do the main work, giving about 10 times speed improvement on |
|
|
270 | slower machines. Updated /sbin/depscan.sh, src/filefuncts.c, |
|
|
271 | src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk |
|
|
272 | for this. This should close bug #10548. |
|
|
273 | |
|
|
274 | * rc-scripts 1.4.1.2 (5 Nov 2002) |
|
|
275 | |
|
|
276 | 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
277 | |
|
|
278 | Add UID/GID of 250 for Portage Fakeroot account. |
|
|
279 | |
|
|
280 | 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
281 | |
|
|
282 | Change /etc/init.d/clock to depend on localmount again, fixing |
|
|
283 | bug #10048. |
|
|
284 | |
|
|
285 | Get deps on logger sane again. I wanted to get the logger started |
|
|
286 | as early as possible, but clock for one breaks if /usr is mounted |
|
|
287 | on seperate partition. |
|
|
288 | |
|
|
289 | 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
290 | |
|
|
291 | Fix return in /etc/init.d/modules to return 0 if /proc/modules |
|
|
292 | do not exists. Closes bug #7738, comment #5. |
|
|
293 | |
|
|
294 | * rc-scripts 1.4.1.1 (28 Oct 2002) |
|
|
295 | |
|
|
296 | 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
297 | |
|
|
298 | Fix /sbin/update-modules not to include backup files. Closes |
|
|
299 | bug #9707. |
|
|
300 | |
|
|
301 | 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
302 | |
|
|
303 | Fix update-modules borking if there are directories present |
|
|
304 | in /etc/modules.d/. Closes bug #9632. |
|
|
305 | |
|
|
306 | 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
307 | |
|
|
308 | Change deps on /etc/init.d/{clock,hostname,modules} not to |
|
|
309 | depend on localmount, but rather on checkroot, as all of them |
|
|
310 | just need / to be mounted. This should fix race conditions |
|
|
311 | because of checkfs dependency on modules. This should close |
|
|
312 | bug #9266. |
|
|
313 | |
|
|
314 | * rc-scripts 1.4.1 (13 Oct 2002) |
|
|
315 | |
|
|
316 | 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
317 | |
|
|
318 | Create and fix permissions on /tmp/.{ICE,X11}-unix/. This |
|
|
319 | is additional measures for bug #8281. |
|
|
320 | |
|
|
321 | 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
322 | |
|
|
323 | Update /etc/init.d/net.eth0 to fix bug #8626. |
|
|
324 | |
|
|
325 | Fix /sbin/rc-update to check return code of "ln". This should |
|
|
326 | close bug #8867. |
|
|
327 | |
|
|
328 | 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
329 | |
|
|
330 | Fix indentation in /etc/inputrc. This should close |
|
|
331 | bug #8368. |
|
|
332 | |
|
|
333 | Add extended status functionality. Should close bug #2462. |
|
|
334 | |
|
|
335 | Add support for /sbin/rc-update to check if the rc-script |
|
|
336 | is executable or not. Thanks to widersacher@gmx.net, closing |
|
|
337 | bug #8326. |
|
|
338 | |
|
|
339 | 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
340 | |
|
|
341 | Fix /etc/init.d/bootmisc not to kill pidfiles of running |
|
|
342 | daemons. Improve NGPT support in /sbin/rc a bit. |
|
|
343 | |
|
|
344 | 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
345 | |
|
|
346 | Fix my last screwup with /etc/init.d/net.ppp0. Basically |
|
|
347 | forgot to change a few DEVICE's to IFACE ... |
|
|
348 | |
|
|
349 | 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
350 | |
|
|
351 | NGPT support. |
|
|
352 | |
|
|
353 | 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
354 | |
|
|
355 | Did a small fix to /etc/init.d/net.eth0, thanks to |
|
|
356 | naanyaar2000@yahoo.com, bug #7407. |
|
|
357 | |
|
|
358 | 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
359 | |
|
|
360 | Add the permission stuff for generic scsi when compiled as |
|
|
361 | module, thanks to Bauno <bauno@inwind.it>. |
|
|
362 | |
|
|
363 | Add support for /etc/devfs.d/ for additional devfs config |
|
|
364 | stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>. |
|
|
365 | |
|
|
366 | 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
367 | |
|
|
368 | Fix small type-o from last changes to /etc/init.d/netmount. |
|
|
369 | Should resolve bug #7803. |
|
|
370 | |
|
|
371 | * rc-scripts 1.4.0 (7 Sep 2002) |
|
|
372 | |
|
|
373 | 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
374 | |
|
|
375 | Update /etc/init.d/net.eth0 to handle individual broadcast |
|
|
376 | and netmask for aliases. Should close bug #7407. |
|
|
377 | |
|
|
378 | Give /var/run/utmp and /var/log/wtmp the proper permissions |
|
|
379 | and ownership. First steps in fixing bug #7630. |
|
|
380 | |
|
|
381 | Change Raid stuff again in /etc/init.d/checkfs. |
8 | |
382 | |
9 | 26 Aug 2002; Donny Davies <woodchip@gentoo.org>: |
383 | 26 Aug 2002; Donny Davies <woodchip@gentoo.org>: |
10 | |
384 | |
11 | Give root a 'root' GECOS in /etc/passwd, was NULL before. |
385 | Give root a 'root' GECOS in /etc/passwd, was NULL before. |
12 | |
386 | |