/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 275 Revision 344
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 30 March 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Fix bug #18329 ... $COLS was not setup properly for serial console.
8
9 24 March 2003; Martin Schlemmer <azarah@gentoo.org>:
10
11 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
12 Fix a problem where it might not have mounted the USB fs when usbcore
13 was compiled as module, and the kernel did not mount it by the time
14 the script was started. Get it to rather check what filesystems is
15 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
16 later 2.4 kernels now also support the newer 'usbfs'.
17
18 Optimize RAID stuff in /etc/init.d/checkfs a bit.
19
20 16 March 2003; Martin Schlemmer <azarah@gentoo.org>:
21
22 Update sbin/rc-envupdate.sh.bash for bug #17549.
23
24* rc-scripts 1.4.3.4 (16 March 2003)
25
26 16 March 2003; Martin Schlemmer <azarah@gentoo.org>:
27
28 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
29 modifications (purple and display hostname, etc). Closes bug #16806.
30
31 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
32 work properly. Closes bug #17348.
33
34 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
35 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
36
37 11 March 2003; Martin Schlemmer <azarah@gentoo.org>:
38
39 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
40 <lostlogic@gentoo.org>!
41
42 10 March 2003; Martin Schlemmer <azarah@gentoo.org>:
43
44 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
45 and /etc/init.d/halt.sh for this.
46
47 Update /etc/fstab to correctly mount /proc with:
48
49 mount -t proc none /proc
50
51 Do the same for /dev/shm:
52
53 mount -t tmpfs none /dev/shm
54
55 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
56 noise if we exited a recovery console.
57
58 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
59 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
60
61 Bring down default gateway before adding new one .. this fixes issues
62 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
63 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
64 fix.
65
66 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
67 it fails for module-init-tools if the module is already loaded. This
68 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
69
70* rc-scripts 1.4.3.3 (09 March 2003)
71
72 09 March 2003; Martin Schlemmer <azarah@gentoo.org>:
73
74 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
75
76 Fix net.eth0 not to try and start an interface if already up.
77
78 Update MAKEDEV from Debian to support more archs. This adds support
79 for 'arm', 'hppa' among others. URL:
80
81 http://packages.debian.org/stable/base/makedev.html
82
83 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
84 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
85 are using a 2.5 kernel ... bug #17109.
86
87 02 March 2003; Martin Schlemmer <azarah@gentoo.org>:
88
89 Update /etc/init.d/hostname to only set the hostname to whatever is before
90 the first '.', and then set the domainname to the rest, closing bug #14946.
91
92 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
93
94 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
95
96 Fix spelling of dependency and some other spelling/grammer issues.
97 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
98 Mike Frysinger <vapier@gentoo.org>, bug #15498.
99
100 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
101
102 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
103
104 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
105 bug #14556.
106
107 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
108
109 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
110
111 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
112
113 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
114 to 'test -c /dev/ttyp0 &> /dev/null'.
115
116 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
117
118 Update /sbin/modules-update to generate /etc/modprobe.devfs from
119 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
120 module-init-tools-0.9.9 should get rid of many of the warnings/errors
121 with devfs, and makes it work a bit better.
122
123 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
124
125 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
126
127 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
128
129 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
130 support. This resolves bug #14994.
131
132 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
133 according to /etc/rc.conf.
134
135 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
136 and used 'basename' which is located in /usr/bin.
137
138 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
139
140 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
141 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
142 this.
143
144 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
145
146 Update src/awk/genenviron.awk to properly set the environment for each
147 rc-script's depend() function by sourcing required config files.
148
149 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
150
151 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
152 to Max Kalika <alkern23@yahoo.com>, bug #15050.
153
154 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
155
156 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
157
158 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
159
160 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
161 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
162
163 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
164
165 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
166 Add fix from the wonderful analysis of Toby Dickenson
167 <tdickenson@geminidataloggers.com> in #12947.
168
169 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
170
171 Fix start-stop-daemon to check the call to nice() correctly for failure,
172 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
173
174 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
175 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
176 Malcolm Scott <m@lcolm.org.uk>.
177
178 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
179
180 Updated /etc/rc.conf to add elogin/entrance support #13790.
181
182 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
183
184 Update /etc/init.d/keymaps to enable unicode if required. This closes
185 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
186
187 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
188
189 Fix deadlock durning shutdown if tmpfs filesystems larger than free
190 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
191 for this.
192
193 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
194 This closes bug #13868.
195
196 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
197 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
198
199 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
200
201 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
202
203 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
204 not have stale entries left from hard reboot, thanks to pac1085 on
205 irc.
206
207* rc-scripts 1.4.3.2 (15 Jan 2003)
208
209 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
210
211 Truely fix bootup on seperate /var.
212
213 Add some fixes and optimizations to /sbin/rc-update, thanks to
214 Daniel Robbins <drobbins@gentoo.org>.
215
216* rc-scripts 1.4.3.1 (15 Jan 2003)
217
218 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
219
220 Fix bootup on seperate /var.
221
222 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
223
224 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
225
226 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
227
228 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
229 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
230
231 Turn on -C option to fsck on for all calls to fsck. Updated scripts
232 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
233
234* rc-scripts 1.4.3.0 (07 Jan 2003)
235
236 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
237
238 Too much to mention, but here are a few:
239 - Major rewrite of software RAID startup, based on Mandrake's, as
240 ours was pretty broken :(
241 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
242 Much of /sbin/functions.sh and other scripts have been changed
243 to support this.
244 - Reworked /etc/inittab to support this. Also moved critical
245 mounting of local filesystems to 'sysinit' function of /sbin/rc.
246 - Move state directory to /var/state/init.d/ ($svcdir).
247 - Move Adelie node init to /sbin/functions.sh to try and simplify
248 /sbin/rc a bit.
249 - Updated Copyright dates to 2003.
250
251* rc-scripts 1.4.2.8 (06 Jan 2003)
252
253 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
254
255 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
256 lines, as it seems users do not note the need to have them all on
257 one line ....
258
259 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
260 script not ending on a digit. This closes bug #12887.
261
262 Fix get_KV to also check micro version of kernel; add KV_to_int()
263 helper function for get_KV. Update /etc/init.d/localmount to work
264 with new get_KV ...
265
266 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
267
268 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
269 in the new sys-apps/module-init-tools. Note that you need version
270 0.9.7 or later of sys-apps/module-init-tools. Updated
271 /sbin/modules-update for this.
272
273 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
274 we are running kernel 2.5 or later ...
275
276 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
277
278 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
279 rc-script to setup encrypted loopback devices. This was kindly
280 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
281
282 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
283
284 Fix src/awk/genenviron.awk stripping *all* '=', closing
285 bug #8901.
286
287 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
288 spaces ...
289
290* rc-scripts 1.4.2.7 (24 Dec 2002)
291
292 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
293
294 Add a fix to /sbin/functions.sh for bug #12601.
295
296 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
297
298 Add INFOPATH to /etc/env.d/00basic.
299
300 Fix src/awk/genenviron.awk to get the order of the env.d files
301 correct. Also fix it to handle *all* the SPECIALS correctly.
302 This closes bug #12411.
303
304* rc-scripts 1.4.2.6 (18 Dec 2002)
305
306 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
307
308 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
309 thanks to Nicholas Wourms <nwourms@netscape.net>.
310
311 Quote some tests in /sbin/rc-update to fix/avoid the problem
312 in bug #
313
314 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
315
316 Update shell for postgres user, closing bug #12258.
317
318 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
319
320 Fix src/awk/genenviron.awk not to add duplicate entries, closing
321 bug #8999.
322
323* rc-scripts 1.4.2.5 (09 Dec 2002)
324
325 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
326
327 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
328
329 Add smmsp uid and gid. Closes bug #8952.
330
331 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
332
333 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
334 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
335
336 Add headers similar to that of portage-2.0.45 and up to the
337 generated profile files (/etc/{profile,csh}.env). Updated
338 src/awk/genenviron.awk for this.
339
340 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
341
342 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
343 sharp eye of Techie2000 <Linux@mochamail.com>.
344
345 Rename /sbin/update-modules to /sbin/modules-update, closing
346 bug #11445.
347
348 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
349 /etc/env.d/00basic, bug #10916.
4 350
5 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 351 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
6 352
7 Add more improvements to clustering code. This is from 353 Add more improvements to clustering code. This is from
8 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. 354 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
12 Change default 'net' dependency behaviour to be more suited 358 Change default 'net' dependency behaviour to be more suited
13 for notebook users. Basically if at least one net.* service 359 for notebook users. Basically if at least one net.* service
14 beside net.lo start successfully, the 'net' dependency is 360 beside net.lo start successfully, the 'net' dependency is
15 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" 361 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
16 in /etc/conf.d/rc to change this back to the old default. 362 in /etc/conf.d/rc to change this back to the old default.
363 This is the start to address bug #2706.
17 364
18* rc-scripts 1.4.2.4 (26 Nov 2002) 365* rc-scripts 1.4.2.4 (26 Nov 2002)
19 366
20 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 367 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
21 368
628 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 975 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
629 this. 976 this.
630 977
631 Added caching of the "depend() { need foo; } " lines, and updated 978 Added caching of the "depend() { need foo; } " lines, and updated
632 /etc/init.d/depscan.sh to touch the actual files less. This should 979 /etc/init.d/depscan.sh to touch the actual files less. This should
633 speedup dependancy caching a lot, especially on slow machines. 980 speedup dependency caching a lot, especially on slow machines.
634 981
635 Updated /etc/passwd to have users with no shell defined, use /bin/false 982 Updated /etc/passwd to have users with no shell defined, use /bin/false
636 for security. 983 for security.
637 984
638 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 985 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
642 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 989 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
643 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 990 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
644 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 991 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
645 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 992 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
646 993
647 Removed stopping of dependant services that have current service as 994 Removed stopping of dependent services that have current service as
648 a 'use'dependancy ... should be less confusing now. 995 a 'use'dependency ... should be less confusing now.
649 Updated /etc/init.d/runscript.sh for this. 996 Updated /etc/init.d/runscript.sh for this.
650 997
651 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 998 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
652 999
653 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1000 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
735 Added the 'before' depend type. This is more for changing the 1082 Added the 'before' depend type. This is more for changing the
736 order services start in. Updated /etc/init.d/depscan.sh and 1083 order services start in. Updated /etc/init.d/depscan.sh and
737 /etc/init.d/functions.sh for this. 1084 /etc/init.d/functions.sh for this.
738 1085
739 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1086 Updated /etc/init.d/depscan.sh to work with '*' as argument for
740 dependancy types. This can be used with 'use' and 'before' to 1087 dependency types. This can be used with 'use' and 'before' to
741 start a script last or first respectively. 1088 start a script last or first respectively.
742 1089
743 Added save_options() and get_options() to /etc/init.d/functions.sh 1090 Added save_options() and get_options() to /etc/init.d/functions.sh
744 for saving misc settings between startup/shutdown. Updated 1091 for saving misc settings between startup/shutdown. Updated
745 /etc/init.d/net.eth0 to use these and properly down virtual 1092 /etc/init.d/net.eth0 to use these and properly down virtual
814 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1161 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
815 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1162 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
816 1163
817 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1164 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
818 1165
819 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1166 Updated /etc/init.d/depscan.sh to store info about missing dependencies
820 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1167 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
821 to use this when starting a script ('need' dependancies is critical for 1168 to use this when starting a script ('need' dependencies is critical for
822 startup). Added the broken() function to /etc/init.d/runscript.sh 1169 startup). Added the broken() function to /etc/init.d/runscript.sh
823 to list the missing dependancies. 1170 to list the missing dependencies.
824 1171
825 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1172 Updated /etc/init.d/runscript.sh for svc_start() to have better error
826 checking. 1173 checking.
827 1174
828 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1175 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.275  
changed lines
  Added in v.344

  ViewVC Help
Powered by ViewVC 1.1.20