/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 348 - (hide annotations) (download)
Wed Apr 9 19:06:34 2003 UTC (16 years ago) by azarah
File size: 54574 byte(s)
add check to genenviron.awk

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

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20