/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 293 Revision 343
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 24 March 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
8 Fix a problem where it might not have mounted the USB fs when usbcore
9 was compiled as module, and the kernel did not mount it by the time
10 the script was started. Get it to rather check what filesystems is
11 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
12 later 2.4 kernels now also support the newer 'usbfs'.
13
14 Optimize RAID stuff in /etc/init.d/checkfs a bit.
15
16 16 March 2003; Martin Schlemmer <azarah@gentoo.org>:
17
18 Update sbin/rc-envupdate.sh.bash for bug #17549.
19
20* rc-scripts 1.4.3.4 (16 March 2003)
21
22 16 March 2003; Martin Schlemmer <azarah@gentoo.org>:
23
24 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
25 modifications (purple and display hostname, etc). Closes bug #16806.
26
27 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
28 work properly. Closes bug #17348.
29
30 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
31 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
32
33 11 March 2003; Martin Schlemmer <azarah@gentoo.org>:
34
35 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
36 <lostlogic@gentoo.org>!
37
38 10 March 2003; Martin Schlemmer <azarah@gentoo.org>:
39
40 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
41 and /etc/init.d/halt.sh for this.
42
43 Update /etc/fstab to correctly mount /proc with:
44
45 mount -t proc none /proc
46
47 Do the same for /dev/shm:
48
49 mount -t tmpfs none /dev/shm
50
51 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
52 noise if we exited a recovery console.
53
54 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
55 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
56
57 Bring down default gateway before adding new one .. this fixes issues
58 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
59 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
60 fix.
61
62 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
63 it fails for module-init-tools if the module is already loaded. This
64 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
65
66* rc-scripts 1.4.3.3 (09 March 2003)
67
68 09 March 2003; Martin Schlemmer <azarah@gentoo.org>:
69
70 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
71
72 Fix net.eth0 not to try and start an interface if already up.
73
74 Update MAKEDEV from Debian to support more archs. This adds support
75 for 'arm', 'hppa' among others. URL:
76
77 http://packages.debian.org/stable/base/makedev.html
78
79 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
80 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
81 are using a 2.5 kernel ... bug #17109.
82
83 02 March 2003; Martin Schlemmer <azarah@gentoo.org>:
84
85 Update /etc/init.d/hostname to only set the hostname to whatever is before
86 the first '.', and then set the domainname to the rest, closing bug #14946.
87
88 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
89
90 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
91
92 Fix spelling of dependency and some other spelling/grammer issues.
93 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
94 Mike Frysinger <vapier@gentoo.org>, bug #15498.
95
96 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
97
98 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
99
100 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
101 bug #14556.
102
103 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
104
105 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
106
107 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
108
109 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
110 to 'test -c /dev/ttyp0 &> /dev/null'.
111
112 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
113
114 Update /sbin/modules-update to generate /etc/modprobe.devfs from
115 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
116 module-init-tools-0.9.9 should get rid of many of the warnings/errors
117 with devfs, and makes it work a bit better.
118
119 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
120
121 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
122
123 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
124
125 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
126 support. This resolves bug #14994.
127
128 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
129 according to /etc/rc.conf.
130
131 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
132 and used 'basename' which is located in /usr/bin.
133
134 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
135
136 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
137 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
138 this.
139
140 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
141
142 Update src/awk/genenviron.awk to properly set the environment for each
143 rc-script's depend() function by sourcing required config files.
144
145 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
146
147 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
148 to Max Kalika <alkern23@yahoo.com>, bug #15050.
149
150 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
151
152 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
153
154 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
155
156 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
157 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
158
159 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
160
161 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
162 Add fix from the wonderful analysis of Toby Dickenson
163 <tdickenson@geminidataloggers.com> in #12947.
164
165 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
166
167 Fix start-stop-daemon to check the call to nice() correctly for failure,
168 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
169
170 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
171 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
172 Malcolm Scott <m@lcolm.org.uk>.
173
174 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
175
176 Updated /etc/rc.conf to add elogin/entrance support #13790.
177
178 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
179
180 Update /etc/init.d/keymaps to enable unicode if required. This closes
181 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
182
183 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
184
185 Fix deadlock durning shutdown if tmpfs filesystems larger than free
186 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
187 for this.
188
189 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
190 This closes bug #13868.
191
192 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
193 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
194
195 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
196
197 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
198
199 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
200 not have stale entries left from hard reboot, thanks to pac1085 on
201 irc.
202
203* rc-scripts 1.4.3.2 (15 Jan 2003)
204
205 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
206
207 Truely fix bootup on seperate /var.
208
209 Add some fixes and optimizations to /sbin/rc-update, thanks to
210 Daniel Robbins <drobbins@gentoo.org>.
211
212* rc-scripts 1.4.3.1 (15 Jan 2003)
213
214 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
215
216 Fix bootup on seperate /var.
217
218 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
219
220 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
221
222 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
223
224 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
225 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
226
227 Turn on -C option to fsck on for all calls to fsck. Updated scripts
228 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
229
230* rc-scripts 1.4.3.0 (07 Jan 2003)
231
232 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
233
234 Too much to mention, but here are a few:
235 - Major rewrite of software RAID startup, based on Mandrake's, as
236 ours was pretty broken :(
237 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
238 Much of /sbin/functions.sh and other scripts have been changed
239 to support this.
240 - Reworked /etc/inittab to support this. Also moved critical
241 mounting of local filesystems to 'sysinit' function of /sbin/rc.
242 - Move state directory to /var/state/init.d/ ($svcdir).
243 - Move Adelie node init to /sbin/functions.sh to try and simplify
244 /sbin/rc a bit.
245 - Updated Copyright dates to 2003.
246
247* rc-scripts 1.4.2.8 (06 Jan 2003)
248
249 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
250
251 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
252 lines, as it seems users do not note the need to have them all on
253 one line ....
254
255 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
256 script not ending on a digit. This closes bug #12887.
257
258 Fix get_KV to also check micro version of kernel; add KV_to_int()
259 helper function for get_KV. Update /etc/init.d/localmount to work
260 with new get_KV ...
4 261
5 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: 262 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
6 263
7 Add support for generate-modprobe.conf or generating /etc/modprobe.conf 264 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
8 in the new sys-apps/module-init-tools. Note that you need version 265 in the new sys-apps/module-init-tools. Note that you need version
714 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 971 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
715 this. 972 this.
716 973
717 Added caching of the "depend() { need foo; } " lines, and updated 974 Added caching of the "depend() { need foo; } " lines, and updated
718 /etc/init.d/depscan.sh to touch the actual files less. This should 975 /etc/init.d/depscan.sh to touch the actual files less. This should
719 speedup dependancy caching a lot, especially on slow machines. 976 speedup dependency caching a lot, especially on slow machines.
720 977
721 Updated /etc/passwd to have users with no shell defined, use /bin/false 978 Updated /etc/passwd to have users with no shell defined, use /bin/false
722 for security. 979 for security.
723 980
724 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 981 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
728 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 985 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
729 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 986 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
730 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 987 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
731 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 988 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
732 989
733 Removed stopping of dependant services that have current service as 990 Removed stopping of dependent services that have current service as
734 a 'use'dependancy ... should be less confusing now. 991 a 'use'dependency ... should be less confusing now.
735 Updated /etc/init.d/runscript.sh for this. 992 Updated /etc/init.d/runscript.sh for this.
736 993
737 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 994 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
738 995
739 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 996 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
821 Added the 'before' depend type. This is more for changing the 1078 Added the 'before' depend type. This is more for changing the
822 order services start in. Updated /etc/init.d/depscan.sh and 1079 order services start in. Updated /etc/init.d/depscan.sh and
823 /etc/init.d/functions.sh for this. 1080 /etc/init.d/functions.sh for this.
824 1081
825 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1082 Updated /etc/init.d/depscan.sh to work with '*' as argument for
826 dependancy types. This can be used with 'use' and 'before' to 1083 dependency types. This can be used with 'use' and 'before' to
827 start a script last or first respectively. 1084 start a script last or first respectively.
828 1085
829 Added save_options() and get_options() to /etc/init.d/functions.sh 1086 Added save_options() and get_options() to /etc/init.d/functions.sh
830 for saving misc settings between startup/shutdown. Updated 1087 for saving misc settings between startup/shutdown. Updated
831 /etc/init.d/net.eth0 to use these and properly down virtual 1088 /etc/init.d/net.eth0 to use these and properly down virtual
900 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1157 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
901 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1158 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
902 1159
903 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1160 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
904 1161
905 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1162 Updated /etc/init.d/depscan.sh to store info about missing dependencies
906 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1163 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
907 to use this when starting a script ('need' dependancies is critical for 1164 to use this when starting a script ('need' dependencies is critical for
908 startup). Added the broken() function to /etc/init.d/runscript.sh 1165 startup). Added the broken() function to /etc/init.d/runscript.sh
909 to list the missing dependancies. 1166 to list the missing dependencies.
910 1167
911 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1168 Updated /etc/init.d/runscript.sh for svc_start() to have better error
912 checking. 1169 checking.
913 1170
914 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1171 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.293  
changed lines
  Added in v.343

  ViewVC Help
Powered by ViewVC 1.1.20