/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 293 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 ...
4 228
5 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: 229 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
6 230
7 Add support for generate-modprobe.conf or generating /etc/modprobe.conf 231 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 232 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 938 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
715 this. 939 this.
716 940
717 Added caching of the "depend() { need foo; } " lines, and updated 941 Added caching of the "depend() { need foo; } " lines, and updated
718 /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
719 speedup dependancy caching a lot, especially on slow machines. 943 speedup dependency caching a lot, especially on slow machines.
720 944
721 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
722 for security. 946 for security.
723 947
724 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.
728 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.
729 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 953 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
730 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 954 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
731 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 955 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
732 956
733 Removed stopping of dependant services that have current service as 957 Removed stopping of dependent services that have current service as
734 a 'use'dependancy ... should be less confusing now. 958 a 'use'dependency ... should be less confusing now.
735 Updated /etc/init.d/runscript.sh for this. 959 Updated /etc/init.d/runscript.sh for this.
736 960
737 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 961 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
738 962
739 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
821 Added the 'before' depend type. This is more for changing the 1045 Added the 'before' depend type. This is more for changing the
822 order services start in. Updated /etc/init.d/depscan.sh and 1046 order services start in. Updated /etc/init.d/depscan.sh and
823 /etc/init.d/functions.sh for this. 1047 /etc/init.d/functions.sh for this.
824 1048
825 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
826 dependancy types. This can be used with 'use' and 'before' to 1050 dependency types. This can be used with 'use' and 'before' to
827 start a script last or first respectively. 1051 start a script last or first respectively.
828 1052
829 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
830 for saving misc settings between startup/shutdown. Updated 1054 for saving misc settings between startup/shutdown. Updated
831 /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
900 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1124 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
901 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1125 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
902 1126
903 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1127 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
904 1128
905 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
906 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
907 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
908 startup). Added the broken() function to /etc/init.d/runscript.sh 1132 startup). Added the broken() function to /etc/init.d/runscript.sh
909 to list the missing dependancies. 1133 to list the missing dependencies.
910 1134
911 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
912 checking. 1136 checking.
913 1137
914 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.293  
changed lines
  Added in v.338

  ViewVC Help
Powered by ViewVC 1.1.20