/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

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

Legend:
Removed from v.271  
changed lines
  Added in v.334

  ViewVC Help
Powered by ViewVC 1.1.20