/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 251 Revision 330
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 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
8
9 Fix spelling of dependency and some other spelling/grammer issues.
10 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
11 Mike Frysinger <vapier@gentoo.org>, bug #15498.
12
13 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
14
15 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
16
17 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
18 bug #14556.
19
20 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
21
22 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
23
24 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
25
26 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
27 to 'test -c /dev/ttyp0 &> /dev/null'.
28
29 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
30
31 Update /sbin/modules-update to generate /etc/modprobe.devfs from
32 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
33 module-init-tools-0.9.9 should get rid of many of the warnings/errors
34 with devfs, and makes it work a bit better.
35
36 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
37
38 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
39
40 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
41
42 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
43 support. This resolves bug #14994.
44
45 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
46 according to /etc/rc.conf.
47
48 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
49 and used 'basename' which is located in /usr/bin.
50
51 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
52
53 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
54 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
55 this.
56
57 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
58
59 Update src/awk/genenviron.awk to properly set the environment for each
60 rc-script's depend() function by sourcing required config files.
61
62 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
63
64 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
65 to Max Kalika <alkern23@yahoo.com>, bug #15050.
66
67 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
68
69 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
70
71 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
72
73 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
74 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
75
76 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
77
78 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
79 Add fix from the wonderful analysis of Toby Dickenson
80 <tdickenson@geminidataloggers.com> in #12947.
81
82 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
83
84 Fix start-stop-daemon to check the call to nice() correctly for failure,
85 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
86
87 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
88 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
89 Malcolm Scott <m@lcolm.org.uk>.
90
91 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
92
93 Updated /etc/rc.conf to add elogin/entrance support #13790.
94
95 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
96
97 Update /etc/init.d/keymaps to enable unicode if required. This closes
98 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
99
100 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
101
102 Fix deadlock durning shutdown if tmpfs filesystems larger than free
103 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
104 for this.
105
106 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
107 This closes bug #13868.
108
109 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
110 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
111
112 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
113
114 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
115
116 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
117 not have stale entries left from hard reboot, thanks to pac1085 on
118 irc.
119
120* rc-scripts 1.4.3.2 (15 Jan 2003)
121
122 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
123
124 Truely fix bootup on seperate /var.
125
126 Add some fixes and optimizations to /sbin/rc-update, thanks to
127 Daniel Robbins <drobbins@gentoo.org>.
128
129* rc-scripts 1.4.3.1 (15 Jan 2003)
130
131 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
132
133 Fix bootup on seperate /var.
134
135 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
136
137 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
138
139 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
140
141 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
142 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
143
144 Turn on -C option to fsck on for all calls to fsck. Updated scripts
145 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
146
147* rc-scripts 1.4.3.0 (07 Jan 2003)
148
149 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
150
151 Too much to mention, but here are a few:
152 - Major rewrite of software RAID startup, based on Mandrake's, as
153 ours was pretty broken :(
154 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
155 Much of /sbin/functions.sh and other scripts have been changed
156 to support this.
157 - Reworked /etc/inittab to support this. Also moved critical
158 mounting of local filesystems to 'sysinit' function of /sbin/rc.
159 - Move state directory to /var/state/init.d/ ($svcdir).
160 - Move Adelie node init to /sbin/functions.sh to try and simplify
161 /sbin/rc a bit.
162 - Updated Copyright dates to 2003.
163
164* rc-scripts 1.4.2.8 (06 Jan 2003)
165
166 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
167
168 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
169 lines, as it seems users do not note the need to have them all on
170 one line ....
171
172 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
173 script not ending on a digit. This closes bug #12887.
174
175 Fix get_KV to also check micro version of kernel; add KV_to_int()
176 helper function for get_KV. Update /etc/init.d/localmount to work
177 with new get_KV ...
178
179 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
180
181 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
182 in the new sys-apps/module-init-tools. Note that you need version
183 0.9.7 or later of sys-apps/module-init-tools. Updated
184 /sbin/modules-update for this.
185
186 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
187 we are running kernel 2.5 or later ...
188
189 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
190
191 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
192 rc-script to setup encrypted loopback devices. This was kindly
193 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
194
195 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
196
197 Fix src/awk/genenviron.awk stripping *all* '=', closing
198 bug #8901.
199
200 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
201 spaces ...
202
203* rc-scripts 1.4.2.7 (24 Dec 2002)
204
205 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
206
207 Add a fix to /sbin/functions.sh for bug #12601.
208
209 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
210
211 Add INFOPATH to /etc/env.d/00basic.
212
213 Fix src/awk/genenviron.awk to get the order of the env.d files
214 correct. Also fix it to handle *all* the SPECIALS correctly.
215 This closes bug #12411.
216
217* rc-scripts 1.4.2.6 (18 Dec 2002)
218
219 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
220
221 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
222 thanks to Nicholas Wourms <nwourms@netscape.net>.
223
224 Quote some tests in /sbin/rc-update to fix/avoid the problem
225 in bug #
226
227 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
228
229 Update shell for postgres user, closing bug #12258.
230
231 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
232
233 Fix src/awk/genenviron.awk not to add duplicate entries, closing
234 bug #8999.
235
236* rc-scripts 1.4.2.5 (09 Dec 2002)
237
238 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
239
240 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
241
242 Add smmsp uid and gid. Closes bug #8952.
243
244 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
245
246 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
247 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
248
249 Add headers similar to that of portage-2.0.45 and up to the
250 generated profile files (/etc/{profile,csh}.env). Updated
251 src/awk/genenviron.awk for this.
252
253 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
254
255 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
256 sharp eye of Techie2000 <Linux@mochamail.com>.
257
258 Rename /sbin/update-modules to /sbin/modules-update, closing
259 bug #11445.
260
261 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
262 /etc/env.d/00basic, bug #10916.
263
264 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
265
266 Add more improvements to clustering code. This is from
267 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
268
269 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
270
271 Change default 'net' dependency behaviour to be more suited
272 for notebook users. Basically if at least one net.* service
273 beside net.lo start successfully, the 'net' dependency is
274 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
275 in /etc/conf.d/rc to change this back to the old default.
276 This is the start to address bug #2706.
277
278* rc-scripts 1.4.2.4 (26 Nov 2002)
279
280 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
281
282 Initial merge of bits for Adelie Linux for SSI clusters. More
283 info at:
284
285 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
286
287 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
288
289 One liner fix to src/awk/cachedepends.awk to once again fix
290 bug #7803.
291
292 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
293
294 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
295 This should close bug #10891.
296
297* rc-scripts 1.4.2.3 (18 Nov 2002)
298
299 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
300
301 Add some more checks to src/awk/*. Fix error printing for
302 /sbin/depscan.sh.
303
304 Link awk module with gcc and not with ld. This should fix
305 problems on sparc and alpha. Many thanks for this fix to
306 Stephan Jones <cretin@gentoo.org>.
307
308 Remove the copyright info from config files, thanks to
309 Matthew Kennedy <mkennedy@gentoo.org>.
310
311* rc-scripts 1.4.2.2 (18 Nov 2002)
312
313 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
314
315 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
316 to awk. This is also much faster than its bash version.
317
318 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
319 things even slower on older boxes. Bug #10548.
320
321 After a bored Vapier decided that he needed to update the
322 licenses of things in /etc :P, I did the rest. Hopefully
323 not too many people will nuke thier fstab :/
324
325* rc-scripts 1.4.2.1 (18 Nov 2002)
326
327 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
328
329 Update src/awk/cachedepends.awk to find its own rc-scripts,
330 fixing the need for find which broke systems with /usr on
331 a different partition.
332
333 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
334
335 Add some extra checks to src/awk/cachedepends.awk and
336 src/awk/gendepends.awk.
337
338 Move some of the more generic functions in src/awk/gendepends.awk
339 to src/awk/functions.awk.
340
341* rc-scripts 1.4.2 (17 Nov 2002)
342
343 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
344
345 Add initial version of new depscan.sh. This uses awk scripts
346 to do the main work, giving about 10 times speed improvement on
347 slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
348 src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
349 for this. This should close bug #10548.
350
351* rc-scripts 1.4.1.2 (5 Nov 2002)
352
353 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
354
355 Add UID/GID of 250 for Portage Fakeroot account.
356
357 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
358
359 Change /etc/init.d/clock to depend on localmount again, fixing
360 bug #10048.
361
362 Get deps on logger sane again. I wanted to get the logger started
363 as early as possible, but clock for one breaks if /usr is mounted
364 on seperate partition.
365
366 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
367
368 Fix return in /etc/init.d/modules to return 0 if /proc/modules
369 do not exists. Closes bug #7738, comment #5.
370
371* rc-scripts 1.4.1.1 (28 Oct 2002)
4 372
5 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: 373 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
6 374
7 Fix /sbin/update-modules not to include backup files. Closes 375 Fix /sbin/update-modules not to include backup files. Closes
8 bug #9707. 376 bug #9707.
520 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 888 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
521 this. 889 this.
522 890
523 Added caching of the "depend() { need foo; } " lines, and updated 891 Added caching of the "depend() { need foo; } " lines, and updated
524 /etc/init.d/depscan.sh to touch the actual files less. This should 892 /etc/init.d/depscan.sh to touch the actual files less. This should
525 speedup dependancy caching a lot, especially on slow machines. 893 speedup dependency caching a lot, especially on slow machines.
526 894
527 Updated /etc/passwd to have users with no shell defined, use /bin/false 895 Updated /etc/passwd to have users with no shell defined, use /bin/false
528 for security. 896 for security.
529 897
530 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 898 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
534 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 902 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
535 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 903 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
536 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 904 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
537 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 905 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
538 906
539 Removed stopping of dependant services that have current service as 907 Removed stopping of dependent services that have current service as
540 a 'use'dependancy ... should be less confusing now. 908 a 'use'dependency ... should be less confusing now.
541 Updated /etc/init.d/runscript.sh for this. 909 Updated /etc/init.d/runscript.sh for this.
542 910
543 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 911 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
544 912
545 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 913 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
627 Added the 'before' depend type. This is more for changing the 995 Added the 'before' depend type. This is more for changing the
628 order services start in. Updated /etc/init.d/depscan.sh and 996 order services start in. Updated /etc/init.d/depscan.sh and
629 /etc/init.d/functions.sh for this. 997 /etc/init.d/functions.sh for this.
630 998
631 Updated /etc/init.d/depscan.sh to work with '*' as argument for 999 Updated /etc/init.d/depscan.sh to work with '*' as argument for
632 dependancy types. This can be used with 'use' and 'before' to 1000 dependency types. This can be used with 'use' and 'before' to
633 start a script last or first respectively. 1001 start a script last or first respectively.
634 1002
635 Added save_options() and get_options() to /etc/init.d/functions.sh 1003 Added save_options() and get_options() to /etc/init.d/functions.sh
636 for saving misc settings between startup/shutdown. Updated 1004 for saving misc settings between startup/shutdown. Updated
637 /etc/init.d/net.eth0 to use these and properly down virtual 1005 /etc/init.d/net.eth0 to use these and properly down virtual
706 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1074 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
707 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1075 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
708 1076
709 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1077 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
710 1078
711 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1079 Updated /etc/init.d/depscan.sh to store info about missing dependencies
712 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1080 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
713 to use this when starting a script ('need' dependancies is critical for 1081 to use this when starting a script ('need' dependencies is critical for
714 startup). Added the broken() function to /etc/init.d/runscript.sh 1082 startup). Added the broken() function to /etc/init.d/runscript.sh
715 to list the missing dependancies. 1083 to list the missing dependencies.
716 1084
717 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1085 Updated /etc/init.d/runscript.sh for svc_start() to have better error
718 checking. 1086 checking.
719 1087
720 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1088 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.251  
changed lines
  Added in v.330

  ViewVC Help
Powered by ViewVC 1.1.20