/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.265  
changed lines
  Added in v.338

  ViewVC Help
Powered by ViewVC 1.1.20