/[gentoo-src]/rc-scripts/ChangeLog
Gentoo

Diff of /rc-scripts/ChangeLog

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

Revision 1.169 Revision 1.208
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 ...
4 265
5 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: 266 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
6 267
7 Add support for generate-modprobe.conf or generating /etc/modprobe.conf 268 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 269 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 975 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
715 this. 976 this.
716 977
717 Added caching of the "depend() { need foo; } " lines, and updated 978 Added caching of the "depend() { need foo; } " lines, and updated
718 /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
719 speedup dependancy caching a lot, especially on slow machines. 980 speedup dependency caching a lot, especially on slow machines.
720 981
721 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
722 for security. 983 for security.
723 984
724 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.
728 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.
729 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 990 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
730 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 991 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
731 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 992 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
732 993
733 Removed stopping of dependant services that have current service as 994 Removed stopping of dependent services that have current service as
734 a 'use'dependancy ... should be less confusing now. 995 a 'use'dependency ... should be less confusing now.
735 Updated /etc/init.d/runscript.sh for this. 996 Updated /etc/init.d/runscript.sh for this.
736 997
737 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 998 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
738 999
739 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
821 Added the 'before' depend type. This is more for changing the 1082 Added the 'before' depend type. This is more for changing the
822 order services start in. Updated /etc/init.d/depscan.sh and 1083 order services start in. Updated /etc/init.d/depscan.sh and
823 /etc/init.d/functions.sh for this. 1084 /etc/init.d/functions.sh for this.
824 1085
825 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
826 dependancy types. This can be used with 'use' and 'before' to 1087 dependency types. This can be used with 'use' and 'before' to
827 start a script last or first respectively. 1088 start a script last or first respectively.
828 1089
829 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
830 for saving misc settings between startup/shutdown. Updated 1091 for saving misc settings between startup/shutdown. Updated
831 /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
900 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1161 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
901 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1162 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
902 1163
903 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1164 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
904 1165
905 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
906 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
907 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
908 startup). Added the broken() function to /etc/init.d/runscript.sh 1169 startup). Added the broken() function to /etc/init.d/runscript.sh
909 to list the missing dependancies. 1170 to list the missing dependencies.
910 1171
911 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
912 checking. 1173 checking.
913 1174
914 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.1.169  
changed lines
  Added in v.1.208

  ViewVC Help
Powered by ViewVC 1.1.20