/[baselayout]/trunk/ChangeLog
Gentoo

Diff of /trunk/ChangeLog

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

Revision 262 Revision 331
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 02 March 2003; Martin Schlemmer <azarah@gentoo.org>:
6
7 Update /etc/init.d/hostname to only set the hostname to whatever is before
8 the first '.', and then set the domainname to the rest, closing bug #14946.
9
10 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
11
12 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
13
14 Fix spelling of dependency and some other spelling/grammer issues.
15 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
16 Mike Frysinger <vapier@gentoo.org>, bug #15498.
17
18 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
19
20 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
21
22 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
23 bug #14556.
24
25 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
26
27 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
28
29 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
30
31 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
32 to 'test -c /dev/ttyp0 &> /dev/null'.
33
34 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
35
36 Update /sbin/modules-update to generate /etc/modprobe.devfs from
37 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
38 module-init-tools-0.9.9 should get rid of many of the warnings/errors
39 with devfs, and makes it work a bit better.
40
41 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
42
43 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
44
45 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
46
47 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
48 support. This resolves bug #14994.
49
50 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
51 according to /etc/rc.conf.
52
53 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
54 and used 'basename' which is located in /usr/bin.
55
56 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
57
58 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
59 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
60 this.
61
62 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
63
64 Update src/awk/genenviron.awk to properly set the environment for each
65 rc-script's depend() function by sourcing required config files.
66
67 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
68
69 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
70 to Max Kalika <alkern23@yahoo.com>, bug #15050.
71
72 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
73
74 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
75
76 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
77
78 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
79 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
80
81 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
82
83 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
84 Add fix from the wonderful analysis of Toby Dickenson
85 <tdickenson@geminidataloggers.com> in #12947.
86
87 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
88
89 Fix start-stop-daemon to check the call to nice() correctly for failure,
90 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
91
92 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
93 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
94 Malcolm Scott <m@lcolm.org.uk>.
95
96 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
97
98 Updated /etc/rc.conf to add elogin/entrance support #13790.
99
100 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
101
102 Update /etc/init.d/keymaps to enable unicode if required. This closes
103 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
104
105 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
106
107 Fix deadlock durning shutdown if tmpfs filesystems larger than free
108 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
109 for this.
110
111 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
112 This closes bug #13868.
113
114 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
115 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
116
117 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
118
119 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
120
121 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
122 not have stale entries left from hard reboot, thanks to pac1085 on
123 irc.
124
125* rc-scripts 1.4.3.2 (15 Jan 2003)
126
127 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
128
129 Truely fix bootup on seperate /var.
130
131 Add some fixes and optimizations to /sbin/rc-update, thanks to
132 Daniel Robbins <drobbins@gentoo.org>.
133
134* rc-scripts 1.4.3.1 (15 Jan 2003)
135
136 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
137
138 Fix bootup on seperate /var.
139
140 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
141
142 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
143
144 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
145
146 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
147 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
148
149 Turn on -C option to fsck on for all calls to fsck. Updated scripts
150 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
151
152* rc-scripts 1.4.3.0 (07 Jan 2003)
153
154 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
155
156 Too much to mention, but here are a few:
157 - Major rewrite of software RAID startup, based on Mandrake's, as
158 ours was pretty broken :(
159 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
160 Much of /sbin/functions.sh and other scripts have been changed
161 to support this.
162 - Reworked /etc/inittab to support this. Also moved critical
163 mounting of local filesystems to 'sysinit' function of /sbin/rc.
164 - Move state directory to /var/state/init.d/ ($svcdir).
165 - Move Adelie node init to /sbin/functions.sh to try and simplify
166 /sbin/rc a bit.
167 - Updated Copyright dates to 2003.
168
169* rc-scripts 1.4.2.8 (06 Jan 2003)
170
171 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
172
173 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
174 lines, as it seems users do not note the need to have them all on
175 one line ....
176
177 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
178 script not ending on a digit. This closes bug #12887.
179
180 Fix get_KV to also check micro version of kernel; add KV_to_int()
181 helper function for get_KV. Update /etc/init.d/localmount to work
182 with new get_KV ...
183
184 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
185
186 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
187 in the new sys-apps/module-init-tools. Note that you need version
188 0.9.7 or later of sys-apps/module-init-tools. Updated
189 /sbin/modules-update for this.
190
191 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
192 we are running kernel 2.5 or later ...
193
194 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
195
196 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
197 rc-script to setup encrypted loopback devices. This was kindly
198 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
199
200 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
201
202 Fix src/awk/genenviron.awk stripping *all* '=', closing
203 bug #8901.
204
205 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
206 spaces ...
207
208* rc-scripts 1.4.2.7 (24 Dec 2002)
209
210 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
211
212 Add a fix to /sbin/functions.sh for bug #12601.
213
214 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
215
216 Add INFOPATH to /etc/env.d/00basic.
217
218 Fix src/awk/genenviron.awk to get the order of the env.d files
219 correct. Also fix it to handle *all* the SPECIALS correctly.
220 This closes bug #12411.
221
222* rc-scripts 1.4.2.6 (18 Dec 2002)
223
224 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
225
226 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
227 thanks to Nicholas Wourms <nwourms@netscape.net>.
228
229 Quote some tests in /sbin/rc-update to fix/avoid the problem
230 in bug #
231
232 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
233
234 Update shell for postgres user, closing bug #12258.
235
236 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
237
238 Fix src/awk/genenviron.awk not to add duplicate entries, closing
239 bug #8999.
240
241* rc-scripts 1.4.2.5 (09 Dec 2002)
242
243 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
244
245 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
246
247 Add smmsp uid and gid. Closes bug #8952.
248
249 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
250
251 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
252 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
253
254 Add headers similar to that of portage-2.0.45 and up to the
255 generated profile files (/etc/{profile,csh}.env). Updated
256 src/awk/genenviron.awk for this.
257
258 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
259
260 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
261 sharp eye of Techie2000 <Linux@mochamail.com>.
262
263 Rename /sbin/update-modules to /sbin/modules-update, closing
264 bug #11445.
265
266 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
267 /etc/env.d/00basic, bug #10916.
268
269 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
270
271 Add more improvements to clustering code. This is from
272 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
273
274 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
275
276 Change default 'net' dependency behaviour to be more suited
277 for notebook users. Basically if at least one net.* service
278 beside net.lo start successfully, the 'net' dependency is
279 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
280 in /etc/conf.d/rc to change this back to the old default.
281 This is the start to address bug #2706.
282
283* rc-scripts 1.4.2.4 (26 Nov 2002)
284
285 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
286
287 Initial merge of bits for Adelie Linux for SSI clusters. More
288 info at:
289
290 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
291
292 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
293
294 One liner fix to src/awk/cachedepends.awk to once again fix
295 bug #7803.
296
297 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
298
299 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
300 This should close bug #10891.
301
302* rc-scripts 1.4.2.3 (18 Nov 2002)
303
304 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
305
306 Add some more checks to src/awk/*. Fix error printing for
307 /sbin/depscan.sh.
308
309 Link awk module with gcc and not with ld. This should fix
310 problems on sparc and alpha. Many thanks for this fix to
311 Stephan Jones <cretin@gentoo.org>.
312
313 Remove the copyright info from config files, thanks to
314 Matthew Kennedy <mkennedy@gentoo.org>.
4 315
5* rc-scripts 1.4.2.2 (18 Nov 2002) 316* rc-scripts 1.4.2.2 (18 Nov 2002)
6 317
7 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 318 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
8 319
9 Add src/awk/genenviron.awk which is rc-envupdate.sh ported 320 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
10 to awk. This is also much faster than its bash version. 321 to awk. This is also much faster than its bash version.
322
323 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
324 things even slower on older boxes. Bug #10548.
325
326 After a bored Vapier decided that he needed to update the
327 licenses of things in /etc :P, I did the rest. Hopefully
328 not too many people will nuke thier fstab :/
11 329
12* rc-scripts 1.4.2.1 (18 Nov 2002) 330* rc-scripts 1.4.2.1 (18 Nov 2002)
13 331
14 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: 332 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
15 333
575 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed 893 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
576 this. 894 this.
577 895
578 Added caching of the "depend() { need foo; } " lines, and updated 896 Added caching of the "depend() { need foo; } " lines, and updated
579 /etc/init.d/depscan.sh to touch the actual files less. This should 897 /etc/init.d/depscan.sh to touch the actual files less. This should
580 speedup dependancy caching a lot, especially on slow machines. 898 speedup dependency caching a lot, especially on slow machines.
581 899
582 Updated /etc/passwd to have users with no shell defined, use /bin/false 900 Updated /etc/passwd to have users with no shell defined, use /bin/false
583 for security. 901 for security.
584 902
585 Update /etc/fstab to mention /dev/shm since we dont mount it anymore. 903 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
589 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. 907 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
590 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated 908 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
591 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and 909 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
592 /etc/init.d/runscript.sh for this (added wrap_rcscript() function). 910 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
593 911
594 Removed stopping of dependant services that have current service as 912 Removed stopping of dependent services that have current service as
595 a 'use'dependancy ... should be less confusing now. 913 a 'use'dependency ... should be less confusing now.
596 Updated /etc/init.d/runscript.sh for this. 914 Updated /etc/init.d/runscript.sh for this.
597 915
598 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: 916 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
599 917
600 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc 918 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
682 Added the 'before' depend type. This is more for changing the 1000 Added the 'before' depend type. This is more for changing the
683 order services start in. Updated /etc/init.d/depscan.sh and 1001 order services start in. Updated /etc/init.d/depscan.sh and
684 /etc/init.d/functions.sh for this. 1002 /etc/init.d/functions.sh for this.
685 1003
686 Updated /etc/init.d/depscan.sh to work with '*' as argument for 1004 Updated /etc/init.d/depscan.sh to work with '*' as argument for
687 dependancy types. This can be used with 'use' and 'before' to 1005 dependency types. This can be used with 'use' and 'before' to
688 start a script last or first respectively. 1006 start a script last or first respectively.
689 1007
690 Added save_options() and get_options() to /etc/init.d/functions.sh 1008 Added save_options() and get_options() to /etc/init.d/functions.sh
691 for saving misc settings between startup/shutdown. Updated 1009 for saving misc settings between startup/shutdown. Updated
692 /etc/init.d/net.eth0 to use these and properly down virtual 1010 /etc/init.d/net.eth0 to use these and properly down virtual
761 29 Dec 2001; Donny Davies (woodchip@gentoo.org): 1079 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
762 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) 1080 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
763 1081
764 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); 1082 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
765 1083
766 Updated /etc/init.d/depscan.sh to store info about missing dependancies 1084 Updated /etc/init.d/depscan.sh to store info about missing dependencies
767 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh 1085 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
768 to use this when starting a script ('need' dependancies is critical for 1086 to use this when starting a script ('need' dependencies is critical for
769 startup). Added the broken() function to /etc/init.d/runscript.sh 1087 startup). Added the broken() function to /etc/init.d/runscript.sh
770 to list the missing dependancies. 1088 to list the missing dependencies.
771 1089
772 Updated /etc/init.d/runscript.sh for svc_start() to have better error 1090 Updated /etc/init.d/runscript.sh for svc_start() to have better error
773 checking. 1091 checking.
774 1092
775 Updated /etc/init.d/functions.sh with ewend(), which is the same as 1093 Updated /etc/init.d/functions.sh with ewend(), which is the same as

Legend:
Removed from v.262  
changed lines
  Added in v.331

  ViewVC Help
Powered by ViewVC 1.1.20