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 | 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
6 | |
|
|
7 | Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again. |
|
|
8 | |
|
|
9 | 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
10 | |
|
|
11 | Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh |
|
|
12 | support. This resolves bug #14994. |
|
|
13 | |
|
|
14 | Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR |
|
|
15 | according to /etc/rc.conf. |
|
|
16 | |
|
|
17 | Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments, |
|
|
18 | and used 'basename' which is located in /usr/bin. |
|
|
19 | |
|
|
20 | 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
21 | |
|
|
22 | Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if |
|
|
23 | used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for |
|
|
24 | this. |
|
|
25 | |
|
|
26 | 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
27 | |
|
|
28 | Update src/awk/genenviron.awk to properly set the environment for each |
|
|
29 | rc-script's depend() function by sourcing required config files. |
|
|
30 | |
|
|
31 | 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
32 | |
|
|
33 | Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks |
|
|
34 | to Max Kalika <alkern23@yahoo.com>, bug #15050. |
|
|
35 | |
|
|
36 | 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
37 | |
|
|
38 | Fix /sbin/modules-update to work with module-init-tools-0.9.9. |
|
|
39 | |
|
|
40 | 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
41 | |
|
|
42 | Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to |
|
|
43 | Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>. |
|
|
44 | |
|
|
45 | 27 Jan 2003; Donny Davies <woodchip@gentoo.org>: |
|
|
46 | |
|
|
47 | Fix halt.sh by moving the nut UPS kill power stuff back into a function! |
|
|
48 | Add fix from the wonderful analysis of Toby Dickenson |
|
|
49 | <tdickenson@geminidataloggers.com> in #12947. |
|
|
50 | |
|
|
51 | 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
52 | |
|
|
53 | Fix start-stop-daemon to check the call to nice() correctly for failure, |
|
|
54 | closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>. |
|
|
55 | |
|
|
56 | Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot |
|
|
57 | and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from |
|
|
58 | Malcolm Scott <m@lcolm.org.uk>. |
|
|
59 | |
|
|
60 | 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>: |
|
|
61 | |
|
|
62 | Updated /etc/rc.conf to add elogin/entrance support #13790. |
|
|
63 | |
|
|
64 | 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
65 | |
|
|
66 | Update /etc/init.d/keymaps to enable unicode if required. This closes |
|
|
67 | bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>. |
|
|
68 | |
|
|
69 | 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
70 | |
|
|
71 | Fix deadlock durning shutdown if tmpfs filesystems larger than free |
|
|
72 | memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh |
|
|
73 | for this. |
|
|
74 | |
|
|
75 | Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh. |
|
|
76 | This closes bug #13868. |
|
|
77 | |
|
|
78 | Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both |
|
|
79 | 'su -c foo' not finding start-stop-daemon (etc), and bug #14127. |
|
|
80 | |
|
|
81 | Add route for lo interface to /etc/init.d/net.lo, closing bug #14055. |
|
|
82 | |
|
|
83 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
84 | |
|
|
85 | Clear $svcdir in /sbin/rc before we run depscan to make sure we do |
|
|
86 | not have stale entries left from hard reboot, thanks to pac1085 on |
|
|
87 | irc. |
|
|
88 | |
|
|
89 | * rc-scripts 1.4.3.2 (15 Jan 2003) |
|
|
90 | |
|
|
91 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
92 | |
|
|
93 | Truely fix bootup on seperate /var. |
|
|
94 | |
|
|
95 | Add some fixes and optimizations to /sbin/rc-update, thanks to |
|
|
96 | Daniel Robbins <drobbins@gentoo.org>. |
|
|
97 | |
|
|
98 | * rc-scripts 1.4.3.1 (15 Jan 2003) |
|
|
99 | |
|
|
100 | 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
101 | |
|
|
102 | Fix bootup on seperate /var. |
|
|
103 | |
|
|
104 | 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
105 | |
|
|
106 | Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636. |
|
|
107 | |
|
|
108 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
109 | |
|
|
110 | Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks |
|
|
111 | to Olaf Hering <gentoo@aepfle.de>, bug #13193. |
|
|
112 | |
|
|
113 | Turn on -C option to fsck on for all calls to fsck. Updated scripts |
|
|
114 | /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321. |
|
|
115 | |
|
|
116 | * rc-scripts 1.4.3.0 (07 Jan 2003) |
|
|
117 | |
|
|
118 | 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
119 | |
|
|
120 | Too much to mention, but here are a few: |
|
|
121 | - Major rewrite of software RAID startup, based on Mandrake's, as |
|
|
122 | ours was pretty broken :( |
|
|
123 | - Redone /sbin/rc to work without the tmpfs/ramfs stat directory. |
|
|
124 | Much of /sbin/functions.sh and other scripts have been changed |
|
|
125 | to support this. |
|
|
126 | - Reworked /etc/inittab to support this. Also moved critical |
|
|
127 | mounting of local filesystems to 'sysinit' function of /sbin/rc. |
|
|
128 | - Move state directory to /var/state/init.d/ ($svcdir). |
|
|
129 | - Move Adelie node init to /sbin/functions.sh to try and simplify |
|
|
130 | /sbin/rc a bit. |
|
|
131 | - Updated Copyright dates to 2003. |
|
|
132 | |
|
|
133 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
|
|
134 | |
|
|
135 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
136 | |
|
|
137 | Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
|
|
138 | lines, as it seems users do not note the need to have them all on |
|
|
139 | one line .... |
|
|
140 | |
|
|
141 | Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.* |
|
|
142 | script not ending on a digit. This closes bug #12887. |
|
|
143 | |
|
|
144 | Fix get_KV to also check micro version of kernel; add KV_to_int() |
|
|
145 | helper function for get_KV. Update /etc/init.d/localmount to work |
|
|
146 | with new get_KV ... |
|
|
147 | |
|
|
148 | 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
149 | |
|
|
150 | Add support for generate-modprobe.conf or generating /etc/modprobe.conf |
|
|
151 | in the new sys-apps/module-init-tools. Note that you need version |
|
|
152 | 0.9.7 or later of sys-apps/module-init-tools. Updated |
|
|
153 | /sbin/modules-update for this. |
|
|
154 | |
|
|
155 | Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if |
|
|
156 | we are running kernel 2.5 or later ... |
|
|
157 | |
|
|
158 | 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
159 | |
|
|
160 | Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool |
|
|
161 | rc-script to setup encrypted loopback devices. This was kindly |
|
|
162 | donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471). |
|
|
163 | |
|
|
164 | 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
165 | |
|
|
166 | Fix src/awk/genenviron.awk stripping *all* '=', closing |
|
|
167 | bug #8901. |
|
|
168 | |
|
|
169 | Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with |
|
|
170 | spaces ... |
|
|
171 | |
|
|
172 | * rc-scripts 1.4.2.7 (24 Dec 2002) |
|
|
173 | |
|
|
174 | 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
175 | |
|
|
176 | Add a fix to /sbin/functions.sh for bug #12601. |
|
|
177 | |
|
|
178 | 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
179 | |
|
|
180 | Add INFOPATH to /etc/env.d/00basic. |
|
|
181 | |
|
|
182 | Fix src/awk/genenviron.awk to get the order of the env.d files |
|
|
183 | correct. Also fix it to handle *all* the SPECIALS correctly. |
|
|
184 | This closes bug #12411. |
|
|
185 | |
|
|
186 | * rc-scripts 1.4.2.6 (18 Dec 2002) |
|
|
187 | |
|
|
188 | 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
189 | |
|
|
190 | Add mips changes to sbin/MAKEDEV. This should close bug #12329, |
|
|
191 | thanks to Nicholas Wourms <nwourms@netscape.net>. |
|
|
192 | |
|
|
193 | Quote some tests in /sbin/rc-update to fix/avoid the problem |
|
|
194 | in bug # |
|
|
195 | |
|
|
196 | Fix awk regex in /etc/init.d/halt.sh to fix bug #11795. |
|
|
197 | |
|
|
198 | Update shell for postgres user, closing bug #12258. |
|
|
199 | |
|
|
200 | 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
201 | |
|
|
202 | Fix src/awk/genenviron.awk not to add duplicate entries, closing |
|
|
203 | bug #8999. |
|
|
204 | |
|
|
205 | * rc-scripts 1.4.2.5 (09 Dec 2002) |
|
|
206 | |
|
|
207 | 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
208 | |
|
|
209 | Add another sync to /etc/init.d/halt.sh, closing bug 8173. |
|
|
210 | |
|
|
211 | Add smmsp uid and gid. Closes bug #8952. |
|
|
212 | |
|
|
213 | 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
214 | |
|
|
215 | Setup colums, etc up properly for serial consoles in /sbin/functions.sh. |
|
|
216 | Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>. |
|
|
217 | |
|
|
218 | Add headers similar to that of portage-2.0.45 and up to the |
|
|
219 | generated profile files (/etc/{profile,csh}.env). Updated |
|
|
220 | src/awk/genenviron.awk for this. |
|
|
221 | |
|
|
222 | 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
223 | |
|
|
224 | Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the |
|
|
225 | sharp eye of Techie2000 <Linux@mochamail.com>. |
|
|
226 | |
|
|
227 | Rename /sbin/update-modules to /sbin/modules-update, closing |
|
|
228 | bug #11445. |
|
|
229 | |
|
|
230 | Nano moved from /usr/bin/nano to /bin/nano. Fix this in |
|
|
231 | /etc/env.d/00basic, bug #10916. |
|
|
232 | |
|
|
233 | 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
234 | |
|
|
235 | Add more improvements to clustering code. This is from |
|
|
236 | Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. |
|
|
237 | |
|
|
238 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
239 | |
|
|
240 | Change default 'net' dependency behaviour to be more suited |
|
|
241 | for notebook users. Basically if at least one net.* service |
|
|
242 | beside net.lo start successfully, the 'net' dependency is |
|
|
243 | considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" |
|
|
244 | in /etc/conf.d/rc to change this back to the old default. |
|
|
245 | This is the start to address bug #2706. |
|
|
246 | |
|
|
247 | * rc-scripts 1.4.2.4 (26 Nov 2002) |
|
|
248 | |
|
|
249 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
250 | |
|
|
251 | Initial merge of bits for Adelie Linux for SSI clusters. More |
|
|
252 | info at: |
|
|
253 | |
|
|
254 | http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html |
|
|
255 | |
|
|
256 | 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
257 | |
|
|
258 | One liner fix to src/awk/cachedepends.awk to once again fix |
|
|
259 | bug #7803. |
|
|
260 | |
|
|
261 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
262 | |
|
|
263 | Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases. |
|
|
264 | This should close bug #10891. |
|
|
265 | |
|
|
266 | * rc-scripts 1.4.2.3 (18 Nov 2002) |
|
|
267 | |
|
|
268 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
269 | |
|
|
270 | Add some more checks to src/awk/*. Fix error printing for |
|
|
271 | /sbin/depscan.sh. |
|
|
272 | |
|
|
273 | Link awk module with gcc and not with ld. This should fix |
|
|
274 | problems on sparc and alpha. Many thanks for this fix to |
|
|
275 | Stephan Jones <cretin@gentoo.org>. |
|
|
276 | |
|
|
277 | Remove the copyright info from config files, thanks to |
|
|
278 | Matthew Kennedy <mkennedy@gentoo.org>. |
|
|
279 | |
|
|
280 | * rc-scripts 1.4.2.2 (18 Nov 2002) |
|
|
281 | |
|
|
282 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
283 | |
|
|
284 | Add src/awk/genenviron.awk which is rc-envupdate.sh ported |
|
|
285 | to awk. This is also much faster than its bash version. |
|
|
286 | |
|
|
287 | Remove the 'Spider cat fix' from depscan.sh.bash, as it makes |
|
|
288 | things even slower on older boxes. Bug #10548. |
|
|
289 | |
|
|
290 | After a bored Vapier decided that he needed to update the |
|
|
291 | licenses of things in /etc :P, I did the rest. Hopefully |
|
|
292 | not too many people will nuke thier fstab :/ |
|
|
293 | |
|
|
294 | * rc-scripts 1.4.2.1 (18 Nov 2002) |
|
|
295 | |
|
|
296 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
297 | |
|
|
298 | Update src/awk/cachedepends.awk to find its own rc-scripts, |
|
|
299 | fixing the need for find which broke systems with /usr on |
|
|
300 | a different partition. |
|
|
301 | |
|
|
302 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
303 | |
|
|
304 | Add some extra checks to src/awk/cachedepends.awk and |
|
|
305 | src/awk/gendepends.awk. |
|
|
306 | |
|
|
307 | Move some of the more generic functions in src/awk/gendepends.awk |
|
|
308 | to src/awk/functions.awk. |
|
|
309 | |
|
|
310 | * rc-scripts 1.4.2 (17 Nov 2002) |
|
|
311 | |
|
|
312 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
313 | |
|
|
314 | Add initial version of new depscan.sh. This uses awk scripts |
|
|
315 | to do the main work, giving about 10 times speed improvement on |
|
|
316 | slower machines. Updated /sbin/depscan.sh, src/filefuncts.c, |
|
|
317 | src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk |
|
|
318 | for this. This should close bug #10548. |
4 | |
319 | |
5 | * rc-scripts 1.4.1.2 (5 Nov 2002) |
320 | * rc-scripts 1.4.1.2 (5 Nov 2002) |
6 | |
321 | |
7 | 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
322 | 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
8 | |
323 | |