/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 267 Revision 339
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 11 March 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
8 <lostlogic@gentoo.org>!
9
10 10 March 2003; Martin Schlemmer <azarah@gentoo.org>:
11
12 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
13 and /etc/init.d/halt.sh for this.
14
15 Update /etc/fstab to correctly mount /proc with:
16
17 mount -t proc none /proc
18
19 Do the same for /dev/shm:
20
21 mount -t tmpfs none /dev/shm
22
23 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
24 noise if we exited a recovery console.
25
26 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
27 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
28
29 Bring down default gateway before adding new one .. this fixes issues
30 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
31 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
32 fix.
33
34 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
35 it fails for module-init-tools if the module is already loaded. This
36 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
37
38* rc-scripts 1.4.3.3 (09 March 2003)
39
40 09 March 2003; Martin Schlemmer <azarah@gentoo.org>:
41
42 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
43
44 Fix net.eth0 not to try and start an interface if already up.
45
46 Update MAKEDEV from Debian to support more archs. This adds support
47 for 'arm', 'hppa' among others. URL:
48
49 http://packages.debian.org/stable/base/makedev.html
50
51 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
52 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
53 are using a 2.5 kernel ... bug #17109.
54
55 02 March 2003; Martin Schlemmer <azarah@gentoo.org>:
56
57 Update /etc/init.d/hostname to only set the hostname to whatever is before
58 the first '.', and then set the domainname to the rest, closing bug #14946.
59
60 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
61
62 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
63
64 Fix spelling of dependency and some other spelling/grammer issues.
65 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
66 Mike Frysinger <vapier@gentoo.org>, bug #15498.
67
68 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
69
70 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
71
72 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
73 bug #14556.
74
75 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
76
77 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
78
79 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
80
81 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
82 to 'test -c /dev/ttyp0 &> /dev/null'.
83
84 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
85
86 Update /sbin/modules-update to generate /etc/modprobe.devfs from
87 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
88 module-init-tools-0.9.9 should get rid of many of the warnings/errors
89 with devfs, and makes it work a bit better.
90
91 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
92
93 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
94
95 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
96
97 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
98 support. This resolves bug #14994.
99
100 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
101 according to /etc/rc.conf.
102
103 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
104 and used 'basename' which is located in /usr/bin.
105
106 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
107
108 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
109 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
110 this.
111
112 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
113
114 Update src/awk/genenviron.awk to properly set the environment for each
115 rc-script's depend() function by sourcing required config files.
116
117 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
118
119 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
120 to Max Kalika <alkern23@yahoo.com>, bug #15050.
121
122 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
123
124 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
125
126 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
127
128 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
129 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
130
131 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
132
133 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
134 Add fix from the wonderful analysis of Toby Dickenson
135 <tdickenson@geminidataloggers.com> in #12947.
136
137 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
138
139 Fix start-stop-daemon to check the call to nice() correctly for failure,
140 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
141
142 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
143 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
144 Malcolm Scott <m@lcolm.org.uk>.
145
146 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
147
148 Updated /etc/rc.conf to add elogin/entrance support #13790.
149
150 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
151
152 Update /etc/init.d/keymaps to enable unicode if required. This closes
153 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
154
155 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
156
157 Fix deadlock durning shutdown if tmpfs filesystems larger than free
158 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
159 for this.
160
161 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
162 This closes bug #13868.
163
164 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
165 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
166
167 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
168
169 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
170
171 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
172 not have stale entries left from hard reboot, thanks to pac1085 on
173 irc.
174
175* rc-scripts 1.4.3.2 (15 Jan 2003)
176
177 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
178
179 Truely fix bootup on seperate /var.
180
181 Add some fixes and optimizations to /sbin/rc-update, thanks to
182 Daniel Robbins <drobbins@gentoo.org>.
183
184* rc-scripts 1.4.3.1 (15 Jan 2003)
185
186 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
187
188 Fix bootup on seperate /var.
189
190 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
191
192 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
193
194 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
195
196 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
197 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
198
199 Turn on -C option to fsck on for all calls to fsck. Updated scripts
200 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
201
202* rc-scripts 1.4.3.0 (07 Jan 2003)
203
204 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
205
206 Too much to mention, but here are a few:
207 - Major rewrite of software RAID startup, based on Mandrake's, as
208 ours was pretty broken :(
209 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
210 Much of /sbin/functions.sh and other scripts have been changed
211 to support this.
212 - Reworked /etc/inittab to support this. Also moved critical
213 mounting of local filesystems to 'sysinit' function of /sbin/rc.
214 - Move state directory to /var/state/init.d/ ($svcdir).
215 - Move Adelie node init to /sbin/functions.sh to try and simplify
216 /sbin/rc a bit.
217 - Updated Copyright dates to 2003.
218
219* rc-scripts 1.4.2.8 (06 Jan 2003)
220
221 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
222
223 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
224 lines, as it seems users do not note the need to have them all on
225 one line ....
226
227 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
228 script not ending on a digit. This closes bug #12887.
229
230 Fix get_KV to also check micro version of kernel; add KV_to_int()
231 helper function for get_KV. Update /etc/init.d/localmount to work
232 with new get_KV ...
233
234 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
235
236 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
237 in the new sys-apps/module-init-tools. Note that you need version
238 0.9.7 or later of sys-apps/module-init-tools. Updated
239 /sbin/modules-update for this.
240
241 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
242 we are running kernel 2.5 or later ...
243
244 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
245
246 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
247 rc-script to setup encrypted loopback devices. This was kindly
248 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
249
250 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
251
252 Fix src/awk/genenviron.awk stripping *all* '=', closing
253 bug #8901.
254
255 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
256 spaces ...
257
258* rc-scripts 1.4.2.7 (24 Dec 2002)
259
260 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
261
262 Add a fix to /sbin/functions.sh for bug #12601.
263
264 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
265
266 Add INFOPATH to /etc/env.d/00basic.
267
268 Fix src/awk/genenviron.awk to get the order of the env.d files
269 correct. Also fix it to handle *all* the SPECIALS correctly.
270 This closes bug #12411.
271
272* rc-scripts 1.4.2.6 (18 Dec 2002)
273
274 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
275
276 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
277 thanks to Nicholas Wourms <nwourms@netscape.net>.
278
279 Quote some tests in /sbin/rc-update to fix/avoid the problem
280 in bug #
281
282 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
283
284 Update shell for postgres user, closing bug #12258.
285
286 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
287
288 Fix src/awk/genenviron.awk not to add duplicate entries, closing
289 bug #8999.
290
291* rc-scripts 1.4.2.5 (09 Dec 2002)
292
293 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
294
295 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
296
297 Add smmsp uid and gid. Closes bug #8952.
298
299 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
300
301 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
302 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
303
304 Add headers similar to that of portage-2.0.45 and up to the
305 generated profile files (/etc/{profile,csh}.env). Updated
306 src/awk/genenviron.awk for this.
307
308 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
309
310 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
311 sharp eye of Techie2000 <Linux@mochamail.com>.
312
313 Rename /sbin/update-modules to /sbin/modules-update, closing
314 bug #11445.
315
316 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
317 /etc/env.d/00basic, bug #10916.
318
319 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
320
321 Add more improvements to clustering code. This is from
322 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
323
324 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
325
326 Change default 'net' dependency behaviour to be more suited
327 for notebook users. Basically if at least one net.* service
328 beside net.lo start successfully, the 'net' dependency is
329 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
330 in /etc/conf.d/rc to change this back to the old default.
331 This is the start to address bug #2706.
332
333* rc-scripts 1.4.2.4 (26 Nov 2002)
334
335 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
336
337 Initial merge of bits for Adelie Linux for SSI clusters. More
338 info at:
339
340 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
341
342 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
343
344 One liner fix to src/awk/cachedepends.awk to once again fix
345 bug #7803.
346
347 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
348
349 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
350 This should close bug #10891.
351
352* rc-scripts 1.4.2.3 (18 Nov 2002)
353
354 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
355
356 Add some more checks to src/awk/*. Fix error printing for
357 /sbin/depscan.sh.
358
359 Link awk module with gcc and not with ld. This should fix
360 problems on sparc and alpha. Many thanks for this fix to
361 Stephan Jones <cretin@gentoo.org>.
362
363 Remove the copyright info from config files, thanks to
364 Matthew Kennedy <mkennedy@gentoo.org>.
4 365
5* rc-scripts 1.4.2.2 (18 Nov 2002) 366* rc-scripts 1.4.2.2 (18 Nov 2002)
6 367
7 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 368 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
8 369
582 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 943 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
583 this. 944 this.
584 945
585 Added caching of the "depend() { need foo; } " lines, and updated 946 Added caching of the "depend() { need foo; } " lines, and updated
586 /etc/init.d/depscan.sh to touch the actual files less. This should 947 /etc/init.d/depscan.sh to touch the actual files less. This should
587 speedup dependancy caching a lot, especially on slow machines. 948 speedup dependency caching a lot, especially on slow machines.
588 949
589 Updated /etc/passwd to have users with no shell defined, use /bin/false 950 Updated /etc/passwd to have users with no shell defined, use /bin/false
590 for security. 951 for security.
591 952
592 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 953 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
596 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 957 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
597 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 958 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
598 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 959 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
599 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 960 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
600 961
601 Removed stopping of dependant services that have current service as 962 Removed stopping of dependent services that have current service as
602 a 'use'dependancy ... should be less confusing now. 963 a 'use'dependency ... should be less confusing now.
603 Updated /etc/init.d/runscript.sh for this. 964 Updated /etc/init.d/runscript.sh for this.
604 965
605 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 966 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
606 967
607 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 968 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
689 Added the 'before' depend type. This is more for changing the 1050 Added the 'before' depend type. This is more for changing the
690 order services start in. Updated /etc/init.d/depscan.sh and 1051 order services start in. Updated /etc/init.d/depscan.sh and
691 /etc/init.d/functions.sh for this. 1052 /etc/init.d/functions.sh for this.
692 1053
693 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1054 Updated /etc/init.d/depscan.sh to work with '*' as argument for
694 dependancy types. This can be used with 'use' and 'before' to 1055 dependency types. This can be used with 'use' and 'before' to
695 start a script last or first respectively. 1056 start a script last or first respectively.
696 1057
697 Added save_options() and get_options() to /etc/init.d/functions.sh 1058 Added save_options() and get_options() to /etc/init.d/functions.sh
698 for saving misc settings between startup/shutdown. Updated 1059 for saving misc settings between startup/shutdown. Updated
699 /etc/init.d/net.eth0 to use these and properly down virtual 1060 /etc/init.d/net.eth0 to use these and properly down virtual
768 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1129 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
769 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1130 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
770 1131
771 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1132 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
772 1133
773 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1134 Updated /etc/init.d/depscan.sh to store info about missing dependencies
774 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1135 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
775 to use this when starting a script ('need' dependancies is critical for 1136 to use this when starting a script ('need' dependencies is critical for
776 startup). Added the broken() function to /etc/init.d/runscript.sh 1137 startup). Added the broken() function to /etc/init.d/runscript.sh
777 to list the missing dependancies. 1138 to list the missing dependencies.
778 1139
779 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1140 Updated /etc/init.d/runscript.sh for svc_start() to have better error
780 checking. 1141 checking.
781 1142
782 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1143 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.267  
changed lines
  Added in v.339

  ViewVC Help
Powered by ViewVC 1.1.20