/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 291 Revision 345
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 06 April 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Hopefully get the serial support sane again. Added /bin/consoletype
8 from Redhat to check for serial console. This should resolve bug
9 #18329 partly.
10
11 Add the --nocolor option to suppress the use of colors.
12
13 Change the 'status' option to return true if the service is running,
14 and false if stopped. This is only if the '--quiet' flag was also
15 given.
16
17 Change the start and stop options not to output or return false if
18 the '--quiet' flag was given.
19
20 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
21 as well, fixing bug #18344.
22
23 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
24 Aron Griffis <agriffis@gentoo.org>.
25
26 30 March 2003; Martin Schlemmer <azarah@gentoo.org>:
27
28 Fix bug #18329 ... $COLS was not setup properly for serial console.
29
30 24 March 2003; Martin Schlemmer <azarah@gentoo.org>:
31
32 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
33 Fix a problem where it might not have mounted the USB fs when usbcore
34 was compiled as module, and the kernel did not mount it by the time
35 the script was started. Get it to rather check what filesystems is
36 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
37 later 2.4 kernels now also support the newer 'usbfs'.
38
39 Optimize RAID stuff in /etc/init.d/checkfs a bit.
40
41 16 March 2003; Martin Schlemmer <azarah@gentoo.org>:
42
43 Update sbin/rc-envupdate.sh.bash for bug #17549.
44
45* rc-scripts 1.4.3.4 (16 March 2003)
46
47 16 March 2003; Martin Schlemmer <azarah@gentoo.org>:
48
49 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
50 modifications (purple and display hostname, etc). Closes bug #16806.
51
52 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
53 work properly. Closes bug #17348.
54
55 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
56 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
57
58 11 March 2003; Martin Schlemmer <azarah@gentoo.org>:
59
60 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
61 <lostlogic@gentoo.org>!
62
63 10 March 2003; Martin Schlemmer <azarah@gentoo.org>:
64
65 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
66 and /etc/init.d/halt.sh for this.
67
68 Update /etc/fstab to correctly mount /proc with:
69
70 mount -t proc none /proc
71
72 Do the same for /dev/shm:
73
74 mount -t tmpfs none /dev/shm
75
76 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
77 noise if we exited a recovery console.
78
79 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
80 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
81
82 Bring down default gateway before adding new one .. this fixes issues
83 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
84 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
85 fix.
86
87 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
88 it fails for module-init-tools if the module is already loaded. This
89 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
90
91* rc-scripts 1.4.3.3 (09 March 2003)
92
93 09 March 2003; Martin Schlemmer <azarah@gentoo.org>:
94
95 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
96
97 Fix net.eth0 not to try and start an interface if already up.
98
99 Update MAKEDEV from Debian to support more archs. This adds support
100 for 'arm', 'hppa' among others. URL:
101
102 http://packages.debian.org/stable/base/makedev.html
103
104 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
105 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
106 are using a 2.5 kernel ... bug #17109.
107
108 02 March 2003; Martin Schlemmer <azarah@gentoo.org>:
109
110 Update /etc/init.d/hostname to only set the hostname to whatever is before
111 the first '.', and then set the domainname to the rest, closing bug #14946.
112
113 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
114
115 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
116
117 Fix spelling of dependency and some other spelling/grammer issues.
118 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
119 Mike Frysinger <vapier@gentoo.org>, bug #15498.
120
121 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
122
123 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
124
125 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
126 bug #14556.
127
128 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
129
130 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
131
132 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
133
134 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
135 to 'test -c /dev/ttyp0 &> /dev/null'.
136
137 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
138
139 Update /sbin/modules-update to generate /etc/modprobe.devfs from
140 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
141 module-init-tools-0.9.9 should get rid of many of the warnings/errors
142 with devfs, and makes it work a bit better.
143
144 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
145
146 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
147
148 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
149
150 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
151 support. This resolves bug #14994.
152
153 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
154 according to /etc/rc.conf.
155
156 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
157 and used 'basename' which is located in /usr/bin.
158
159 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
160
161 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
162 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
163 this.
164
165 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
166
167 Update src/awk/genenviron.awk to properly set the environment for each
168 rc-script's depend() function by sourcing required config files.
169
170 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
171
172 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
173 to Max Kalika <alkern23@yahoo.com>, bug #15050.
174
175 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
176
177 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
178
179 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
180
181 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
182 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
183
184 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
185
186 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
187 Add fix from the wonderful analysis of Toby Dickenson
188 <tdickenson@geminidataloggers.com> in #12947.
189
190 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
191
192 Fix start-stop-daemon to check the call to nice() correctly for failure,
193 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
194
195 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
196 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
197 Malcolm Scott <m@lcolm.org.uk>.
198
199 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
200
201 Updated /etc/rc.conf to add elogin/entrance support #13790.
202
203 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
204
205 Update /etc/init.d/keymaps to enable unicode if required. This closes
206 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
207
208 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
209
210 Fix deadlock durning shutdown if tmpfs filesystems larger than free
211 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
212 for this.
213
214 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
215 This closes bug #13868.
216
217 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
218 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
219
220 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
221
222 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
223
224 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
225 not have stale entries left from hard reboot, thanks to pac1085 on
226 irc.
227
228* rc-scripts 1.4.3.2 (15 Jan 2003)
229
230 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
231
232 Truely fix bootup on seperate /var.
233
234 Add some fixes and optimizations to /sbin/rc-update, thanks to
235 Daniel Robbins <drobbins@gentoo.org>.
236
237* rc-scripts 1.4.3.1 (15 Jan 2003)
238
239 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
240
241 Fix bootup on seperate /var.
242
243 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
244
245 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
246
247 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
248
249 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
250 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
251
252 Turn on -C option to fsck on for all calls to fsck. Updated scripts
253 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
254
255* rc-scripts 1.4.3.0 (07 Jan 2003)
256
257 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
258
259 Too much to mention, but here are a few:
260 - Major rewrite of software RAID startup, based on Mandrake's, as
261 ours was pretty broken :(
262 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
263 Much of /sbin/functions.sh and other scripts have been changed
264 to support this.
265 - Reworked /etc/inittab to support this. Also moved critical
266 mounting of local filesystems to 'sysinit' function of /sbin/rc.
267 - Move state directory to /var/state/init.d/ ($svcdir).
268 - Move Adelie node init to /sbin/functions.sh to try and simplify
269 /sbin/rc a bit.
270 - Updated Copyright dates to 2003.
271
272* rc-scripts 1.4.2.8 (06 Jan 2003)
273
274 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
275
276 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
277 lines, as it seems users do not note the need to have them all on
278 one line ....
279
280 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
281 script not ending on a digit. This closes bug #12887.
282
283 Fix get_KV to also check micro version of kernel; add KV_to_int()
284 helper function for get_KV. Update /etc/init.d/localmount to work
285 with new get_KV ...
286
287 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
288
289 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
290 in the new sys-apps/module-init-tools. Note that you need version
291 0.9.7 or later of sys-apps/module-init-tools. Updated
292 /sbin/modules-update for this.
293
294 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
295 we are running kernel 2.5 or later ...
4 296
5 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: 297 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
6 298
7 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool 299 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
8 rc-script to setup encrypted loopback devices. This was kindly 300 rc-script to setup encrypted loopback devices. This was kindly
704 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 996 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
705 this. 997 this.
706 998
707 Added caching of the "depend() { need foo; } " lines, and updated 999 Added caching of the "depend() { need foo; } " lines, and updated
708 /etc/init.d/depscan.sh to touch the actual files less. This should 1000 /etc/init.d/depscan.sh to touch the actual files less. This should
709 speedup dependancy caching a lot, especially on slow machines. 1001 speedup dependency caching a lot, especially on slow machines.
710 1002
711 Updated /etc/passwd to have users with no shell defined, use /bin/false 1003 Updated /etc/passwd to have users with no shell defined, use /bin/false
712 for security. 1004 for security.
713 1005
714 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 1006 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
718 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 1010 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
719 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 1011 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
720 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 1012 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
721 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 1013 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
722 1014
723 Removed stopping of dependant services that have current service as 1015 Removed stopping of dependent services that have current service as
724 a 'use'dependancy ... should be less confusing now. 1016 a 'use'dependency ... should be less confusing now.
725 Updated /etc/init.d/runscript.sh for this. 1017 Updated /etc/init.d/runscript.sh for this.
726 1018
727 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 1019 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
728 1020
729 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 1021 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
811 Added the 'before' depend type. This is more for changing the 1103 Added the 'before' depend type. This is more for changing the
812 order services start in. Updated /etc/init.d/depscan.sh and 1104 order services start in. Updated /etc/init.d/depscan.sh and
813 /etc/init.d/functions.sh for this. 1105 /etc/init.d/functions.sh for this.
814 1106
815 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1107 Updated /etc/init.d/depscan.sh to work with '*' as argument for
816 dependancy types. This can be used with 'use' and 'before' to 1108 dependency types. This can be used with 'use' and 'before' to
817 start a script last or first respectively. 1109 start a script last or first respectively.
818 1110
819 Added save_options() and get_options() to /etc/init.d/functions.sh 1111 Added save_options() and get_options() to /etc/init.d/functions.sh
820 for saving misc settings between startup/shutdown. Updated 1112 for saving misc settings between startup/shutdown. Updated
821 /etc/init.d/net.eth0 to use these and properly down virtual 1113 /etc/init.d/net.eth0 to use these and properly down virtual
890 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1182 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
891 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1183 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
892 1184
893 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1185 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
894 1186
895 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1187 Updated /etc/init.d/depscan.sh to store info about missing dependencies
896 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1188 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
897 to use this when starting a script ('need' dependancies is critical for 1189 to use this when starting a script ('need' dependencies is critical for
898 startup). Added the broken() function to /etc/init.d/runscript.sh 1190 startup). Added the broken() function to /etc/init.d/runscript.sh
899 to list the missing dependancies. 1191 to list the missing dependencies.
900 1192
901 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1193 Updated /etc/init.d/runscript.sh for svc_start() to have better error
902 checking. 1194 checking.
903 1195
904 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1196 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.291  
changed lines
  Added in v.345

  ViewVC Help
Powered by ViewVC 1.1.20