/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 275 Revision 336
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* rc-scripts 1.4.3.3 (09 March 2003)
22
23 09 March 2003; Martin Schlemmer <azarah@gentoo.org>:
24
25 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
26
27 Fix net.eth0 not to try and start an interface if already up.
28
29 Update MAKEDEV from Debian to support more archs. This adds support
30 for 'arm', 'hppa' among others. URL:
31
32 http://packages.debian.org/stable/base/makedev.html
33
34 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
35 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
36 are using a 2.5 kernel ... bug #17109.
37
38 02 March 2003; Martin Schlemmer <azarah@gentoo.org>:
39
40 Update /etc/init.d/hostname to only set the hostname to whatever is before
41 the first '.', and then set the domainname to the rest, closing bug #14946.
42
43 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
44
45 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
46
47 Fix spelling of dependency and some other spelling/grammer issues.
48 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
49 Mike Frysinger <vapier@gentoo.org>, bug #15498.
50
51 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
52
53 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
54
55 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
56 bug #14556.
57
58 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
59
60 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
61
62 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
63
64 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
65 to 'test -c /dev/ttyp0 &> /dev/null'.
66
67 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
68
69 Update /sbin/modules-update to generate /etc/modprobe.devfs from
70 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
71 module-init-tools-0.9.9 should get rid of many of the warnings/errors
72 with devfs, and makes it work a bit better.
73
74 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
75
76 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
77
78 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
79
80 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
81 support. This resolves bug #14994.
82
83 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
84 according to /etc/rc.conf.
85
86 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
87 and used 'basename' which is located in /usr/bin.
88
89 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
90
91 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
92 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
93 this.
94
95 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
96
97 Update src/awk/genenviron.awk to properly set the environment for each
98 rc-script's depend() function by sourcing required config files.
99
100 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
101
102 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
103 to Max Kalika <alkern23@yahoo.com>, bug #15050.
104
105 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
106
107 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
108
109 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
110
111 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
112 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
113
114 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
115
116 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
117 Add fix from the wonderful analysis of Toby Dickenson
118 <tdickenson@geminidataloggers.com> in #12947.
119
120 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
121
122 Fix start-stop-daemon to check the call to nice() correctly for failure,
123 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
124
125 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
126 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
127 Malcolm Scott <m@lcolm.org.uk>.
128
129 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
130
131 Updated /etc/rc.conf to add elogin/entrance support #13790.
132
133 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
134
135 Update /etc/init.d/keymaps to enable unicode if required. This closes
136 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
137
138 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
139
140 Fix deadlock durning shutdown if tmpfs filesystems larger than free
141 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
142 for this.
143
144 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
145 This closes bug #13868.
146
147 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
148 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
149
150 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
151
152 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
153
154 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
155 not have stale entries left from hard reboot, thanks to pac1085 on
156 irc.
157
158* rc-scripts 1.4.3.2 (15 Jan 2003)
159
160 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
161
162 Truely fix bootup on seperate /var.
163
164 Add some fixes and optimizations to /sbin/rc-update, thanks to
165 Daniel Robbins <drobbins@gentoo.org>.
166
167* rc-scripts 1.4.3.1 (15 Jan 2003)
168
169 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
170
171 Fix bootup on seperate /var.
172
173 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
174
175 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
176
177 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
178
179 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
180 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
181
182 Turn on -C option to fsck on for all calls to fsck. Updated scripts
183 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
184
185* rc-scripts 1.4.3.0 (07 Jan 2003)
186
187 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
188
189 Too much to mention, but here are a few:
190 - Major rewrite of software RAID startup, based on Mandrake's, as
191 ours was pretty broken :(
192 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
193 Much of /sbin/functions.sh and other scripts have been changed
194 to support this.
195 - Reworked /etc/inittab to support this. Also moved critical
196 mounting of local filesystems to 'sysinit' function of /sbin/rc.
197 - Move state directory to /var/state/init.d/ ($svcdir).
198 - Move Adelie node init to /sbin/functions.sh to try and simplify
199 /sbin/rc a bit.
200 - Updated Copyright dates to 2003.
201
202* rc-scripts 1.4.2.8 (06 Jan 2003)
203
204 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
205
206 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
207 lines, as it seems users do not note the need to have them all on
208 one line ....
209
210 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
211 script not ending on a digit. This closes bug #12887.
212
213 Fix get_KV to also check micro version of kernel; add KV_to_int()
214 helper function for get_KV. Update /etc/init.d/localmount to work
215 with new get_KV ...
216
217 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
218
219 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
220 in the new sys-apps/module-init-tools. Note that you need version
221 0.9.7 or later of sys-apps/module-init-tools. Updated
222 /sbin/modules-update for this.
223
224 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
225 we are running kernel 2.5 or later ...
226
227 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
228
229 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
230 rc-script to setup encrypted loopback devices. This was kindly
231 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
232
233 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
234
235 Fix src/awk/genenviron.awk stripping *all* '=', closing
236 bug #8901.
237
238 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
239 spaces ...
240
241* rc-scripts 1.4.2.7 (24 Dec 2002)
242
243 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
244
245 Add a fix to /sbin/functions.sh for bug #12601.
246
247 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
248
249 Add INFOPATH to /etc/env.d/00basic.
250
251 Fix src/awk/genenviron.awk to get the order of the env.d files
252 correct. Also fix it to handle *all* the SPECIALS correctly.
253 This closes bug #12411.
254
255* rc-scripts 1.4.2.6 (18 Dec 2002)
256
257 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
258
259 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
260 thanks to Nicholas Wourms <nwourms@netscape.net>.
261
262 Quote some tests in /sbin/rc-update to fix/avoid the problem
263 in bug #
264
265 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
266
267 Update shell for postgres user, closing bug #12258.
268
269 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
270
271 Fix src/awk/genenviron.awk not to add duplicate entries, closing
272 bug #8999.
273
274* rc-scripts 1.4.2.5 (09 Dec 2002)
275
276 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
277
278 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
279
280 Add smmsp uid and gid. Closes bug #8952.
281
282 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
283
284 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
285 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
286
287 Add headers similar to that of portage-2.0.45 and up to the
288 generated profile files (/etc/{profile,csh}.env). Updated
289 src/awk/genenviron.awk for this.
290
291 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
292
293 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
294 sharp eye of Techie2000 <Linux@mochamail.com>.
295
296 Rename /sbin/update-modules to /sbin/modules-update, closing
297 bug #11445.
298
299 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
300 /etc/env.d/00basic, bug #10916.
4 301
5 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 302 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
6 303
7 Add more improvements to clustering code. This is from 304 Add more improvements to clustering code. This is from
8 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. 305 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
12 Change default 'net' dependency behaviour to be more suited 309 Change default 'net' dependency behaviour to be more suited
13 for notebook users. Basically if at least one net.* service 310 for notebook users. Basically if at least one net.* service
14 beside net.lo start successfully, the 'net' dependency is 311 beside net.lo start successfully, the 'net' dependency is
15 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" 312 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
16 in /etc/conf.d/rc to change this back to the old default. 313 in /etc/conf.d/rc to change this back to the old default.
314 This is the start to address bug #2706.
17 315
18* rc-scripts 1.4.2.4 (26 Nov 2002) 316* rc-scripts 1.4.2.4 (26 Nov 2002)
19 317
20 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 318 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
21 319
628 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 926 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
629 this. 927 this.
630 928
631 Added caching of the "depend() { need foo; } " lines, and updated 929 Added caching of the "depend() { need foo; } " lines, and updated
632 /etc/init.d/depscan.sh to touch the actual files less. This should 930 /etc/init.d/depscan.sh to touch the actual files less. This should
633 speedup dependancy caching a lot, especially on slow machines. 931 speedup dependency caching a lot, especially on slow machines.
634 932
635 Updated /etc/passwd to have users with no shell defined, use /bin/false 933 Updated /etc/passwd to have users with no shell defined, use /bin/false
636 for security. 934 for security.
637 935
638 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 936 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
642 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 940 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
643 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 941 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
644 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 942 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
645 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 943 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
646 944
647 Removed stopping of dependant services that have current service as 945 Removed stopping of dependent services that have current service as
648 a 'use'dependancy ... should be less confusing now. 946 a 'use'dependency ... should be less confusing now.
649 Updated /etc/init.d/runscript.sh for this. 947 Updated /etc/init.d/runscript.sh for this.
650 948
651 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 949 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
652 950
653 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 951 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
735 Added the 'before' depend type. This is more for changing the 1033 Added the 'before' depend type. This is more for changing the
736 order services start in. Updated /etc/init.d/depscan.sh and 1034 order services start in. Updated /etc/init.d/depscan.sh and
737 /etc/init.d/functions.sh for this. 1035 /etc/init.d/functions.sh for this.
738 1036
739 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1037 Updated /etc/init.d/depscan.sh to work with '*' as argument for
740 dependancy types. This can be used with 'use' and 'before' to 1038 dependency types. This can be used with 'use' and 'before' to
741 start a script last or first respectively. 1039 start a script last or first respectively.
742 1040
743 Added save_options() and get_options() to /etc/init.d/functions.sh 1041 Added save_options() and get_options() to /etc/init.d/functions.sh
744 for saving misc settings between startup/shutdown. Updated 1042 for saving misc settings between startup/shutdown. Updated
745 /etc/init.d/net.eth0 to use these and properly down virtual 1043 /etc/init.d/net.eth0 to use these and properly down virtual
814 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1112 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
815 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1113 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
816 1114
817 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1115 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
818 1116
819 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1117 Updated /etc/init.d/depscan.sh to store info about missing dependencies
820 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1118 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
821 to use this when starting a script ('need' dependancies is critical for 1119 to use this when starting a script ('need' dependencies is critical for
822 startup). Added the broken() function to /etc/init.d/runscript.sh 1120 startup). Added the broken() function to /etc/init.d/runscript.sh
823 to list the missing dependancies. 1121 to list the missing dependencies.
824 1122
825 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1123 Updated /etc/init.d/runscript.sh for svc_start() to have better error
826 checking. 1124 checking.
827 1125
828 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1126 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.275  
changed lines
  Added in v.336

  ViewVC Help
Powered by ViewVC 1.1.20