|
|
1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
|
|
2 | # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL |
|
|
3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
|
|
4 | |
|
|
5 | * rc-scripts 1.4.2.8 (06 Jan 2003) |
|
|
6 | |
|
|
7 | 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
8 | |
|
|
9 | Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc |
|
|
10 | lines, as it seems users do not note the need to have them all on |
|
|
11 | one line .... |
|
|
12 | |
|
|
13 | Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.* |
|
|
14 | script not ending on a digit. This closes bug #12887. |
|
|
15 | |
|
|
16 | Fix get_KV to also check micro version of kernel; add KV_to_int() |
|
|
17 | helper function for get_KV. Update /etc/init.d/localmount to work |
|
|
18 | with new get_KV ... |
|
|
19 | |
|
|
20 | 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
21 | |
|
|
22 | Add support for generate-modprobe.conf or generating /etc/modprobe.conf |
|
|
23 | in the new sys-apps/module-init-tools. Note that you need version |
|
|
24 | 0.9.7 or later of sys-apps/module-init-tools. Updated |
|
|
25 | /sbin/modules-update for this. |
|
|
26 | |
|
|
27 | Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if |
|
|
28 | we are running kernel 2.5 or later ... |
|
|
29 | |
|
|
30 | 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
31 | |
|
|
32 | Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool |
|
|
33 | rc-script to setup encrypted loopback devices. This was kindly |
|
|
34 | donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471). |
|
|
35 | |
|
|
36 | 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
37 | |
|
|
38 | Fix src/awk/genenviron.awk stripping *all* '=', closing |
|
|
39 | bug #8901. |
|
|
40 | |
|
|
41 | Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with |
|
|
42 | spaces ... |
|
|
43 | |
|
|
44 | * rc-scripts 1.4.2.7 (24 Dec 2002) |
|
|
45 | |
|
|
46 | 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
47 | |
|
|
48 | Add a fix to /sbin/functions.sh for bug #12601. |
|
|
49 | |
|
|
50 | 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
51 | |
|
|
52 | Add INFOPATH to /etc/env.d/00basic. |
|
|
53 | |
|
|
54 | Fix src/awk/genenviron.awk to get the order of the env.d files |
|
|
55 | correct. Also fix it to handle *all* the SPECIALS correctly. |
|
|
56 | This closes bug #12411. |
|
|
57 | |
|
|
58 | * rc-scripts 1.4.2.6 (18 Dec 2002) |
|
|
59 | |
|
|
60 | 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
61 | |
|
|
62 | Add mips changes to sbin/MAKEDEV. This should close bug #12329, |
|
|
63 | thanks to Nicholas Wourms <nwourms@netscape.net>. |
|
|
64 | |
|
|
65 | Quote some tests in /sbin/rc-update to fix/avoid the problem |
|
|
66 | in bug # |
|
|
67 | |
|
|
68 | Fix awk regex in /etc/init.d/halt.sh to fix bug #11795. |
|
|
69 | |
|
|
70 | Update shell for postgres user, closing bug #12258. |
|
|
71 | |
|
|
72 | 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
73 | |
|
|
74 | Fix src/awk/genenviron.awk not to add duplicate entries, closing |
|
|
75 | bug #8999. |
|
|
76 | |
|
|
77 | * rc-scripts 1.4.2.5 (09 Dec 2002) |
|
|
78 | |
|
|
79 | 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
80 | |
|
|
81 | Add another sync to /etc/init.d/halt.sh, closing bug 8173. |
|
|
82 | |
|
|
83 | Add smmsp uid and gid. Closes bug #8952. |
|
|
84 | |
|
|
85 | 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
86 | |
|
|
87 | Setup colums, etc up properly for serial consoles in /sbin/functions.sh. |
|
|
88 | Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>. |
|
|
89 | |
|
|
90 | Add headers similar to that of portage-2.0.45 and up to the |
|
|
91 | generated profile files (/etc/{profile,csh}.env). Updated |
|
|
92 | src/awk/genenviron.awk for this. |
|
|
93 | |
|
|
94 | 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
95 | |
|
|
96 | Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the |
|
|
97 | sharp eye of Techie2000 <Linux@mochamail.com>. |
|
|
98 | |
|
|
99 | Rename /sbin/update-modules to /sbin/modules-update, closing |
|
|
100 | bug #11445. |
|
|
101 | |
|
|
102 | Nano moved from /usr/bin/nano to /bin/nano. Fix this in |
|
|
103 | /etc/env.d/00basic, bug #10916. |
|
|
104 | |
|
|
105 | 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
106 | |
|
|
107 | Add more improvements to clustering code. This is from |
|
|
108 | Olivier Crete <crete@cerca.umontreal.ca>, bug #4151. |
|
|
109 | |
|
|
110 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
111 | |
|
|
112 | Change default 'net' dependency behaviour to be more suited |
|
|
113 | for notebook users. Basically if at least one net.* service |
|
|
114 | beside net.lo start successfully, the 'net' dependency is |
|
|
115 | considered up. Server admin can set RC_NET_STRICT_CHECKING="yes" |
|
|
116 | in /etc/conf.d/rc to change this back to the old default. |
|
|
117 | This is the start to address bug #2706. |
|
|
118 | |
|
|
119 | * rc-scripts 1.4.2.4 (26 Nov 2002) |
|
|
120 | |
|
|
121 | 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
122 | |
|
|
123 | Initial merge of bits for Adelie Linux for SSI clusters. More |
|
|
124 | info at: |
|
|
125 | |
|
|
126 | http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html |
|
|
127 | |
|
|
128 | 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
129 | |
|
|
130 | One liner fix to src/awk/cachedepends.awk to once again fix |
|
|
131 | bug #7803. |
|
|
132 | |
|
|
133 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
134 | |
|
|
135 | Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases. |
|
|
136 | This should close bug #10891. |
|
|
137 | |
|
|
138 | * rc-scripts 1.4.2.3 (18 Nov 2002) |
|
|
139 | |
|
|
140 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
141 | |
|
|
142 | Add some more checks to src/awk/*. Fix error printing for |
|
|
143 | /sbin/depscan.sh. |
|
|
144 | |
|
|
145 | Link awk module with gcc and not with ld. This should fix |
|
|
146 | problems on sparc and alpha. Many thanks for this fix to |
|
|
147 | Stephan Jones <cretin@gentoo.org>. |
|
|
148 | |
|
|
149 | Remove the copyright info from config files, thanks to |
|
|
150 | Matthew Kennedy <mkennedy@gentoo.org>. |
|
|
151 | |
|
|
152 | * rc-scripts 1.4.2.2 (18 Nov 2002) |
|
|
153 | |
|
|
154 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
155 | |
|
|
156 | Add src/awk/genenviron.awk which is rc-envupdate.sh ported |
|
|
157 | to awk. This is also much faster than its bash version. |
|
|
158 | |
|
|
159 | Remove the 'Spider cat fix' from depscan.sh.bash, as it makes |
|
|
160 | things even slower on older boxes. Bug #10548. |
|
|
161 | |
|
|
162 | After a bored Vapier decided that he needed to update the |
|
|
163 | licenses of things in /etc :P, I did the rest. Hopefully |
|
|
164 | not too many people will nuke thier fstab :/ |
|
|
165 | |
|
|
166 | * rc-scripts 1.4.2.1 (18 Nov 2002) |
|
|
167 | |
|
|
168 | 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
169 | |
|
|
170 | Update src/awk/cachedepends.awk to find its own rc-scripts, |
|
|
171 | fixing the need for find which broke systems with /usr on |
|
|
172 | a different partition. |
|
|
173 | |
|
|
174 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
175 | |
|
|
176 | Add some extra checks to src/awk/cachedepends.awk and |
|
|
177 | src/awk/gendepends.awk. |
|
|
178 | |
|
|
179 | Move some of the more generic functions in src/awk/gendepends.awk |
|
|
180 | to src/awk/functions.awk. |
|
|
181 | |
|
|
182 | * rc-scripts 1.4.2 (17 Nov 2002) |
|
|
183 | |
|
|
184 | 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
185 | |
|
|
186 | Add initial version of new depscan.sh. This uses awk scripts |
|
|
187 | to do the main work, giving about 10 times speed improvement on |
|
|
188 | slower machines. Updated /sbin/depscan.sh, src/filefuncts.c, |
|
|
189 | src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk |
|
|
190 | for this. This should close bug #10548. |
|
|
191 | |
|
|
192 | * rc-scripts 1.4.1.2 (5 Nov 2002) |
|
|
193 | |
|
|
194 | 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
195 | |
|
|
196 | Add UID/GID of 250 for Portage Fakeroot account. |
|
|
197 | |
|
|
198 | 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
199 | |
|
|
200 | Change /etc/init.d/clock to depend on localmount again, fixing |
|
|
201 | bug #10048. |
|
|
202 | |
|
|
203 | Get deps on logger sane again. I wanted to get the logger started |
|
|
204 | as early as possible, but clock for one breaks if /usr is mounted |
|
|
205 | on seperate partition. |
|
|
206 | |
|
|
207 | 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
208 | |
|
|
209 | Fix return in /etc/init.d/modules to return 0 if /proc/modules |
|
|
210 | do not exists. Closes bug #7738, comment #5. |
|
|
211 | |
|
|
212 | * rc-scripts 1.4.1.1 (28 Oct 2002) |
|
|
213 | |
|
|
214 | 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
215 | |
|
|
216 | Fix /sbin/update-modules not to include backup files. Closes |
|
|
217 | bug #9707. |
|
|
218 | |
|
|
219 | 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
220 | |
|
|
221 | Fix update-modules borking if there are directories present |
|
|
222 | in /etc/modules.d/. Closes bug #9632. |
|
|
223 | |
|
|
224 | 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
225 | |
|
|
226 | Change deps on /etc/init.d/{clock,hostname,modules} not to |
|
|
227 | depend on localmount, but rather on checkroot, as all of them |
|
|
228 | just need / to be mounted. This should fix race conditions |
|
|
229 | because of checkfs dependency on modules. This should close |
|
|
230 | bug #9266. |
|
|
231 | |
|
|
232 | * rc-scripts 1.4.1 (13 Oct 2002) |
|
|
233 | |
|
|
234 | 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
235 | |
|
|
236 | Create and fix permissions on /tmp/.{ICE,X11}-unix/. This |
|
|
237 | is additional measures for bug #8281. |
|
|
238 | |
|
|
239 | 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
240 | |
|
|
241 | Update /etc/init.d/net.eth0 to fix bug #8626. |
|
|
242 | |
|
|
243 | Fix /sbin/rc-update to check return code of "ln". This should |
|
|
244 | close bug #8867. |
|
|
245 | |
|
|
246 | 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
247 | |
|
|
248 | Fix indentation in /etc/inputrc. This should close |
|
|
249 | bug #8368. |
|
|
250 | |
|
|
251 | Add extended status functionality. Should close bug #2462. |
|
|
252 | |
|
|
253 | Add support for /sbin/rc-update to check if the rc-script |
|
|
254 | is executable or not. Thanks to widersacher@gmx.net, closing |
|
|
255 | bug #8326. |
|
|
256 | |
|
|
257 | 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
258 | |
|
|
259 | Fix /etc/init.d/bootmisc not to kill pidfiles of running |
|
|
260 | daemons. Improve NGPT support in /sbin/rc a bit. |
|
|
261 | |
|
|
262 | 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
263 | |
|
|
264 | Fix my last screwup with /etc/init.d/net.ppp0. Basically |
|
|
265 | forgot to change a few DEVICE's to IFACE ... |
|
|
266 | |
|
|
267 | 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
268 | |
|
|
269 | NGPT support. |
|
|
270 | |
|
|
271 | 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
272 | |
|
|
273 | Did a small fix to /etc/init.d/net.eth0, thanks to |
|
|
274 | naanyaar2000@yahoo.com, bug #7407. |
|
|
275 | |
|
|
276 | 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
277 | |
|
|
278 | Add the permission stuff for generic scsi when compiled as |
|
|
279 | module, thanks to Bauno <bauno@inwind.it>. |
|
|
280 | |
|
|
281 | Add support for /etc/devfs.d/ for additional devfs config |
|
|
282 | stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>. |
|
|
283 | |
|
|
284 | 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
285 | |
|
|
286 | Fix small type-o from last changes to /etc/init.d/netmount. |
|
|
287 | Should resolve bug #7803. |
|
|
288 | |
|
|
289 | * rc-scripts 1.4.0 (7 Sep 2002) |
|
|
290 | |
|
|
291 | 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
292 | |
|
|
293 | Update /etc/init.d/net.eth0 to handle individual broadcast |
|
|
294 | and netmask for aliases. Should close bug #7407. |
|
|
295 | |
|
|
296 | Give /var/run/utmp and /var/log/wtmp the proper permissions |
|
|
297 | and ownership. First steps in fixing bug #7630. |
|
|
298 | |
|
|
299 | Change Raid stuff again in /etc/init.d/checkfs. |
|
|
300 | |
|
|
301 | 26 Aug 2002; Donny Davies <woodchip@gentoo.org>: |
|
|
302 | |
|
|
303 | Give root a 'root' GECOS in /etc/passwd, was NULL before. |
|
|
304 | |
|
|
305 | * rc-scripts 1.3.9 (25 Aug 2002) |
|
|
306 | |
|
|
307 | 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
308 | |
|
|
309 | Update /sbin/rc to fix some spelling/slang mistakes. Closes |
|
|
310 | bug #6887. |
|
|
311 | |
|
|
312 | Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0. |
|
|
313 | This closes bug #6378. |
|
|
314 | |
|
|
315 | Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175, |
|
|
316 | with many thanks to Asbjorn Sannes <ace@sannes.org>. |
|
|
317 | |
|
|
318 | 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
319 | |
|
|
320 | Update /etc/init.d/bootmisc to reset pam_console permissions. |
|
|
321 | |
|
|
322 | Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so" |
|
|
323 | line for getting devfs to work with pam_console. |
|
|
324 | |
|
|
325 | 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
326 | |
|
|
327 | Update /etc/init.d/keymaps to first load the windowkeys.inc then |
|
|
328 | the user selected one, fixing bug #6295. |
|
|
329 | |
|
|
330 | 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
331 | |
|
|
332 | Change the 'cat' in check_rcscript() to a single 'awk' in |
|
|
333 | /sbin/depscan.sh. This should fix broken pipe issues if the |
|
|
334 | loop exists too early. Resolves bug #5961. |
|
|
335 | |
|
|
336 | Fix software RAID startup/shutdown, bug #5310. Modified |
|
|
337 | /etc/init.d/checkfs and /etc/init.d/halt.sh for this. |
|
|
338 | |
|
|
339 | * rc-scripts 1.3.8 (08 Aug 2002) |
|
|
340 | |
|
|
341 | 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
342 | |
|
|
343 | Move the color ls stuff to .bashrc. Fix bug #5250. |
|
|
344 | |
|
|
345 | 6 Aug 2002; Dan Armak <danarmak@gentoo.org>: |
|
|
346 | |
|
|
347 | Correct the comments in rc.conf about the XSESSION variable: it should |
|
|
348 | be set to "kde-<version>" not "KDE". Closes bug #5948. |
|
|
349 | |
|
|
350 | 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
351 | |
|
|
352 | Fix the 'Usage' line in the help to return the correct options for |
|
|
353 | the script (/sbin/runscript.sh). Resolve bug #6029. |
|
|
354 | |
|
|
355 | 3 Aug 2002; Donny Davies <woodchip@gentoo.org>: |
|
|
356 | |
|
|
357 | Added UPS shutdown support for nut to halt.sh. |
|
|
358 | Added nut user/group as uid/gid 84. |
|
|
359 | |
|
|
360 | 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
361 | |
|
|
362 | Updated /sbin/rc's way of checking for devfs support (now rather uses |
|
|
363 | awk, as it is more accurate). Closes bug #5458. |
|
|
364 | |
|
|
365 | Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot |
|
|
366 | and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this. |
|
|
367 | Thanks goes to Chris PeBenito (bug #5570). |
|
|
368 | |
|
|
369 | Changed most daemons to use /bin/false as shell. Should close bug #5388. |
|
|
370 | |
|
|
371 | 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>: |
|
|
372 | |
|
|
373 | Added vpopmail user and group as 89:89 |
|
|
374 | |
|
|
375 | 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
376 | |
|
|
377 | Add the cyrus user to /etc/passwd. Resolves bug #4100. |
|
|
378 | |
|
|
379 | Some bugfixes and speed improvements to /sbin/depscan.sh after |
|
|
380 | last changes. |
|
|
381 | |
|
|
382 | Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to |
|
|
383 | get some speed improvements. |
|
|
384 | |
|
|
385 | 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
386 | |
|
|
387 | Fix LVM support in /etc/init.d/checkfs again, thanks to help from |
|
|
388 | Kyle Manna <nitro@gentoo.org>. |
|
|
389 | |
|
|
390 | Add software RAID support to /etc/init.d/checkfs, thanks to |
|
|
391 | Daniel Ahlberg <aliz@gentoo.org>. |
|
|
392 | |
|
|
393 | Update the cache_depend() funtion in /sbin/depscan.sh not to |
|
|
394 | quit on any "}", but only on the one matching the first "{". This |
|
|
395 | requires wc in /bin, so baselayout should depend on |
|
|
396 | >=sys-apps/textutils-2.0.19-r2 |
|
|
397 | |
|
|
398 | Update /etc/init.d/netmount to try and detect nfs mounts that should be |
|
|
399 | mounted automatically on boot. This requires awk in /bin, so baselayout |
|
|
400 | should depend on >=sys-apps/gawk-3.1.0-r3. |
|
|
401 | |
|
|
402 | * rc-scripts 1.3.7 (17 Jul 2002) |
|
|
403 | |
|
|
404 | 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
405 | |
|
|
406 | Add logging functionality to the rc-scripts, thanks to Alexander Holler, |
|
|
407 | bug #4037 for the basic idea. Updated /sbin/functions.sh for this. |
|
|
408 | |
|
|
409 | 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
410 | |
|
|
411 | Add additional entries to /etc/services to support cyrus-imapd, thanks |
|
|
412 | to Nick Hadaway <raker@gentoo.org>. |
|
|
413 | |
|
|
414 | Update /etc/init.d/consolefont to resolve bug #4968. This fixes a |
|
|
415 | problem with non 7bit ascii symbols. |
|
|
416 | |
|
|
417 | Updated /etc/init.d/checkfs to detect if lvm is already active. |
|
|
418 | This should resolve bug #3613. |
|
|
419 | |
|
|
420 | 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
421 | |
|
|
422 | Add "usb" group, gid 85. Move "sshd" user and group to 22. Move |
|
|
423 | "games" user and group to 35 |
|
|
424 | |
|
|
425 | 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
426 | |
|
|
427 | Update Copyright displayed at boot, thanks to Sascha Schwabbauer |
|
|
428 | (aka cybersystem). Updated /sbin/rc for this. |
|
|
429 | |
|
|
430 | 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
431 | |
|
|
432 | Update /etc/skel/.bashrc to update the window title of X terminals |
|
|
433 | that supports it. Closes bug #4232. |
|
|
434 | |
|
|
435 | 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
436 | |
|
|
437 | Add sshd user and group. Updated /etc/passwd and /etc/group for this. |
|
|
438 | |
|
|
439 | Update /etc/inputrc to resolve bug #2599. |
|
|
440 | |
|
|
441 | 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
442 | |
|
|
443 | Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified |
|
|
444 | /etc/env.d/00basic for this. |
|
|
445 | |
|
|
446 | Add some new daemon stop and pid detection stuff to /sbin/functions.sh. |
|
|
447 | Nothing official, but I spent enouth time on it not to want to loose it :) |
|
|
448 | |
|
|
449 | Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs |
|
|
450 | to give output to stderr. This was caused by a call to "stty", which when |
|
|
451 | run without a attatched terminal, have this effect. Basically just pipe |
|
|
452 | stderr to /dev/null. |
|
|
453 | |
|
|
454 | 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
455 | |
|
|
456 | Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving |
|
|
457 | bug #3363 |
|
|
458 | |
|
|
459 | 26 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
460 | |
|
|
461 | Update /etc/init.d/netmount not to try and mount NFS filesystems |
|
|
462 | if portmap was not started. This is to stop "hang" problems for |
|
|
463 | new users who do not add portmap to the default runlevel. See |
|
|
464 | bug #2555. |
|
|
465 | |
|
|
466 | Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015. |
|
|
467 | |
|
|
468 | 19 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
469 | |
|
|
470 | Move $EDITOR from /etc/profile to /etc/env.d/00basic. |
|
|
471 | |
|
|
472 | 13 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
473 | |
|
|
474 | Change the homes of user "at" and "cron" in /etc/passwd, as |
|
|
475 | they moved to /var/spool/cron... |
|
|
476 | |
|
|
477 | * rc-scripts 1.3.5 (12 May 2002) |
|
|
478 | |
|
|
479 | 12 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
480 | |
|
|
481 | Make slight modifications to /sbin/depscan.sh to improve speed (about |
|
|
482 | 1 second on a celeron 633). |
|
|
483 | |
|
|
484 | Finally fix /sbin/runscript.sh to properly handle interdependencies |
|
|
485 | between types need/use and before/after on runlevel change. I can |
|
|
486 | actually kick myself for previous implementations, as this fix simplifies |
|
|
487 | things a lot, and is almost 30 lines of code less! |
|
|
488 | |
|
|
489 | Change /etc/init.d/netmount not to fail if all mounts are not mounted. |
|
|
490 | It rather just exit with a warning, as I think most people have like |
|
|
491 | me mounts that are to boxes that are not always up. |
|
|
492 | |
|
|
493 | Resolve bug #2439 (should not use try with the dd command for ramdisk |
|
|
494 | stuff). Also increase the number of inodes used for the ramdisk to |
|
|
495 | fix "out of space" errors. Updated /sbin/rc for this. |
|
|
496 | |
|
|
497 | 10 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
498 | |
|
|
499 | Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use |
|
|
500 | backup files to generate /etc/profile.env. |
|
|
501 | |
|
|
502 | Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0 |
|
|
503 | for this. |
|
|
504 | |
|
|
505 | 6 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
506 | |
|
|
507 | Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest |
|
|
508 | /etc/env.d/ file. Same for $QTDIR. |
|
|
509 | |
|
|
510 | 5 May 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
511 | |
|
|
512 | Add /etc/DIR_COLORS as it is no longer shipped with fileutils, |
|
|
513 | and is needed for some fixes. |
|
|
514 | |
|
|
515 | 28 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
516 | |
|
|
517 | Update /etc/rc.conf to be more clear and state that you should |
|
|
518 | remove consolefont from startup if you do not use it. Should |
|
|
519 | resolve bug #2174. |
|
|
520 | |
|
|
521 | 26 April 2002; Donny Davies <woodchip@gentoo.org> passwd, group : |
|
|
522 | |
|
|
523 | Added user/group apache with uid/gid 81. |
|
|
524 | |
|
|
525 | 25 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
526 | |
|
|
527 | Remove the "-net" from the line setting the default gateway |
|
|
528 | in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for |
|
|
529 | noting this. |
|
|
530 | |
|
|
531 | 24 April 2002; Donny Davies <woodchip@gentoo.org> rc.conf : |
|
|
532 | |
|
|
533 | Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs |
|
|
534 | which is installed with the nfs-utils package. Also tidied up some |
|
|
535 | really old, leftover junk like the non-supported stuff from rc5. |
|
|
536 | Closes #1754. |
|
|
537 | |
|
|
538 | 23 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
539 | |
|
|
540 | Remove creation of /var/run/utmpx from bootmisc again. Seems |
|
|
541 | other people have wierd problems. |
|
|
542 | |
|
|
543 | * rc-scripts 1.3.4 (21 April 2002) |
|
|
544 | |
|
|
545 | 21 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
546 | |
|
|
547 | Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env, |
|
|
548 | and /etc/csh.env. Update /etc/init.d/bootmisc to use this. |
|
|
549 | |
|
|
550 | Implement the status commandline argument. Updated /sbin/runscript.sh |
|
|
551 | and /sbin/rc-help.sh for this. |
|
|
552 | |
|
|
553 | Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE |
|
|
554 | and AFTER. |
|
|
555 | |
|
|
556 | 12 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
557 | |
|
|
558 | Update /etc/init.d/bootmisc to create /var/run/utmpx. This |
|
|
559 | is needed, else /usr/bin/newgrp segfault. |
|
|
560 | |
|
|
561 | 11 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
562 | |
|
|
563 | Update /etc/skel/.bash_profile to make it tcsh compadible. |
|
|
564 | Thanks to Väinö Järvelä for this fix. |
|
|
565 | |
|
|
566 | Update /etc/profile to also set the PS? variables if $SHELL |
|
|
567 | is set to /bin/sh. This should make prompt colours in |
|
|
568 | bootstrap work again. |
|
|
569 | |
|
|
570 | Move LVM stuff to checkfs to ensure that they get fscked. |
|
|
571 | This resolves bug #1552. |
|
|
572 | |
|
|
573 | * rc-scripts 1.3.3 (5 April 2002) |
|
|
574 | |
|
|
575 | 5 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
576 | |
|
|
577 | Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin. |
|
|
578 | This is done to try and ensure system integrity. |
|
|
579 | |
|
|
580 | 1 April 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
581 | |
|
|
582 | Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391. |
|
|
583 | |
|
|
584 | Add a error message to /etc/init.d/consolefont, resolving bug #1415. |
|
|
585 | |
|
|
586 | Add a bash check to the code that sets the prompt, fixing bug #1078. |
|
|
587 | |
|
|
588 | * rc-scripts 1.3.2 (24 Mar 2002) |
|
|
589 | |
|
|
590 | 24 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
591 | |
|
|
592 | Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc |
|
|
593 | for this. |
|
|
594 | |
|
|
595 | With the "before" and "after" stuff, recursion levels was getting too high, |
|
|
596 | and with some cases, things just plain did not work as it should. Reworked |
|
|
597 | things to to lower the levels of recursion and get the order right. Updated |
|
|
598 | /etc/init.d/runscript.sh for this. |
|
|
599 | |
|
|
600 | Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where |
|
|
601 | ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it. |
|
|
602 | |
|
|
603 | Enhance --quiet support. Updated /etc/init.d/functions.sh for this. |
|
|
604 | |
|
|
605 | Remove /etc/pwdb.conf, as pwdb already install a copy of this. |
|
|
606 | |
|
|
607 | Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this. |
|
|
608 | |
|
|
609 | Added $INPUTRC to /etc/profile, since too many people keep on bugging me, |
|
|
610 | and it seems it has fallen now to my discression. |
|
|
611 | |
|
|
612 | * rc-scripts 1.3.1 (23 Mar 2002) |
|
|
613 | |
|
|
614 | 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for |
|
|
615 | DHCP lease release from Jim Nutt. |
|
|
616 | |
|
|
617 | 23 March 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release |
|
|
618 | since there are a lot of important bug fixes in here that are needed. |
|
|
619 | |
|
|
620 | 23 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
621 | |
|
|
622 | Resolve bug #1292. |
|
|
623 | |
|
|
624 | Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to |
|
|
625 | Spidler. |
|
|
626 | |
|
|
627 | 21 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
628 | |
|
|
629 | Update /sbin/rc to fix a 'cat mounts' instead of the correct |
|
|
630 | version, 'cat /proc/mounts'. |
|
|
631 | |
|
|
632 | 19 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
633 | |
|
|
634 | Add initial support for the --quiet flag that suppress output. |
|
|
635 | |
|
|
636 | 18 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
637 | |
|
|
638 | Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc |
|
|
639 | as not all errors by depscan.sh is critical. It should be |
|
|
640 | reworked to do better error handeling. |
|
|
641 | |
|
|
642 | 14 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
643 | |
|
|
644 | Fix the GID and UID of nobody and nogroup in /etc/passwd and |
|
|
645 | /etc/group to match those of Debian, FBSD and others. Thanks |
|
|
646 | to those who reported it, and Woodchip for looking up the |
|
|
647 | proper values. |
|
|
648 | |
|
|
649 | Update /etc/init.d/net.eth0 to properly down DHCP interfaces. |
|
|
650 | This resolves bug #1150, thanks to Paul Fleischer. |
|
|
651 | |
|
|
652 | 11 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
653 | |
|
|
654 | Updated /etc/init.d/functions.sh not to use /usr/bin/basename, |
|
|
655 | as some users have /usr on seperate partition which is not |
|
|
656 | mounted when depscan.sh is run the first time. |
|
|
657 | |
|
|
658 | Updated the checking for more than one service providing the |
|
|
659 | same virtual function in /etc/init.d/depscan.sh. It should |
|
|
660 | be working now, and this also fix a problem that when there is no |
|
|
661 | service providing a virtual, counter was used uninitialized. |
|
|
662 | |
|
|
663 | * rc-scripts 1.3.0 (10 March 2002) |
|
|
664 | |
|
|
665 | 10 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
666 | |
|
|
667 | Resolved bug #1021; updated /etc/init.d/consolefont for this. |
|
|
668 | |
|
|
669 | Resolved bug #1029; updated /etc/init.d/net.eth0 for this. |
|
|
670 | |
|
|
671 | Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount |
|
|
672 | and /etc/init.d/localmount for this. |
|
|
673 | |
|
|
674 | Lots of form/syntax cleanups, most things should be more |
|
|
675 | consistant now. Fixed fail detection/return values of lots of |
|
|
676 | scripts. |
|
|
677 | |
|
|
678 | Lots of cleanup/fixes in the three main scripts behind our |
|
|
679 | rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh |
|
|
680 | |
|
|
681 | Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh |
|
|
682 | is sourced in a ebuild. |
|
|
683 | |
|
|
684 | Fix a bug that our rc-script wrapper introduced: Global variables |
|
|
685 | in scripts no longer worked. Updated /etc/init.d/runscript.sh for |
|
|
686 | this. |
|
|
687 | |
|
|
688 | Implemented more error checking for the main startup code in /sbin/rc. |
|
|
689 | Also fixed try() for mounting /proc (maybe all mount commands). |
|
|
690 | The function worked fine in a simulated test, but in real life failed |
|
|
691 | to detect a error when mounting /proc (remember to thank Grant for |
|
|
692 | his UserMode ebuilds, and Guide). |
|
|
693 | |
|
|
694 | * rc-scripts 1.2.9 (6 March 2002) |
|
|
695 | |
|
|
696 | 6 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
697 | |
|
|
698 | General form updates and some piping fixes. |
|
|
699 | |
|
|
700 | Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh |
|
|
701 | to fix a problem where startDM.sh would be respawned repeatedly |
|
|
702 | if xdm was not in the default runlevel. |
|
|
703 | |
|
|
704 | * rc-scripts 1.2.8 (4 March 2002) |
|
|
705 | |
|
|
706 | 4 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
707 | |
|
|
708 | Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab |
|
|
709 | to fix the "dead key" problem we had with xdm/gdm/kdm. We should |
|
|
710 | move them to the xfree ebuild later on when things settles down. |
|
|
711 | |
|
|
712 | Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh. |
|
|
713 | |
|
|
714 | Added a basic $PATH to /etc/init.d/functions.sh to fix a problem |
|
|
715 | where we had a invalid $PATH on boot in some cases. |
|
|
716 | |
|
|
717 | Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with |
|
|
718 | the new sys-apps/kbd package. |
|
|
719 | |
|
|
720 | * rc-scripts 1.2.7 (3 March 2002) |
|
|
721 | |
|
|
722 | 3 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
723 | |
|
|
724 | Fixed the problem of rc-scripts trying to start/stop a service multiple |
|
|
725 | times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc |
|
|
726 | for this. |
|
|
727 | |
|
|
728 | Fixing some variable declarations in /etc/init.d/runscript.sh caused |
|
|
729 | /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed |
|
|
730 | this. |
|
|
731 | |
|
|
732 | Added caching of the "depend() { need foo; } " lines, and updated |
|
|
733 | /etc/init.d/depscan.sh to touch the actual files less. This should |
|
|
734 | speedup dependancy caching a lot, especially on slow machines. |
|
|
735 | |
|
|
736 | Updated /etc/passwd to have users with no shell defined, use /bin/false |
|
|
737 | for security. |
|
|
738 | |
|
|
739 | Update /etc/fstab to mention /dev/shm since we dont mount it anymore. |
|
|
740 | |
|
|
741 | 1 March 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
742 | |
|
|
743 | Added a wrapper for sourcing the rc-scripts to eliminate syntax errors. |
|
|
744 | Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated |
|
|
745 | /etc/init.d/depscan.sh, /etc/init.d/functions.sh and |
|
|
746 | /etc/init.d/runscript.sh for this (added wrap_rcscript() function). |
|
|
747 | |
|
|
748 | Removed stopping of dependant services that have current service as |
|
|
749 | a 'use'dependancy ... should be less confusing now. |
|
|
750 | Updated /etc/init.d/runscript.sh for this. |
|
|
751 | |
|
|
752 | 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
753 | |
|
|
754 | Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc |
|
|
755 | programs to startup. This should pretty much have /etc/init.d/ static, |
|
|
756 | except for baselayout updates, etc. |
|
|
757 | |
|
|
758 | 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
759 | |
|
|
760 | In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause |
|
|
761 | problems. Fixed this in /sbin/rc. |
|
|
762 | |
|
|
763 | Added the patches from Grant Goodyear (aka g2boojum) to enable us to |
|
|
764 | use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc, |
|
|
765 | /etc/init.d/functions.sh and /etc/init.d/checkroot for this. |
|
|
766 | |
|
|
767 | 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
768 | |
|
|
769 | Fix my brain dead update of the 25th. It really should keep |
|
|
770 | "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in |
|
|
771 | retrieving kernel options. Updated /etc/init.d/functions.sh, |
|
|
772 | /etc/init.d/checkroot and /sbin/rc for this. |
|
|
773 | |
|
|
774 | Updated /etc/init.d/consolefont to work without devfs as well. |
|
|
775 | |
|
|
776 | When rebooting or shutting down, a service should not fail to stop |
|
|
777 | if a service it depends on, fails. Updated /etc/init.d/runscript.sh |
|
|
778 | for this. |
|
|
779 | |
|
|
780 | 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>: |
|
|
781 | |
|
|
782 | Added a check if /dev is mounted when creating entries for /etc/mtab. |
|
|
783 | This should solve a invalid entry or /dev being mounted even with |
|
|
784 | 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this. |
|
|
785 | |
|
|
786 | 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default |
|
|
787 | filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's |
|
|
788 | just in a comment now) |
|
|
789 | |
|
|
790 | 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
791 | |
|
|
792 | Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for |
|
|
793 | this. This should fix services not getting started in the correct order |
|
|
794 | in a tight loop, services getting stopped out of order, and some other |
|
|
795 | sanity checks. Updated rc-script.sh for updated help. |
|
|
796 | |
|
|
797 | 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
798 | |
|
|
799 | Update /etc/profile to resolve bug #588. Reimplemented things a bit, |
|
|
800 | and added the 'after' type. 'before' and 'after' will only work currently |
|
|
801 | for a change of runlevel. Updated /etc/init.d/depscan.sh, |
|
|
802 | /etc/init.d/runscript.sh and /sbin/rc for this. |
|
|
803 | |
|
|
804 | 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
805 | |
|
|
806 | Add some more entries to /etc/devfsd.conf to make alsa users life |
|
|
807 | easier ... thanks Tod. |
|
|
808 | |
|
|
809 | 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
810 | |
|
|
811 | Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. |
|
|
812 | |
|
|
813 | Fixed some services not starting again when restarting a service. |
|
|
814 | Seems simple is still the best way. |
|
|
815 | |
|
|
816 | Fixed some other problems created with feature additions and cleanups. |
|
|
817 | |
|
|
818 | 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
819 | |
|
|
820 | General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh. |
|
|
821 | |
|
|
822 | Added 'before *' to /etc/init.d/checkroot to make sure it gets |
|
|
823 | started first. |
|
|
824 | |
|
|
825 | Added 'use *' to /etc/init.d/local to make sure it gets started |
|
|
826 | last. |
|
|
827 | |
|
|
828 | 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
829 | |
|
|
830 | Fixed /sbin/rc to stop a service on change of runlevel if it is |
|
|
831 | in 'use' by another service. |
|
|
832 | |
|
|
833 | Added the 'provide' depend type for creating virtual services. |
|
|
834 | Updated /etc/init.d/depscan.sh for this. |
|
|
835 | |
|
|
836 | Added the 'before' depend type. This is more for changing the |
|
|
837 | order services start in. Updated /etc/init.d/depscan.sh and |
|
|
838 | /etc/init.d/functions.sh for this. |
|
|
839 | |
|
|
840 | Updated /etc/init.d/depscan.sh to work with '*' as argument for |
|
|
841 | dependancy types. This can be used with 'use' and 'before' to |
|
|
842 | start a script last or first respectively. |
|
|
843 | |
|
|
844 | Added save_options() and get_options() to /etc/init.d/functions.sh |
|
|
845 | for saving misc settings between startup/shutdown. Updated |
|
|
846 | /etc/init.d/net.eth0 to use these and properly down virtual |
|
|
847 | interfaces. |
|
|
848 | |
|
|
849 | 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
850 | |
|
|
851 | Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet |
|
|
852 | on no errors. |
|
|
853 | |
|
|
854 | * rc-scripts 1.2.6 (6 Feb 2002) |
|
|
855 | |
|
|
856 | 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
857 | |
|
|
858 | Updated /etc/net.eth0 to specify the gateway device via the $gateway |
|
|
859 | variable (something like gateway="eth0/192.168.0.1"). |
|
|
860 | |
|
|
861 | 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
862 | |
|
|
863 | Added rc-script /etc/init.d/numlock, for enabling numlock at boot. |
|
|
864 | |
|
|
865 | 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org): |
|
|
866 | |
|
|
867 | Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix |
|
|
868 | implements a retry if not successful the first time, and will kill |
|
|
869 | processess using the mount. Also small type-o fix to /etc/init.d/halt.sh. |
|
|
870 | |
|
|
871 | 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to |
|
|
872 | /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack. |
|
|
873 | Fixed /etc/passwd,group for user/group mysql. |
|
|
874 | |
|
|
875 | 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset |
|
|
876 | map file support to /etc/init.d/consolefont and the setting to |
|
|
877 | /etc/rc.conf. |
|
|
878 | |
|
|
879 | 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors |
|
|
880 | in skel files to support both versions of dircolors. |
|
|
881 | |
|
|
882 | 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug |
|
|
883 | in the restart stuff of /etc/init.d/runscript.sh that caused |
|
|
884 | a restart of a 'net' service not to restart services again |
|
|
885 | that depended on it. |
|
|
886 | |
|
|
887 | * rc-scripts 1.2.5 (20 Jan 2002) |
|
|
888 | |
|
|
889 | 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated |
|
|
890 | /etc/init.d/net.eth0 to 'use' pcmcia. |
|
|
891 | |
|
|
892 | 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to |
|
|
893 | the dircolors command in /etc/skel/.bash_profile to handle cases |
|
|
894 | where bash do not export $SHELL. |
|
|
895 | |
|
|
896 | 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated |
|
|
897 | /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and |
|
|
898 | removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config |
|
|
899 | scheme for the net.eth* scripts. |
|
|
900 | |
|
|
901 | 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address |
|
|
902 | from manpages; no need for that.. |
|
|
903 | |
|
|
904 | 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in |
|
|
905 | /etc/devfsd.conf; had 'dvd' in the cdrw stuff. |
|
|
906 | |
|
|
907 | * rc-scripts 1.2.4 (30 Dec 2001) |
|
|
908 | |
|
|
909 | 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask |
|
|
910 | back to 022 as it should be. |
|
|
911 | |
|
|
912 | 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated |
|
|
913 | /etc/init.d/checkfs to return 0 if the fs was successfully repaired. |
|
|
914 | |
|
|
915 | 29 Dec 2001; Donny Davies (woodchip@gentoo.org): |
|
|
916 | sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :)) |
|
|
917 | |
|
|
918 | 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
|
|
919 | |
|
|
920 | Updated /etc/init.d/depscan.sh to store info about missing dependancies |
|
|
921 | of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh |
|
|
922 | to use this when starting a script ('need' dependancies is critical for |
|
|
923 | startup). Added the broken() function to /etc/init.d/runscript.sh |
|
|
924 | to list the missing dependancies. |
|
|
925 | |
|
|
926 | Updated /etc/init.d/runscript.sh for svc_start() to have better error |
|
|
927 | checking. |
|
|
928 | |
|
|
929 | Updated /etc/init.d/functions.sh with ewend(), which is the same as |
|
|
930 | eend(), but print a warning on error, not a error. Updated |
|
|
931 | /etc/init.d/checkroot and /etc/init.d/checkfs to use this function. |
|
|
932 | |
|
|
933 | 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
|
|
934 | |
|
|
935 | Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments |
|
|
936 | is passed to a rc-script. |
|
|
937 | |
|
|
938 | Added /etc/init.d/rc-help.sh, simple script that prints out help for |
|
|
939 | the rc-scripts. |
|
|
940 | |
|
|
941 | 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org); |
|
|
942 | |
|
|
943 | Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the |
|
|
944 | halt and reboot. This fixes a problem where / was not unmounted properly |
|
|
945 | in some cases. |
|
|
946 | |
|
|
947 | 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
948 | |
|
|
949 | Move $svcdir to to /etc/init.d/functions.sh, and update |
|
|
950 | /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this |
|
|
951 | |
|
|
952 | Modified /etc/init.d/runscript.sh to also restart the services that |
|
|
953 | depend on a service if that service is restarted. Enhanced the |
|
|
954 | restart function to be able to have custom restart() functions in |
|
|
955 | rc-scripts. The custom restart() have to use svc_stop() and |
|
|
956 | svc_start() to restart the service. |
|
|
957 | |
|
|
958 | Add a pause function to /etc/init.d/runscript.sh. It will basically |
|
|
959 | stop a service without stopping the services that depends on that |
|
|
960 | service. |
|
|
961 | |
|
|
962 | Add a pause function to /etc/init.d/runscript.sh. It will basically stop a |
|
|
963 | service without stopping the services that depends on that service. |
|
|
964 | |
|
|
965 | * rc-scripts 1.2.3 (18 Dec 2001) |
|
|
966 | |
|
|
967 | 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
968 | |
|
|
969 | Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the |
|
|
970 | init wrapper we used). |
|
|
971 | |
|
|
972 | Some cleanups: take out the shm resize comment; |
|
|
973 | |
|
|
974 | remove the $wrongmount; |
|
|
975 | |
|
|
976 | remove the mountshm() function and insert it directly |
|
|
977 | where needed; |
|
|
978 | |
|
|
979 | remove the setting of $PATH as /sbin/init already do |
|
|
980 | this for us. |
|
|
981 | |
|
|
982 | Added the if statement to detect if it is the first time the 'boot' |
|
|
983 | runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]). |
|
|
984 | $RUNLEVEL is a env var set by /sbin/init. |
|
|
985 | |
|
|
986 | Also added functionality to detect if the kernel have DEVFS support |
|
|
987 | compiled in; seems new users thinks devfs is unstable and as they do |
|
|
988 | not always read the docs, it does not get compiled in ;/ Should |
|
|
989 | make live for us a bit easier. |
|
|
990 | |
|
|
991 | 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
992 | |
|
|
993 | Fixed /sbin/rc to kill a cosmetic bug in the part that stops all |
|
|
994 | the unneeded services. |
|
|
995 | |
|
|
996 | * rc-scripts 1.2.2 (8 Dec 2001) |
|
|
997 | |
|
|
998 | 10 Dec 2001; Added a localhost entry in /etc/hosts. |
|
|
999 | |
|
|
1000 | 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c |
|
|
1001 | to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to |
|
|
1002 | rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon. |
|
|
1003 | Start-stop-daemon is moved here from sysvinit by the way. There is stuff |
|
|
1004 | in this ChangeLog that needs to be removed! Like the changes to hosts, |
|
|
1005 | profile. /etc/{passwd,group} have minor UID and GID type fixes for |
|
|
1006 | users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS |
|
|
1007 | directories. |
|
|
1008 | |
|
|
1009 | 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory |
|
|
1010 | to rc-scripts. Checked in two manpages there, one for modules.autoload.5 |
|
|
1011 | and one for update-modules.8. These were adapted from Debian. Updated |
|
|
1012 | tarball.sh to include the new man directory. Updated baselayout to install |
|
|
1013 | these manpages. Slightly tweak the /etc/modules.autoload comments. |
|
|
1014 | |
|
|
1015 | 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1016 | |
|
|
1017 | Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option, |
|
|
1018 | and cleaned out old code. |
|
|
1019 | |
|
|
1020 | Updated /etc/init.d/bootmisc with additional lock files to clean. |
|
|
1021 | |
|
|
1022 | 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1023 | |
|
|
1024 | Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger' |
|
|
1025 | that can be used for services that needs to have a logger started before |
|
|
1026 | they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used |
|
|
1027 | to define what loggers the 'logger' depend represent. |
|
|
1028 | |
|
|
1029 | 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1030 | |
|
|
1031 | Updated /etc/passwd and /etc/group with minor fixes to pass pwck |
|
|
1032 | and grpck. |
|
|
1033 | |
|
|
1034 | 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1035 | |
|
|
1036 | Changed umask in /etc/profile for the user to 077 for security. |
|
|
1037 | |
|
|
1038 | Added a stop() function to /etc/init.d/clock. Also removed uneeded |
|
|
1039 | 'source /etc/rc.conf' line. |
|
|
1040 | |
|
|
1041 | Updated /etc/init.d/hostname to set the hostname to 'localhost' if |
|
|
1042 | /etc/hostname is invalid. |
|
|
1043 | |
|
|
1044 | Updated /sbin/init to move the entries in /lib/dev-state to /dev before |
|
|
1045 | running devfsd, as it did still not save settings properly. Also removed |
|
|
1046 | old /dev-state/compat stuff. |
|
|
1047 | |
|
|
1048 | 25 Nov 2001; ncsd, the name service cache daemon script, has been removed |
|
|
1049 | from the default "default" runlevel. It still exists in the archive so that |
|
|
1050 | users who want/need it can add it easily. |
|
|
1051 | |
|
|
1052 | 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted), |
|
|
1053 | removed notail from the ext2 boot partition, other cleanups. |
|
|
1054 | |
|
|
1055 | 25 Nov 2001; Fixed init.d/clock script to work in UTC mode. |
|
|
1056 | |
|
|
1057 | 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1058 | |
|
|
1059 | Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving |
|
|
1060 | /dev permissions. Also moved /dev-state to /lib/dev-state which is a more |
|
|
1061 | standard location. |
|
|
1062 | |
|
|
1063 | Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on |
|
|
1064 | itself, calling depscan.sh or changing runlevels cause a tempory effect |
|
|
1065 | similar to a 'mini fork bomb'. Afterwards the depends was broken, and |
|
|
1066 | changing runlevels did not want to work. |
|
|
1067 | |
|
|
1068 | Updated /etc/init.d/halt.sh to terminate and display message for devfsd. |
|
|
1069 | More cosmetic than anything else, but cant hurt with the new dev-state |
|
|
1070 | scheme. |
|
|
1071 | |
|
|
1072 | Updated /sbin/init to set the console log level to 1, so that bootup |
|
|
1073 | can be much cleaner. Also updated /etc/init.d/modules not to have |
|
|
1074 | a logger in it 'use' depends, as it should not be needed anymore. |
|
|
1075 | |
|
|
1076 | Updated /sbin/rc to check if devfsd is still running between runlevel |
|
|
1077 | changes. |
|
|
1078 | |
|
|
1079 | Updated /etc/init.d/modules to run update-modules. We want to be sure |
|
|
1080 | /etc/modules.conf is updated when running depmod -a. |
|
|
1081 | |
|
|
1082 | Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also |
|
|
1083 | added a entry for xfs (X Font Server) in /etc/passwd and /etc/group. |
|
|
1084 | |
|
|
1085 | Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and |
|
|
1086 | /usr/lib/ppp/chat-default as part of my new pppd scripts. Also |
|
|
1087 | updated tarball.sh to handle ppp/chat-default. |
|
|
1088 | |
|
|
1089 | Added /etc/skel/.bash* to make things cleaner. |
|
|
1090 | |
|
|
1091 | Other minor changes. |
|
|
1092 | |
|
|
1093 | 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file |
|
|
1094 | to rc-scripts. Can remove it from sys-libs/shadow at the next release. |
|
|
1095 | |
|
|
1096 | * rc-scripts 1.1.8 (15 Nov 2001) |
|
|
1097 | |
|
|
1098 | 16 Nov 2001; removed bogus "mountall.test" script. |
|
|
1099 | |
|
|
1100 | 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1101 | |
|
|
1102 | Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being |
|
|
1103 | 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also |
|
|
1104 | removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated |
|
|
1105 | names of new functions in init.d/runscript.sh to better sounding ones. |
|
|
1106 | Updated init.d/modules, init.d/netmount to use 'use'. Lots of other |
|
|
1107 | fixes/cleanups. |
|
|
1108 | |
|
|
1109 | Removed try() out of init.d/runscript.sh (why was this here ?). |
|
|
1110 | |
|
|
1111 | 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1112 | |
|
|
1113 | Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it |
|
|
1114 | doesn't exist. |
|
|
1115 | |
|
|
1116 | init.d/hostname: Added check for a valid /etc/hostname. |
|
|
1117 | |
|
|
1118 | init.d/keymaps: Added check for valid $KEYMAP. |
|
|
1119 | |
|
|
1120 | init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This |
|
|
1121 | should solve Woodchip's syslog+glue issue. We just have to change the |
|
|
1122 | console loglevel for metalog and syslog-ng (sysklogd already updated) not to |
|
|
1123 | output info and warnings, etc to the console, then boot will be much cleaner. |
|
|
1124 | Also the install guide will need changing to add the loggers to 'boot' and |
|
|
1125 | not 'default' runlevel. |
|
|
1126 | |
|
|
1127 | init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is |
|
|
1128 | this really needed (I cannot see that it is used anywhere ...)? |
|
|
1129 | |
|
|
1130 | 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1131 | |
|
|
1132 | Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend |
|
|
1133 | called 'uses'. It basically have the same usage as 'need', except that it |
|
|
1134 | do not start services that is not in the current and 'boot' runlevels. |
|
|
1135 | |
|
|
1136 | Updated init.d/netmount to use the 'uses' depend. |
|
|
1137 | |
|
|
1138 | 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1139 | |
|
|
1140 | Fixed init.d/runscript.sh not to destroy the 'need' depends in |
|
|
1141 | /${svcdir}/need. This caused subsequent starting and stopping of services |
|
|
1142 | not to start depends. |
|
|
1143 | |
|
|
1144 | 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1145 | |
|
|
1146 | Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got |
|
|
1147 | destroyed before stopping running services scheduled to be stopped. This |
|
|
1148 | with the fact that $SOFTLEVEL was set too early, caused the services to be |
|
|
1149 | stopped in the wrong order. |
|
|
1150 | |
|
|
1151 | 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1152 | |
|
|
1153 | Modified init.d/netmount to check if any network filesystems is mounted. |
|
|
1154 | |
|
|
1155 | 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added |
|
|
1156 | some awk and grep magic to find all remote filesystems and umount them. |
|
|
1157 | |
|
|
1158 | 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org): |
|
|
1159 | |
|
|
1160 | A fix for checkroot (missing "/"); it now actually checks the root |
|
|
1161 | filesystem. Also, a localmount cleanliness fix. |
|
|
1162 | |
|
|
1163 | * rc-scripts 1.1.7 (18 Oct 2001) |
|
|
1164 | |
|
|
1165 | [old changelog format follows] |
|
|
1166 | |
|
|
1167 | *lots of scripts; woodchip |
|
|
1168 | removed old rc5 scripts from cvs |
|
|
1169 | |
|
|
1170 | *init.d/runscript.sh; agriffis |
|
|
1171 | Added support for rc.conf and home-grown functions |
|
|
1172 | |
|
|
1173 | *init.d/modules; |
|
|
1174 | Now correctly looks at /etc/modules.autoload |
|
|
1175 | |
1 | rc-scripts-1.1.6, released 15 Sep 2001 |
1176 | rc-scripts-1.1.6, released 15 Sep 2001 |
2 | ====================================== |
1177 | ====================================== |
3 | |
1178 | |
4 | *init.d/runscript.sh, others |
1179 | *init.d/runscript.sh, others |
5 | Handling of "net" dependencies resolve to all net devices in |
1180 | Handling of "net" dependencies resolve to all net devices in |
… | |
… | |
26 | Brand new message functions (ewarn). |
1201 | Brand new message functions (ewarn). |
27 | |
1202 | |
28 | *sbin/init, init.d/checkroot |
1203 | *sbin/init, init.d/checkroot |
29 | We're going back to a /proc/mounts-based mtab symlink because it's |
1204 | We're going back to a /proc/mounts-based mtab symlink because it's |
30 | just plain better. Appropriate changes made. |
1205 | just plain better. Appropriate changes made. |
|
|
1206 | |
|
|
1207 | # vim:expandtab |