/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.256  
changed lines
  Added in v.335

  ViewVC Help
Powered by ViewVC 1.1.20