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

  ViewVC Help
Powered by ViewVC 1.1.20