/[baselayout]/branches/baselayout-1_12/ChangeLog
Gentoo

Contents of /branches/baselayout-1_12/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1537 - (show annotations) (download)
Wed Sep 14 11:30:45 2005 UTC (9 years ago) by uberlord
File size: 165605 byte(s)
    netplug module renamed to netplugd for consistency

    pppd module added, #53954 thanks to Alin Nastac

1 # ChangeLog for Gentoo System Intialization ("rc") scripts
2 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
3
4 14 Sep 2005; Roy Marples <uberlord@gentoo.org>:
5
6 netplug module renamed to netplugd for consistency
7
8 pppd module added, #53954 thanks to Alin Nastac
9
10 13 Sep 2005; Roy Marples <uberlord@gentoo.org>:
11
12 Changed net.lo depend from isdn4linux to isdn, #102846
13
14 12 Sep 2005; Roy Marples <uberlord@gentoo.org>:
15
16 Set essid before mode for ad-hoc/master configurations, #105452
17
18 Fixed force_any associate order option, #99256
19
20 08 Sep 2005; Roy Marples <uberlord@gentoo.org>:
21
22 Added ifplugd module, but we prefer netplug by default
23
24 07 Sep 2005; Roy Marples <uberlord@gentoo.org>:
25
26 replace the apipa module with a generic arping module which can now
27 do gateway detection and apply a configuration for it as well as the
28 apipa stuff
29
30 updated env_whitelist so that nothing is allowed by default
31
32 system module now runs through pre instead of post and is run by
33 lo as well, so dns_ options can be configured for it
34
35 netplug and wpa_supplicant understand negative timeouts to be defined
36 as "return immediately and don't wait for success"
37
38 dns options and sortlist now get merged in resolv.conf too
39
40 bridge error message regarding the kernel module should work with
41 newer versions of bridge-utils
42
43 06 Sep 2005; Roy Marples <uberlord@gentoo.org>:
44
45 dns_*, nis_* and ntp_* options now work globally too, but are overridden
46 by specific interface/essid/mac ones.
47
48 dhcpcd and pump now support the "options" and "sortlist" directives too,
49 #104870
50
51 05 Sep 2005; Roy Marples <uberlord@gentoo.org>:
52
53 Added resolv.conf options for "options" and "sortlist" directives, #104870
54
55 dns_search_path_eth0 renamed to dns_search_eth0 so that all the dns_
56 variables match their resolv.conf counterpart.
57
58 04 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
59
60 Do not unmount /usr, but rather remount it ro, else we run into issues
61 with systems that have locales enabled, as the fuser call in halt.sh tries
62 to kill bash (due to it using /usr/lib/locale/*).
63
64 03 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
65
66 Add warning about having LANG in env_whitelist, add TERM to system
67 env_whitelist, set argv[0] to '/bin/bash' and not 'runscript'.
68
69 02 Sep 2005; Roy Marples <uberlord@gentoo.org>:
70
71 Fixed netplug from stopping on the wrong interface
72
73 * baselayout-1.12.0_pre8 (02 Sep 2005)
74
75 02 Sep 2005; Martin Schlemmer <azarah@gentoo.org>:
76
77 Split the enviroment whitelist for runscript into a system and user part.
78 Update it to use LIBDIR so that we can set 'lib' or 'lib64'.
79
80 02 Sep 2005; Roy Marples <uberlord@gentoo.org>:
81
82 netplug module added + documentation for it.
83
84 We also set MTU in the pre_start of ifconfig/iproute2 incase a DHCP
85 client or similar needs it.
86
87 01 Sep 2005; Roy Marples <uberlord@gentoo.org>:
88
89 Altered iproute2 to use the same lo logic as ifconfig below
90
91 Fixed ifconfig bringing lo up and then working out aliases, bug #104415
92
93 31 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
94
95 Add the initial stuff for filtering of env variables for the rc-system.
96
97 Use /sbin/functions.sh instead of /etc/init.d/functions.sh.
98
99 Fix for the 'local starts and stops unneeded' issue when calling /sbin/rc
100 in some cases.
101
102 * baselayout-1.12.0_pre7 (31 Aug 2005)
103
104 31 Aug 2005; Roy Marples <uberlord@gentoo.org>:
105
106 service status requests (either by /etc/init.d/foo status or rc-status)
107 now update the service status by checking daemons and/or pidfiles to check
108 if they are still running or not. To update the status in your own code,
109 source "${svclib}/sh/rc-daemon.sh" and call
110 update_service_status "${service}"
111
112 Trimmed $Header$ from a few files
113
114 30 Aug 2005; Roy Marples <uberlord@gentoo.org>:
115
116 iwconfig fixed for scanned ad-hoc networks
117 we now prefer managed over ad-hoc when processing scan results
118
119 iwconfig associate_test_quality now works. Fixes #103579 thanks to
120 Harald Schioeberg
121
122 iproute2 now understands ifconfig style netmask routes
123
124 fixed IPv6 address problems in ifconfig and iproute2 modules
125
126 24 Aug 2005; Roy Marples <uberlord@gentoo.org>:
127
128 rc-daemon now handles --signal correct - fixes #103182
129
130 19 Aug 2005; Roy Marples <uberlord@gentoo.org>:
131
132 dhcpcd now reports the correct needed version
133
134 iwconfig and wpa_supplicant have better tests for wireless interface
135 which fixes the "lan wlan" problem
136
137 * baselayout-1.12.0_pre6 (18 Aug 2005)
138
139 18 Aug 2005; Roy Marples <uberlord@gentoo.org>:
140
141 RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP
142
143 consoletype is now cached. This has the benefit of being very slightly
144 faster and you now get coloured text for parallel startup
145
146 Parallel startup also does parallel shutdown as well
147
148 You're now warned if you're using a deprecated conf.d/net syntax
149
150 15 Aug 2005; Roy Marples <uberlord@gentoo.org>:
151
152 iproute2 now understands the old iface_xxx syntax, but this only works
153 if ifconfig (from net-tools) is installed
154
155 14 Aug 2005; Roy Marples <uberlord@gentoo.org>:
156
157 fallback_route_eth0 now works again
158
159 Implemented interactive startup - fixes #5353
160 Thanks to Paul Pacheco for the patch
161
162 13 Aug 2005; Roy Marples <uberlord@gentoo.org>:
163
164 Parallel startup races should now be fixed
165
166 iwconfig now scans for mode so you can prefer ad-hoc networks
167
168 12 Aug 2005; Roy Marples <uberlord@gentoo.org>:
169
170 RC_AUTO_INTERFACE now defaults to no - we no longer mess with /etc unless
171 told too
172
173 tuntap no longer complains about ${devnull}
174
175 We now merge resolv.conf and ntp.conf from active interfaces
176
177 11 Aug 2005; Roy Marples <uberlord@gentoo.org>:
178
179 Add support for --pid ${pidfile} and --pidfile=${pidfile} in rc-daemon.sh
180
181 Remove tail from depdir() in /sbin/modules-update
182
183 * baselayout-1.12.0_pre5 (11 Aug 2005)
184
185 08 Aug 2005; Roy Marples <uberlord@gentoo.org>:
186
187 Add failup/faildown user functions when an interface fails to come up/go
188 down. Fixes bug #101087.
189
190 06 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
191
192 Revert 'mtime' changes to depscan.sh, and just make it warn if it detects
193 that there are files with mtime in the future.
194
195 06 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
196
197 Enhance gendepends.awk to check more than one level of dependencies. Also
198 break checking of NEED/USE/BEFORE/AFTER into more stages, so that we can
199 but sure that all NEED's will override the rest, that USE will override
200 BEFORE/AFTER, and also check both the resolved and unresolved trees.
201
202 Also test if RUNLEVEL is '1' besides 'S', fixing 'init 1'.
203
204 Hack init.d/clock to wait for /dev/rtc if compiled as a module ... hopefully
205 udev will get sorted soon.
206
207 Try a workaround for the "mtime in future" issues we have with depscan.sh.
208
209 * baselayout-1.12.0_pre4 (05 Aug 2005)
210
211 05 Aug 2005; Roy Marples <uberlord@gentoo.org>:
212
213 Rationalise if/then/else login in runscript.sh svc_start() and svc_stop()
214
215 Fixed a few quoting issues in iwconfig
216 Use return values instead of capturing stderr output for iwconfig commands
217
218 Added # vim:ts=4 to all net-script files and re-indented
219
220 ${svcdir}/dep{cache,tree} are now chmodded 0644 so users can read them
221
222 04 Aug 2005; Martin Schlemmer <azarah@gentoo.org>:
223
224 Update /sbin/rc to actually use init's single level, and also to launch
225 sulogin, bug #66834.
226
227 Fix a typo and some logic issues in new trace_dependencies().
228
229 Whitespace cleanups in new trace_dependencies().
230
231 Fix my own logic issue in new trace_dependencies().
232
233 04 Aug 2005; Roy Marples <uberlord@gentoo.org>:
234
235 interface state directories are now created with -m 0755 to ensure that
236 everyone can read them
237
238 rc-daemon.sh now supports multiple cmds - partial fix for #98745
239
240 trace_dependencies gets a re-write (again) to try and solve the hanging
241 issues that many people are reporting
242
243 More anal about RHS quoting
244
245 02 Aug 2005; Roy Marples <uberlord@gentoo.org>:
246
247 0 timeout now means infinite for wpa_supplicant and iwconfig wrt #90443
248
249 iwconfig no longer downs and ups the interface after a scan - instead we
250 set essid any just before doing it
251
252 01 Aug 2005; Roy Marples <uberlord@gentoo.org>:
253
254 dhclient now has to be told it can edit dhclient.conf instead of assuming
255 it. Final fix to #100745.
256
257 Tweaked module depends to fix order when no dhcp client is found.
258
259 rc-daemon now works with mysql - fixes #100982, thanks to bju from the
260 forums.
261
262 We now only link /etc/{resolv,ntp,yp}.conf when the file exists.
263 We now link back everything in the state dir except for .sv files.
264
265 30 Jul 2005; Roy Marples <uberlord@gentoo.org>:
266
267 Fixed associate_order "forcepreferred" #100799, thanks to Benoit Boissinot.
268
269 29 Jul 2005; Roy Marples <uberlord@gentoo.org>:
270
271 Fixed dhclient sending hostname #100745, thanks to Benoit Boissinot.
272
273 * baselayout-1.12.0_pre3 (29 Jul 2005)
274
275 26 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
276
277 Remove the "parallel" depend stuff from the awk backend.
278
279 Remove the "parallel" depend stuff from the help.
280
281 26 Jul 2005; Roy Marples <uberlord@gentoo.org>:
282
283 Removed the "parallel" depend for init scripts and related functions.
284 The RC_PARALLEL_STARTUP works well for all - no need for init scripts to
285 state if they parallel or not.
286
287 Removed loops from trace_dependencies for a nice speed boost.
288
289 Fixed failure in runscript.sh to proceed when a non needed dependency
290 (ie use, after, before) failed to start.
291
292 25 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
293
294 If we do not have net services, check both boot and current runlevel for
295 net services in trace_dependencies(). Sort services and make sure they
296 are unique.
297
298 Fix the adding of dependencies to properly add netservices as 'net'.
299
300 25 Jul 2005; Roy Marples <uberlord@gentoo.org>:
301
302 trace_dependencies no longer clobbers the net service.
303
304 RC_AUTO_INTERFACE no longer symlinks /etc/{resolv,ntp,yp}.conf when no.
305
306 25 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
307
308 Do not restart dependencies on runlevel change if the service that needs
309 them are in the next runlevel.
310
311 * baselayout-1.12.0_pre2 (22 Jul 2005)
312
313 22 Jul 2005; Roy Marples <uberlord@gentoo.org>:
314
315 When a service is stopped, the IN_BACKGROUND variable is cleared
316 before any dependencies are stopped so they are not marked inactive.
317 The IN_BACKGROUND variable is then restored so the parent script can be
318 marked inactive.
319
320 21 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
321
322 Change the -l option to tar to --one-file-system #99775.
323
324 Add a --debug option to depscan.sh.
325
326 21 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
327
328 Fix hangs in bootup, bug #99663.
329
330 21 Jul 2005; Roy Marples <uberlord@gentoo.org>:
331
332 dhclient now sets the hostname correctly.
333
334 Fixed some start/stop/restart logic for #99663.
335
336 Stopped rc-status from checking failed and broken which no longer apply.
337
338 20 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
339
340 Make sure the X11 dirs are always created in /tmp #99679 by Marc Ballarin.
341
342 20 Jul 2005; Roy Marples <uberlord@gentoo.org>:
343
344 Fixed <wpa_supplicant-0.4 support
345
346 Removed trailing tab from local.start - fixes #99624
347
348 Moved RC_AUTO_INTERFACE definition to /etc/conf.d/rc
349
350 19 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
351
352 Punt the cyrus/mysql/slocate/vpopmail users/groups to the
353 respective ebuilds.
354
355 Removed trailing tab from local.start - fixes #99624
356
357 19 Jul 2005; Roy Marples <uberlord@gentoo.org>:
358
359 ${ESSID} and ${ESSIDVAR} are now available in predown() - fixes #99106
360
361 18 Jul 2005; Roy Marples <uberlord@gentoo.org>:
362
363 Changed wpa-supplicant to wpa_supplicant when reporting that it is not
364 installed. Fixes #99381
365
366 Fixed some startup problems caused by a mixture of inactive +
367 begin_service/end_service functions.
368
369 16 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
370
371 Add Darwin support for start-stop-daemon, bug #82421.
372
373 15 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
374
375 Do not run depmod in modules-update if System.map is missing, bug #59188.
376
377 * baselayout-1.12.0_pre1 (14 Jul 2005)
378
379 13 Jul 2005; Roy Marples <uberlord@gentoo.org>:
380
381 pump-0.8.21-r4 now creates ntp.conf by itself so the ntp.conf creation
382 code has been removed from the pump module and helper.
383
384 Moved wpa_supplicant and iwconfig et all from /usr/sbin to /sbin
385
386 12 Jul 2005; Roy Marples <uberlord@gentoo.org>:
387
388 Added dhcp_eth0="nogateway" option, generic to all dhcp clients.
389 Fixes #98466
390
391 11 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
392
393 Add fix -r to unmount to be -n .. bug #98667, thanks to Patrick McLean.
394
395 11 Jul 2005; Roy Marples <uberlord@gentoo.org>:
396
397 udhcpc/dhclient helpers no longer flush IPv6 addresses - fixes #98539
398
399 wpa_supplicant now marks service as stopped when using wpa_supplicant-0.4.x
400 and we have associated but failed to configure in the background.
401
402 09 Jul 2005; Mike Frysinger <vapier@gentoo.org>:
403
404 Only remount the / filesystem readonly if it isn't already and don't
405 screw around with net filesystems #98405 in init.d/checkroot.
406
407 Add support for completely wiping out /tmp and in general clean up
408 the bootmisc file #56592.
409
410 Add back in support for mounting usbfs under usbgid #35860.
411
412 09 Jul 2005; Martin Schlemmer <azarah@gentoo.org>:
413
414 Add workaround for evms device names and 'RC_DEVICE_TARBALL="yes"'. Patch
415 by Olaf Niermann, bug #95799.
416
417 07 Jul 2005; Roy Marples <uberlord@gentoo.org>:
418
419 Added "nosendhost" dhcp option so users can request not to send their
420 machines hostname by default. Fixes #98132 - Patch by Eli.
421
422 04 Jul 2005; Roy Marples <uberlord@gentoo.org>:
423
424 Added a rename module to rename interfaces based on MAC address
425 (preferred) or current name. Fixes #76328
426
427 03 Jul 2005; Roy Marples <uberlord@gentoo.org>:
428
429 Fixed module depends in net.lo
430
431 Remove the "no net scripts in boot runlevel" restriction as we now
432 have a hotplug policy setup instead
433
434 02 Jul 2005; Roy Marples <uberlord@gentoo.org>:
435
436 net.lo no longer needs find or diff
437
438 01 Jul 2005; Roy Marples <uberlord@gentoo.org>:
439
440 Minor tweaks to all dhcp modules - basically better quoting so that
441 the eval ${dhcpclient} calls work better
442
443 pump can now be backgrounded
444
445 Tweaked the dhcp helpers so that more code is shared
446
447 A few tweaks to runscript.sh and rc-services.sh to avoid races
448
449 bootmisc now cleans /var/lib/net-scripts/state/*
450
451 30 Jun 2005; Roy Marples <uberlord@gentoo.org>:
452
453 pump can now use route metrics and store it's configs in
454 /var/lib/net-scripts/state/${iface}
455
456 29 Jun 2005; Roy Marples <uberlord@gentoo.org>:
457
458 dhclient now parses dhclient_eth0 for -cf parameter to set ${cffile}
459 dhclient now strips lines starting with script and send host-name
460 from ${cffile} and adds send host-name "${HOSTNAME}"; at the top
461 To stop this behaviour, add dhclient_edit_config="no" to /etc/conf.d/net
462 Fixes #96322
463
464 Removed killing udhcpc hard as it now dies nicely
465
466 wireless.runlevel now works
467
468 28 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
469
470 Add davfs to the net list #97283 by Erik Grinaker.
471
472 28 Jun 2005; Roy Marples <uberlord@gentoo.org>:
473
474 wpa_supplicant now respects the background=no option if
475 wpa_suppliant>=0.4.0 is installed
476
477 fixed network dependencies some more
478
479 You can now restart a script marked starting/inactive
480
481 Documented the use of the RC_USE_CONFIG_PROFILE variable in conf.d/rc
482
483 udhcpc now removes stale pidfiles and parses for -(h|H) instead of
484 just --hostname
485
486 24 Jun 2005; Roy Marples <uberlord@gentoo.org>:
487
488 udhcpc now doesn't send hostname if it's set at the default of localhost
489
490 net.lo will not take down the interface if it does not exist and starting
491 failed to work
492
493 21 Jun 2005; Roy Marples <uberlord@gentoo.org>:
494
495 interfaces can now dynamically add themselves to a bridge using
496 bridge_add_eth0="br0" - they are dynamically removed as well. Fixes #93321
497
498 20 Jun 2005; Roy Marples <uberlord@gentoo.org>:
499
500 ifconfig now reports correct MAC address
501
502 ifconfig and iproute2 now support mtu_eth0 option
503
504 net.lo attemts to arping the requested address when RC_AUTO_INTERFACE==yes
505
506 iwconfig and wpa_supplicant now check rk_kill if available and produce a
507 suitable error if rf is killed #56430
508
509 added hotplug policy check for interface name #78495
510
511 19 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
512
513 Make sure /proc/cmdline is readable before using it in get_bootconfig()
514 in /sbin/functions.sh.
515
516 17 Jun 2005; Roy Marples <uberlord@gentoo.org>:
517
518 Fixed VLAN documentation for working with eth0.1 style names #95121
519
520 tarball.sh now works with svn
521
522 dhclient and udhcpc now report any errors to stdout
523
524 RC_DEVICE_TARBALL now defaults to "no"
525
526 STYLE updates to all modules
527
528 16 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
529
530 Add lmtp as an alias to the 2003 tcp port #96190.
531
532 Add support for Xen to clock init.d #96240 by Christopher G. Stach II.
533
534 When we mount readonly, make sure we don't attempt the same mountpoint
535 twice #96259 by Toralf Förster.
536
537 14 Jun 2005; Roy Marples <uberlord@gentoo.org>:
538
539 dhclient now calls /etc/dhcp/dhclient-exit-hooks when it exits
540 fixes #96000
541
542 13 Jun 2005; Roy Marples <uberlord@gentoo.org>:
543
544 /etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts
545
546 13 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
547
548 Remove etc/ppp since the ppp package provides this stuff.
549
550 05 Jun 2005; Mike Frysinger <vapier@gentoo.org>:
551
552 Run sysctl in quiet mode so we don't force errors to /dev/null.
553
554 02 Jun 2005; Roy Marples <uberlord@gentoo.org>:
555
556 dhcp helper module fixes
557
558 dhcpcd-backgrounder renamed to dhcpcd-wrapper
559
560 dhcpcd-wrapper applies dns_search_domains_* to /etc/resolv.conf
561 fixes #94027 when used with dhcpcd-1.3.22_p4-r10
562
563 dhcpcd module now applies route metric if possible
564
565 01 Jun 2005; Roy Marples <uberlord@gentoo.org>:
566
567 removed cruft from net-scripts functions helper as rc-services.sh can
568 now be sourced by our dhcp helpers without causing errors.
569
570 system module now creates it's temporary files in /tmp instead of /etc
571
572 31 May 2005; Mike Frysinger <vapier@gentoo.org>:
573
574 Add support for bootlogging (via blogd in showconsole package).
575
576 Rewrite the modules.autoload code in init.d/modules to work off the
577 current arbitrary kernel version #35872.
578
579 29 May 2005; Mike Frysinger <vapier@gentoo.org>:
580
581 Make sure we quote EDITOR in /etc/profile #94412 by Stanislav Brabec.
582
583 27 May 2005; Roy Marples <uberlord@gentoo.org>:
584
585 Added macnet module (like essidnet but for mac addresses)
586 Regresses macchanger one version
587 Tweaked module depends for macnet
588 dhcp helper now uses macnet
589
590 is_net_fs now works with what $1 was mounted as, not would it would
591 be remounted as - fixes #53104
592
593 26 May 2005; Roy Marples <uberlord@gentoo.org>:
594
595 report ${myservice} instead of $0 when disallowing net scripts to work in
596 the boot runlevel - fixes #91534
597
598 You can now configure all options via the MAC address of your network card
599 and the MAC address of AP you connect to like so
600 config_001122334455=( "192.168.0.2/24 brd +")
601 Fixes the last part of #52975
602
603 The old way of configuring for the MAC address of the AP is no longer
604 supported
605
606 25 May 2005; Mike Frysinger <vapier@gentoo.org>:
607
608 Add gfs to the NET_FS_LIST #93911 by Thomas Rasch.
609
610 25 May 2005; Roy Marples <uberlord@gentoo.org>:
611
612 networking now expands configuration parameters - fixes #91564
613 so config_eth0=( "192.168.{1..3}.{1..3}/24 brd +" ) expands into
614 config_eth0=(
615 "192.168.1.1/24 brd +"
616 "192.168.1.2/24 brd +"
617 "192.168.1.3/24 brd +"
618 "192.168.2.1/24 brd +"
619 "192.168.2.2/24 brd +"
620 "192.168.2.3/24 brd +"
621 "192.168.3.1/24 brd +"
622 "192.168.3.2/24 brd +"
623 "192.168.3.3/24 brd +"
624 )
625
626 updated ESSID variables example in wireless.example - fixes #92469
627
628 21 May 2005; Martin Schlemmer <azarah@gentoo.org>:
629
630 Quiet down valid_i() if ${svcdir}/softlevel do not yet exist, try #2.
631
632 20 May 2005; Roy Marples <uberlord@gentoo.org>:
633
634 fix ifconfig to understand CIDR addresses - bug #93237
635 iproute2 now works out broadcast addresses
636
637 added #!/bin/bash or #!/bin/sh to modules and helpers so they now get
638 nice syntax highlighting and indenting
639
640 20 May 2005; Martin Schlemmer <azarah@gentoo.org>:
641
642 Fixup sbin/{depscan.sh,modules-update} to use is_older_than() for mtime
643 logic. Some small tweaks regarding 2.6 systems and modules-update.
644
645 19 May 2005; Roy Marples <uberlord@gentoo.org>:
646
647 Merged Paul Pacheco's parallel startup #69854 and modules update
648 #55329 patches
649
650 If RC_PARALLEL_STARTUP==yes then we no longer output einfo/ebegin
651 messages as they don't line up on screen correctly - instead we output
652 service ${myservice} starting/started/stopping/stopped/failed
653
654 17 May 2005; Mike Frysinger <vapier@gentoo.org>:
655
656 Make sure /dev is mounted with exec since many video drivers need to
657 mmap() device nodes in there with exec access #92921 by Lachlan Pease.
658
659 16 May 2005; Mike Frysinger <vapier@gentoo.org>:
660
661 If halt/reboot failed, try to force it as a fallback.
662
663 Add RC_FORCE_AUTO setting so people can try to minimize amount of
664 user interaction required for booting.
665
666 Move nsswitch.conf to glibc.
667
668 15 May 2005; Roy Marples <uberlord@gentoo.org>:
669
670 udhcpc and dhclient now select the best interface when one goes down
671
672 14 May 2005; Mike Frysinger <vapier@gentoo.org>:
673
674 Make sure /dev is mounted with sane permissions #87745 by Jordan.
675
676 When we search /etc/fstab for /, make sure we handle mounts that have
677 UUID/LABEL info in them #90603 by Alessandro Sappia.
678
679 Simplify rc-script error checking so we don't need a tempfile and so
680 non-root users can run /etc/init.d/status #85892 by Stuart Shelton.
681
682 Add a sanity check for devs who write bad scripts and call exit #85298.
683
684 Run irqbalance after /var is rw #85304 by Miroslaw Mieszczak.
685
686 Redo the addon code to prepare for profiling support #74425.
687
688 12 May 2005; Mike Frysinger <vapier@gentoo.org>:
689
690 Move pam files out of baselayout and into packages #92387.
691
692 10 May 2005; Martin Schlemmer <azarah@gentoo.org>:
693
694 Really fix trace_dependencies() to handle net.* services properly.
695
696 Quiet down valid_i() if ${svcdir}/softlevel do not yet exist.
697
698 10 May 2005; Martin Schlemmer <azarah@gentoo.org>:
699
700 Fix get_service_index() being off by one. Fix trace_dependencies() to also
701 take "net" into regard if its a net_service. This fixes two problems, first
702 shutdown should bring services down that uses net before the net.* services,
703 and secondly '/etc/init.d/net.eth0 needsme', etc should now work properly.
704 All changes to sbin/rc-services.sh.
705
706 03 May 2005; Roy Marples <uberlord@gentoo.org>:
707
708 changed default indentation to 2 spaces to match rcscripts in functions.sh
709
710 wpa_supplicant now stops wpa_cli before wpa_supplicant to fix a potential
711 future error
712
713 02 May 2005; Roy Marples <uberlord@gentoo.org>:
714
715 Fix user function hooks for echoing to stdout and protecting our vars
716
717 30 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
718
719 Do not create the udev devices.tar.bz2 if we do not have write permissions
720 for /. Request by Donnie (spyderous) for boxes with / on NFS.
721
722 30 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
723
724 Fixor column/color logic for when used in portage.
725
726 29 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
727
728 Move crypto-loop to util-linux and skel bash files to bash.
729
730 28 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
731
732 Export the 'service name' for init scripts #86348.
733
734 28 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
735
736 If no /etc/modules.conf exist, do not 'touch' it, but create a new
737 file with the 'modules-update header' in it to get modules-update
738 to do the right thing (regen), and not just quit (init.d/modules).
739
740 27 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
741
742 Ignore trailing comments in module files #88553.
743
744 26 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
745
746 Sync special var's with portage's env-update.sh and ours #88819.
747
748 26 Apr 2005; Roy Marples <uberlord@gentoo.org>:
749
750 wpa_supplicant now supports wpa_supplicant-0.4.0
751
752 iwconfig downs and ups the interface after a scan
753
754 25 Apr 2005; Roy Marples <uberlord@gentoo.org>:
755
756 iproute2 now handles mtu the same way as ifconfig - fixes #90242
757
758 net.lo no longer errors when using postdown and postup functions
759
760 22 Apr 2005; Roy Marples <uberlord@gentoo.org>:
761
762 Address network routes now get metrics applied as well
763 (ie a route automatically added when an address is added)
764
765 net.lo no longer errors when exlcuding modules who are installed
766
767 * rc-scripts 1.7.1 (19 Apr 2005)
768
769 18 Apr 2005; Roy Marples <uberlord@gentoo.org>:
770
771 Changed "sed -ne" to "sed -n -e" for portability.
772
773 Added auto_interface (default yes).
774 if auto_interface is yes then we
775 *) default to dhcp
776 *) automatically calculate a metric (this may need work)
777 *) select the best interface based on metric
778 (restore resolv.conf, ntp.conf and yp.conf we have saved)
779 otherwise we
780 *) default to null
781
782 wpa_supplicant no longer kills itself when we're not stopping the interface
783 it's running on.
784
785 wpa_supplicant now uses wpa_monitor (yet to be released) if available.
786
787 Added a new module called system which enables the definition of domain
788 name, dns servers, ntp servers, nis domain and nis servers per interface.
789 essidnet and dhcp helpers have been re-coded around this module.
790
791 15 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org> -bin/bashlogin,
792 -sbin/livecd-functions.sh:
793 Removed sbin/livecd-functions.sh and bin/bashlogin as they are only used in
794 release building, and they have been moved to livecd-tools.
795
796 14 Apr 2005; Martin Schlemmer <azarah@gentoo.org>:
797
798 Do not kill udevd in /sbin/rc, as it is apparently evil.
799
800 14 Apr 2005; Roy Marples <uberlord@gentoo.org>:
801
802 Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006
803
804 If /proc/net/netlink does not exist then iproute2 will fail the
805 check_installed function with an appropriate error - Thanks to
806 Jeremy Huddleston for the patch.
807
808 If /proc/net/packet does not exist then wpa_supplicant will fail
809 check_installed function with an appropriate error
810
811 Background fixes for net.lo, udhcpc and wpa_supplicant
812
813 11 Apr 2005; Roy Marples <uberlord@gentoo.org>:
814
815 removed ${devnull} from net.lo and net-script modules
816 updated all modules not to re-direct stderr where appropriate
817
818 iwconfig and wpa_supplicant now save their current ESSID via save_options
819 and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
820 used in users custom postdown functions
821
822 wpa_supplicant now calls iwconfig_defaults and iwconfig_user_config
823 if available - fixes #88703
824
825 09 Apr 2005; Mike Frysinger <vapier@gentoo.org>:
826
827 Have the 'status' function return 0/1 based upon the status of the
828 init script #88319 by Josh Nichols.
829
830 08 Apr 2005; Roy Marples <uberlord@gentoo.org>:
831
832 added a bash_variable to functions.sh which converts the given string
833 into a variable that bash can use - fixes #88175
834
835 net scripts can only launch if we're not in ${BOOTLEVEL} - fixes #78495
836
837 01 Apr 2005; Roy Marples <uberlord@gentoo.org>:
838
839 RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
840 launcher - like valgrind or strace. Handy for debugging/auditing.
841 Thanks to Rob Holland for the idea.
842
843 Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
844 as there is no guarantee that the current ESSID is the one we started with
845 Also, we may not have an ESSID at all...
846
847 23 Mar 2005; Roy Marples <uberlord@gentoo.ord>:
848
849 bridge stops removing IP addresses from bridge ports.
850 iwconfig no longer tries to get an ESSID from non-wireless interfaces.
851 ifconfig no longer errors when deleting addresses on a non-existant
852 interface.
853
854 23 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
855
856 Get modules-update to clean up after itself if we on a 2.6 kernel without
857 modules.conf.
858
859 22 Mar 2005; Roy Marples <uberlord@gentoo.org>:
860
861 revamped rc-services.sh for STYLE updates and code rationalisation.
862
863 21 Mar 2005; Roy Marples <uberlord@gentoo.org>:
864
865 udhcpc now checks for custom hostname correctly
866
867 21 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
868
869 Fix tracing for current service as list_depend_trace() was removed.
870 Fix mylevel not being set if valid_iuse(), etc is called from /sbin/rc.
871
872 20 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
873
874 Take sort_services function from bug #70009, and fix the removing of a
875 service from a array properly by using unset. Use this instead of the
876 trace_* stuff, and fixup shutdown order.
877
878 19 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
879
880 Make sure we mount svcdir with 0755 and not 0644 #85888.
881
882 15 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
883
884 Export myservice when starting critical services, as its needed by
885 some of the addons (dmcrypt for example).
886
887 12 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
888
889 When shutting down, pass -h to halt too #84654 by Dmitry Karasik.
890
891 11 Mar 2005; Roy Marples <uberlord@gentoo.org>:
892
893 Prepend rc-daemon.sh functions with rc_ to avoid name conflicts
894
895 11 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
896
897 Make sure the last test in init.d/modules do not bork the return
898 value of the script if not true.
899
900 10 Mar 2005; Mike Frysinger <vapier@gentoo.org>:
901
902 Add udev/selinux support by Chris PeBenito #84337.
903
904 10 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
905
906 The system() stuff in *depends.awk should be dosystem().
907
908 * rc-scripts 1.7.0 (10 Mar 2005)
909
910 09 Mar 2005; Roy Marples <uberlord@gentoo.org>:
911
912 changed from $( cat ${file} ) to $( < ${file ) in net-scripts
913
914 fixed ChangeLog corruption
915
916 rc-daemon.sh now works with the env program
917
918 08 Mar 2005; Roy Marples <uberlord@gentoo.org>:
919
920 rc-services.sh now does a /sbin/depscan.sh -u if we have not got
921 our deptree loaded
922
923 removed net_start/stop function from net.lo, bridge and bonding
924
925 net.lo now supports depend() per interface like so
926 depend_br0() { need net.eth0 net.eth1 }
927
928 04 Mar 2005; Roy Marples <uberlord@gentoo.org>:
929
930 applied STYLE updates to rc-status
931
932 rc-status now uses find correctly for -maxdepth which fixes #84055
933
934 03 Mar 2005; Roy Marples <uberlord@gentoo.org>:
935
936 iwconfig now defaults the transmit key to 1
937 bridging and bonding modules now start an interface if it's not
938 marked as started
939
940 02 Mar 2005; Roy Marples <uberlord@gentoo.org>:
941
942 net_service() now returns 1 for non net-services
943 fixes bug #83352
944
945 02 Mar 2005; Aron Griffis <agriffis@gentoo.org>:
946
947 Add requote() to functions.sh to help rc-daemon.sh
948
949 01 Mar 2005; Martin Schlemmer <azarah@gentoo.org>:
950
951 Fix braindead logic in init.d/checkfs ([[ -z $CDBOOT ]] &&, not -n).
952
953 01 Mar 2005; Roy Marples <uberlord@gentoo.org>
954
955 rc-daemon.sh now provides a working wrapper for start-stop-daemon
956 fixes bug #7198
957
958 removed ps calls from net scripts
959
960 25 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
961
962 Updated livecd-functions.sh to match what we are using on the LiveCD.
963
964 25 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
965
966 Style updates for init.d/halt.sh.
967
968 Only run pam_console_apply if we are actually using pam_console.
969
970 Fix init.d/checkfs, init.d/localmount and init.d/halt.sh to call
971 start_addon, stop_addon, start_volumes and stop_volumes.
972
973 24 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
974
975 Update /sbin/modules-update to work without modprobe.old (modutils) for
976 2.6 kernels.
977
978 Update /etc/init.d/modules so that it will only touch modules.conf if we
979 have a <= 2.4 kernel, or have /sbin/modprobe.old.
980
981 23 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
982
983 Remove RAID/LVM/EVMS2/dm-crypt from checkfs and localmount, and
984 add needed {start,stop}-volumes() and {start,stop}-addons().
985
986 Add use tempory file for deptree, bug #48303, thanks to patch from
987 Stefan Hoefer <stefan@hoefer.ch>.
988
989 Add {start,stop}-volumes() to /sbin/functions.sh, as well as
990 RC_VOLUME_ORDER to /etc/conf.d/rc.
991
992 21 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
993
994 Move the serial init.d to the setserial package.
995
996 Create a rc-status.8 manpage #81917.
997
998 11 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
999
1000 Add UPS kill fixes for halt.sh by Lee Weisz / Remy Blank #46440.
1001
1002 Define a few more {for,back}ward-word bindings in inputrc to fix up
1003 the different GUI terminals #53770 by Arturo Alberto Busleiman.
1004
1005 10 Feb 2005; Roy Marples <uberlord@gentoo.org>:
1006
1007 net.lo now supports fallback_route - fixes #75676
1008 due to bash limitations, only one fallback route is supported
1009
1010 cleaned up dhcp helper
1011
1012 iproute now appends routes instead of adding them - this allows multiple
1013 default routes
1014
1015 RC_STRICT_NET_CHECKING now supports the none "option" which means
1016 that the net service is always up
1017
1018 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
1019
1020 Punt the PROTOCOL variable from rc.conf since nothing uses it.
1021
1022 Punt the consolefont related variables from rc.conf since they've
1023 been moved to conf.d/consolefont.
1024
1025 Import some VServer support from #55973. For now, just add the
1026 detection function to functions.sh and support in init.d/clock.
1027
1028 07 Feb 2005; Martin Schlemmer <azarah@gentoo.org>:
1029
1030 Fix /sbin/functions.sh not to run stty during 'emerge depend'.
1031
1032 07 Feb 2005; Roy Marples <uberlord@gentoo.org>:
1033
1034 netmask2cidr now works correctly - fixes #81119
1035 Thanks to Benoit Boissinot for the patch
1036
1037 06 Feb 2005; Mike Frysinger <vapier@gentoo.org>:
1038
1039 Remove the apache user and let apache ebuilds handle it #77738.
1040
1041 04 Feb 2005; Roy Marples <uberlord@gentoo.org>:
1042
1043 It's now possible to configure addresses and routes for the loopback
1044 interface if required - however you cannot override our defaults
1045
1046 wpa_supplicant and iwconfig now loop for 5 seconds if essid is
1047 not returned straight away
1048
1049 31 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
1050
1051 Fix the test for device-mapper in checkfs #80206.
1052
1053 Change home of man to /usr/share/man.
1054
1055 * rc-scripts 1.6.9 (30 Jan 2004)
1056
1057 30 Jan 2005; Mike Frysinger <vapier@gentoo.org>:
1058
1059 Use clock, don't need it. Not everyone has a RTC #78997.
1060
1061 Rewrite the KV_* functions to use pure bash rather than awk #75836.
1062
1063 Don't use 'none' when mounting virtual filesystems since `umount` can
1064 produce some pretty vague output #78684. Fixed sbin/rc and etc/fstab
1065 and etc/halt.sh to handle the new format.
1066
1067 modules-update.8 touchups by Benno Schulenberg #77582.
1068
1069 Don't symlink /etc/filesystems since it is an user config file #74176.
1070
1071 Punt the 'guest' user #74737.
1072
1073 Add support for loopback dm-crypt by Dylan Carlson #73598 and for gpg
1074 dm-crypt by Lars Strojny #75659.
1075
1076 Update crypto-loop to newer util-linux #40874 by jochen / Jürgen Hötzel
1077
1078 27 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1079
1080 removed udhcpc-* and dhclient-* helper modules and replaced them with a
1081 generic dhcp module which caters for all interfaces and dhcp clients that
1082 need it.
1083 We now prefer iproute2 over ifconfig if both are installed.
1084
1085 24 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1086
1087 replaced awk commands with sed equivalents in net-scripts to make us
1088 more portable
1089 STYLE fixes to many net-scripts modules
1090 Removed hardcoded Version and replaced with cvs $Header:
1091
1092 17 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1093
1094 net.lo changed logic to read "only fail if no configuration parameters
1095 work, bring interface down and abort". Fixes #78092
1096 all modules should now check interface existance correctly - fixes #76385
1097 wpa_supplicant now works with EAP - fixes #78367
1098
1099 13 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1100
1101 wpa_supplicant forces ctrl_interface to /var/run/wpa_supplicant
1102 and removes stale directories
1103 clean_pidfile function no longer errors on empty pidfiles
1104 net dependancies corrected in runscript.sh - fixes #77839
1105 allow pure IPv6 addresses - fixes #73844
1106
1107 12 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1108
1109 net.lo now ignores dot files when loading modules
1110 ipppd module now stops correctly - fixes #73067 again
1111
1112 11 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1113
1114 added "noop" config parameter which means take no action if the interface
1115 is up and has an address configured, otherwise continue
1116 addresses are now removed when starting an interface - fixes #77111
1117
1118 06 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1119
1120 ifconfig, udhcpc-ifconfig now deletes addresses using 0.0.0.0 for uclibc
1121 - fixes #76846
1122
1123 04 Jan 2005; Roy Marples <uberlord@gentoo.org>:
1124
1125 bridge now marks interfaces as UP - fixes #75354
1126 bridge, net.lo, iwconfig touched up to match new STYLE
1127 net.lo tests the return value of modprobe - fixes #76385
1128 iwconfig now sets enc keys through an eval statement - fixes #76601
1129 updated wireless.example for whitespace in keys
1130 iwconfig now accepts mode "auto" and defaults to it
1131
1132 30 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1133
1134 Touch up rc-update to match our new STYLE. Also tweak the help
1135 to fit in the standard console.
1136
1137 23 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1138
1139 Merge a bunch of BSD fixes into our .c files.
1140
1141 18 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1142
1143 iwconfig now sets ESSIDVAR for master/ad-hoc modes - fixes #74802
1144
1145 17 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1146
1147 wpa_supplicant - fixed file location for wpa_cli and association test
1148 as it they changed in wpa_supplicant-0.3.x
1149 wpa_supplicant now brings the interface up before launching - fixes #74637
1150
1151 * rc-scripts 1.6.8 (15 Dec 2004)
1152
1153 15 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1154
1155 start_critical_service in /sbin/rc should rely on $1 instead of
1156 the external variable $x for the service name. #74425
1157
1158 15 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1159
1160 rc-status now reports stopping status
1161 Updated documentation to point non-usb linux-wlan-ng users to use
1162 hostap-driver instead
1163
1164 13 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
1165
1166 Tweak init.d/halt.sh to support new text based udev_db ('udevinfo -d' do
1167 not work anymore, and there is no space after '(S|N):'). Also check if
1168 devices.tar.bz2 is empty before trying to create it, bug #71143.
1169
1170 12 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1171
1172 Tweak get_mount_fstab to only print the first mount point found and then
1173 spit warning messages for extra matches. Also add support for RC_USE_FSTAB
1174 so normal users don't have to worry about a broken /etc/fstab.
1175
1176 Add an additional sanity check to the udev tarball usage. Don't try to
1177 unpack an empty or non-existant tarball.
1178
1179 Tweak the 'static' description so users know they can use it to make
1180 /sbin/rc ignore /dev completely.
1181
1182 12 Dec 2004; Martin Schlemmer <azarah@gentoo.org>:
1183
1184 Add suport for using /sbin/udevsend from new udev-048 as hotplug multiplexer.
1185
1186 12 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1187
1188 fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi
1189
1190 dhcpcd and udhcpc now run via the eval statement so quotes can be used
1191 in options. Fixes #74053 - thanks to Evan Buswell
1192
1193 09 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1194
1195 fixed net.lo getting vlan config
1196 rc doesn't stop hotplugged devices when system is booting - fixes #61594
1197 thanks to Andreas Sundebo for the fix
1198 rc-status now reports stopping
1199
1200 08 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1201
1202 iwconfig now unsets wireless config and downs interface when backgrounding
1203 fails
1204 wpa_supplicant now supports backgrounding
1205 removed is_in_fstab function and replaced with get_mount_fstab which
1206 returns a mount command based on the contents of fstab. Resolves bugs
1207 #70044 and #73762
1208
1209 07 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1210
1211 essidnet - fixed setting up search domains
1212 ifconfig now reads the old gateway variable correctly - fixes #73641
1213 iwconfig now supports backgrounding
1214 ifconfig and iproute2 now support function interface_set_mac_address
1215 macchanger no longer depends on macchanger if configuring a specific
1216 mac address
1217
1218 fix depstop for net-services when system is booting - should fix #61594
1219 added service_stopped function to make reading code easier and trying
1220 to avoid race conditions
1221
1222 06 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1223
1224 macchanger defaults to setting the interface down, and then trying
1225 with it up - fixes #71929
1226 macchanger converts mac_${IFACE} to lowercase - fixes #73549
1227 iproute2 now configures the interface up everytime we add an address
1228 removed "need interface" from all modules depends as net.lo requires
1229 interface anyway
1230 removed hardcoded ath0 in wpa_supplicant
1231
1232 added rc-script statuses "starting", "stopping" and "inactive"
1233 dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
1234
1235 05 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1236
1237 dhclient now kill it's process if it failed to get a lease on startup
1238 all dhclient responses are now handled correctly
1239
1240 04 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1241
1242 fixed dhclient-ifconfig to look for dhclient-udhcpc-wrapper in the correct
1243 place and changed hardcoded eth1 to ${interface} in udhcpc-ifconfig.
1244 Fixes #73327 - thanks to Benoit Boissinot
1245
1246 essidnet gets the essid itself instead of relying on ${ESSID}
1247 wpa_supplicant module added
1248 config-system now creates files as .tmp instead of .new and loads
1249 the wpa_supplicant module if needed
1250 ifconfig now addes aliases to devices other than eth0
1251 dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable
1252 instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE}
1253 ones
1254
1255 removed modules use dependancy in net.lo and added installed
1256 - this allows use to provide "virtual" modules which are only "installed"
1257 when other depended modules are installed
1258
1259 * rc-scripts 1.6.7 (03 Dec 2004)
1260
1261 03 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1262
1263 Simply filesystem unmounting in halt.sh. Based upon work by Georg Sauthoff
1264 #68697. Also clean up the filesystem remounting readonly. As a last
1265 resort to filesystems which won't remount readonly, we try to unmount them
1266 with the force/readonly options. Idea from #70349.
1267
1268 03 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1269
1270 Fixed config-system for only changing hostname when needed
1271 udhcpc and dhclient now restore saved configs when stopping and work
1272 with non-infinite leases
1273 Moved generic dhcp options into a space seperated string
1274 udhcpc now caches it's IP address and requests it the next time it starts
1275 if the address is not released
1276 udhcpc and dhclient no longer flush interfaces if we don't need too
1277 ipppd module now looks for ipppd in /usr/sbin - fixes #73067
1278
1279 02 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1280
1281 Merge time checking function (is_older_than) to help simplify config
1282 file update checking. Used for now in env-update.sh #71285. Function
1283 written by Paul Pacheco #55329.
1284
1285 02 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1286
1287 Added option dhcp_release to specify if we release the DHCP lease or not
1288 defaults to no
1289 Changed variables peer_* to dhcp_*
1290 dhclient and udhcpc now specify a pidfile
1291 Fixed iwconfig report if iwgetid does not support --channel
1292
1293 01 Dec 2004; Mike Frysinger <vapier@gentoo.org>:
1294
1295 Refix and clean up the netmount script to kill processes #64034.
1296
1297 01 Dec 2004; Roy Marples <uberlord@gentoo.org>:
1298
1299 Documentation fixes regarding iwconfig and linux-wlan-ng
1300 Fixed bonding deps per bug #71419
1301
1302 30 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
1303
1304 Fix the UML/coLinux check in init.d/clock #72937.
1305
1306 Allow the user to override the default mount options via /etc/fstab
1307 for all the mounts. Added a 'is_in_fstab' function to see if the
1308 user has defined the mount, and if not, fall back to the hardcoded
1309 stuff from before. This also lets us get rid of $RC_DEVICE_FS #70044.
1310
1311 26 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1312
1313 Fixed up address detection in apipa
1314 net.lo now checks for duplicate static IPv4 addresses before assigning
1315 iwconfig now supports preassociate and postassociate user hooks
1316 net.example - changed $1 to ${IFACE} in examples
1317 clarified lack of linux-wlan-ng support
1318
1319 24 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
1320
1321 Allow users to specify charset option to dumpkeys when using unicode
1322 in conf.d/keymaps #72225. Also move all the init.d/keymap specific
1323 options out of rc.conf and into conf.d/keymaps and add some config
1324 checks to init.d/keymaps like the clock/hostname init.d scripts.
1325
1326 Make sure /etc/rc.conf overrides conf.d files when starting up
1327 critical services. Should help out with transition from rc.conf.
1328
1329 24 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1330
1331 Ensure all net-scripts modules depend on interface_variable function
1332 where applicable
1333 Fixed adsl stopping - #68934. Thanks to Andreas Kauer
1334
1335 23 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1336
1337 iproute2 does not need to create dummy interfaces for aliases
1338 unlike ifconfig so we no longer do this
1339 We now bring down all aliases and addresses properly
1340 Split off some functions from net.lo into helpers.d/functions
1341 so that our DHCP helper scripts can use them too :)
1342 Deprecated interface specific setup in favour of a generic config
1343 macchanger brings interface up now - fixes #71929
1344 DHCP over VLAN now works - fixes #71860
1345 Disabled modified function checking as it's far too expensive on CPU
1346 and still isn't 100% reliable
1347 When specifing a module that isn't emerged, you now get an error
1348 telling you what to emerge
1349 Removed -p option from the diff call used for function removal
1350 Removed rp_filter setting - fixes first part of bug #71971
1351 Added sysctl.conf settings relating to rp_filter to sysctl.conf
1352 - fixes last part of bug #71971
1353 Fixed pump exporing ntp servers
1354 implemented MODULES_DIR so we can change directory we load from on the fly
1355 fixed variables for vlans in most modules
1356
1357 19 Nov 2004; Aron Grffis <agriffis@gentoo.org>:
1358
1359 Remove crap "ll" and "d" aliases from skel .bashrc
1360
1361 19 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1362
1363 tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump
1364 udhcpc now does correct signal handling so we can release leases and
1365 terminate cleanly
1366 Improved pump process detection
1367 Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc
1368 scripts. This makes things much saner as udhcpc is much saner - also fixed
1369 essidnet and ipv6 local link for them.
1370 removed iproute2 udhcpc reliance on the "bc" command
1371
1372 17 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1373
1374 Fixed invalid variable handling in bonding and vlan - bug #71419
1375 apipa now brings the interface up before testing if address exists
1376 Updated bonding documentation - bug #71419
1377 Fixed iproute2 adding addresses for vlans - bug #71419
1378 ifconfig handle inet6 routing automatically - bug #33310
1379 ifconfig - fixed old gateway + gateway in routes conflict
1380 iproute2 cleaned up some functions
1381
1382 16 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1383
1384 We no longer default a fallback to APIPA when no config is given
1385 net.example fleshed out a bit more for dhcpcd - fixes #60845
1386 Improved forced module handling a touch
1387 modules_sort and modules_check_user in net.lo buffer _provides,
1388 _before and _after in arrays to avoid shelling out
1389
1390 15 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
1391
1392 Add a check to clock init.d to make sure users dont try to set
1393 config their clock in rc.conf anymore.
1394
1395 Redo hostname/domainname scripts to use files in /etc/conf.d/
1396 instead of creating files in /etc/. Allows for controlling things
1397 like the behavior of setting the 'domain' in resolv.conf since users
1398 may not always understand exactly what's going on.
1399
1400 Stop referring to conf.d/basic as a global rc config option. That
1401 file hasn't been used in a long time and has since been replaced
1402 with env.d/00basic. Updated sbin/runscript.sh, etc/profile,
1403 sbin/rc-help.sh, and src/awk/cachedepends.awk.
1404
1405 Run `find | xargs` instead of `find -exec`. Much better performance
1406 this way, and busybox friendly #59732.
1407
1408 15 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1409
1410 Split modules_load into smaller more managable functions in net.lo
1411 Added modules_force option to net.lo with a big phat warning in
1412 net.example about it potentially breaking networking
1413 Added searchdomains_ESSID option to essidnet
1414 Stopped the domain setting from putting the same entry in search
1415 in config-system and essidnet
1416 Removed second warning in net.lo when configuration not set
1417 Documented APIPA module in net.example
1418 Added kernel checking for vlan - fixes #70829
1419 Added kernel checking for bonding, bridging and tuntap
1420 Added iproute2 support to the APIPA module
1421
1422 13 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
1423
1424 Update the svcdir mounting #69595. Instead of mounting in /mnt
1425 and then bind mounting to $svcdir, we mount the ramdisk on $svcidr.
1426
1427 12 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1428
1429 Added arping duplicate address detection to net.lo
1430 Created Automatic Private IP Addressing (APIPA) module
1431
1432 Added dependancy checking to ipppd
1433 Bonding is now started pre instead of post
1434 Fixed iface variable in dhcp modules for vlans
1435 Changed get_device to interface_device
1436 Changed get_type to interface_type
1437 Added vlan configuration options and documented them in net.example
1438 Fixed bridge configuration handling
1439 Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
1440
1441 11 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1442
1443 Fixed category of rp-pppoe to net-dialup error when requesting ADSL
1444 Improved inet6 address deletion and detection in iproute2
1445 Improved gateway logic in ifconfig
1446 Changed all wireless reporting functions to use iwgetid instead of
1447 parsing iwconfig output except for essid
1448
1449 * rc-scripts 1.6.6 (08 Nov 2004)
1450
1451 08 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1452
1453 Added options to configure bridge
1454 Added bridge configuration example to net.example
1455 Added missing required function interface_exists to iptunnel check_depends
1456
1457 07 Nov 2004; Aron Griffis <agriffis@gentoo.org>:
1458
1459 Fix shell scripting errors that would result in
1460 /sbin/functions.sh: line 166: [: too many arguments.
1461
1462 05 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1463
1464 net-scripts/net.modules.d/bridge
1465 - fixed destroying a bridge if no ports were added
1466 - starts interfaces if they don't exist - fixed bug #65153
1467
1468 net-scrips/net.modules.d/bonding
1469 - starts interfaces if they don't exist
1470
1471 net-scripts/init.d/net.lo
1472 - added net_start() function to start depandant ifaces
1473 so that bridge br0 can active tun0 which net.tun0 has to create
1474 - added use dependany on wlan incase we're using linux-wlan-ng drivers
1475 fixes bug #64978
1476 - moved start() to run_start() and stop() to run_stop()
1477 created run() and new start()/stop() functions
1478 this is so that we have one single entry point to localise variables
1479 and to remove any added functions loaded by our modules
1480 - removed redundant interface_exists() as it's provided by
1481 ifconfig and/or iproute2
1482
1483 net-scripts/net.modules.d/ifconfig and iproute2
1484 - added ifconfig_tunnel and iproute2_tunnel functions
1485
1486 addred gre/ipip tunnel support via the the tunnel module
1487 - fixes bug #50765
1488
1489 04 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1490
1491 net-scripts/net.modules.d/pump
1492 - fixed setting ntp servers
1493
1494 net-scripts/net.modules.d/dhcpcd
1495 - fixed stopping function
1496
1497 net-scripts/net.modules.d/bonding
1498 - fixed module to actually work with the interface
1499
1500 net-scripts/init.d/net.lo
1501 - we remove all added functions when restarting an interface
1502 this relies on the diff command being available
1503
1504 added isdn support via the new ipppd module - fixes bug #69035
1505
1506 net-scripts/conf.d/net.example
1507 - added sample isdn setup
1508
1509 net-scripts/conf.d/wireless.example
1510 - added better descriptions to the _sleep variables
1511
1512 Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
1513 - fixed bug #70022
1514
1515 net.lo - added get_type function to return the type of the interface
1516 - eth, ippp, etc
1517
1518 ipppd, tuntap
1519 - start() moved to pre_start() and we now test by type
1520 this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
1521 as ippp0 is always an isdn device
1522
1523 bridge - fixed stop function and moved start() to pre_start()
1524 and automatically start if the variable bridge_${iface} exists
1525
1526 net.example - fixed up documentation for changed behaviour above
1527
1528 03 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
1529
1530 When launching critical services in /sbin/rc, make sure we source
1531 the conf.d file (if it exists). Resolves #69956.
1532
1533 03 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1534
1535 net-scripts/init.d/net.lo
1536 - fixed !module when it's not installed
1537 - we can now specify null inet addresses in the config
1538 this allows a pure inet6 setup
1539 - shutdown lo the same way we bring it up
1540
1541 net-scripts/net.modules.d/ifconfig
1542 - changed IPv6 to inet6 in output of adding inet6 addresses
1543 - just output inet6 address removed, not eth0 del foo
1544
1545 net-scripts/net.modules.d/iproute2
1546 - fix deletion of non-link addresses - fixes bug #65417 (again)
1547 - handle inet6 addresses like ifconfig - fixes more bug #65417
1548
1549 net-scripts/conf.d/net.example
1550 - noted that inet6 addresses do not create aliases
1551 - added examples of assigning inet6 addresses
1552
1553 net-scripts/net.modules.d/iwconfig
1554 - improve error message when card does not support scanning
1555
1556 net-scripts/conf.d/wireless.example
1557 - fixed comment regarding preferred_aps not working with cards that don't
1558 support scanning
1559
1560 02 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1561
1562 net-scripts/conf.d/net.example
1563 - added bridging and tuntap examples
1564
1565 net-scripts/init.d/net.lo
1566 - modprobe ${IFACE} when ${IFACE} does not exist
1567
1568 net-scripts/net.modules.d/ifconfig
1569 - fixed interface existance check
1570
1571 net-scripts/net.modules.d
1572 ifconfig & iproute2
1573 - added boolean to interface_exists to report if it exists or not
1574 - added checks to see if the interface exists or not when starting
1575
1576 dhcpcd
1577 - removed debug line
1578
1579 bonding, dhclient, dhcpcd, essidnet, macchanger, pump, udhcpc
1580 - added checks to see if the interface exists or not when starting
1581
1582 tuntap
1583 - added checks to see if the interface exists or not when stopping
1584
1585 01 Nov 2004; Mike Frysinger <vapier@gentoo.org>:
1586
1587 Dump the error message that hwclock returns since it tends to be
1588 quite useful. Modified init.d/clock.
1589
1590 Fix error in functions.sh [ -z "$@" ] -> [[ -z "$@" ]] #69789.
1591
1592 Don't create /dev/sndstat link anymore in populate_udev per #69635.
1593
1594 01 Nov 2004; Roy Marples <uberlord@gentoo.org>:
1595
1596 net-scripts/init.d/net.lo:
1597 - modules specified by interface config now error if they are not loaded
1598 - moved interface check to after preup incase user preup loads drivers
1599 - modules can be explicitly not used by prefixing them with a !
1600 however, they are still available to other modules
1601 fixes bugs #68908, #69027
1602 - remove check to see if interface exists
1603 - modules may setup new interfaces and still require config
1604 so we have a new label counter in iface_start
1605 - removed the check to see if a class wrapping already exists
1606 this fixes the bug where ifconfig and iproute2 are installed, but
1607 ifconfig is asked for and the interface is restarted.
1608 - added check to see if the configured module is loaded
1609 and installed or not in iface_start
1610 - add dependancy on isdn4linux - fixes bug #69035
1611 - interface_exists moved to iproute and ifconfig
1612
1613 net-scripts/net.modules.d
1614 - Split wireless module into iwconfig and essidnet modules
1615 - Added tuntap and bridge modules, fixes bug #55394, #30688
1616
1617 net-scripts/init.d/iwconfig:
1618 - wep mode is now reported
1619 - removed post_stop function so we keep existing config
1620 - added pre_stop to set the ESSID variable
1621 - changed to veinfo/vewarn where appropriate
1622 - check if interface exists otherwise abort gracefully
1623 - no longer deletes addresses as we now avoid
1624 ipv6 local addresses in detecting if interface has an addresses or not
1625
1626 net-scripts/init.d/ifconfig:
1627 - added flag enable/disable function
1628 - scope:link inet6 addresses are ignored when testing is_up and
1629 del_addresses - fixes bug #65417
1630
1631 net-scripts/init.d/iproute2:
1632 - added flag enable/disable function
1633 - scope:link inet6 addresses are ignored when testing is_up and
1634 del_addresses - fixes bug #65417
1635
1636 net-scripts/init.d/macchanger:
1637 - fixed detecting whether the change worked or not, fixes bug #68893
1638
1639 net-scripts/init.d/vlan:
1640 - fixed old config problem
1641
1642 31 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
1643
1644 Do not delete depscan and envupdate caches on reboot, as this should
1645 improve bootup times - works nicely with the '-u' parameters of both.
1646 Also move the '-u' parameter test of depscan.sh after the directory
1647 exist test, else ${svcdir}/started/, etc do not exist. Modified both
1648 /sbin/rc and /sbin/depscan.sh for this.
1649
1650 Move things around in /sbin/functions.sh to have all functions above.
1651
1652 Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.
1653
1654 28 Oct 2004; Martin Schlemmer <azarah@gentoo.org>:
1655
1656 Only add files not managed by udev to device tarball, bug #57110.
1657
1658 28 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1659
1660 Revert pam_console_apply udev check in bootmisc/halt.sh since
1661 the bug is with pam_console_apply and not udev/pam.
1662
1663 Use ${EUID} instead of $(id -u) to help out BSD in runscript.sh.
1664
1665 Allow users to select ramfs instead of default tmpfs for mounting
1666 on /dev with udev #69091.
1667
1668 Add issue.devfix which would be auto copied to /etc/issue if
1669 /sbin/rc detects the user is missing /dev/null or /dev/console.
1670 Includes a simple explanation/fix for what's wrong.
1671
1672 Make sure the clock init script runs after checkroot/modules/localmount
1673 so that timestamps are synchronized asap #68133 / #70008.
1674
1675 Accept '-nc' as a short option to '--nocolor' #64736.
1676
1677 26 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1678
1679 Don't use -A with fsck to respect the fs_passno since it'll try
1680 to fsck all filesystems, not just the ones specified. Instead,
1681 awk /etc/fstab to review the passno field in checkroot #68822.
1682
1683 Add support for 'gentoo=forcefsck' boot option in checkroot.
1684
1685 Make sure we run devfsd in /sbin/rc even when /dev has been
1686 automounted by the kernel #68795.
1687
1688 Don't generate the device tarball in halt.sh with livecds #68469.
1689
1690 25 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1691
1692 net-scripts/net.modules.d/ifconfig:
1693 - Simplify ifconfig_is_up()
1694 - Fix ifconfig_get_aliases_rev() to actually work... you can't
1695 specify an interface name to ifconfig if you want to see the
1696 aliases.
1697 - Workaround a couple ifconfig bugs dealing with aliases
1698 - Correct a return status in ifconfig_interface_del_addresses()
1699 - ifconfig_iface_stop() is bool, not void; fix the comments
1700
1701 net-scripts/net.modules.d/iproute2:
1702 - iproute2_iface_stop() is bool, not void. Fix the code so it
1703 returns meaningful values
1704
1705 net-scripts/init.d/net.lo:
1706 - Fix preferred (ifconfig/dhcpcd) module loading so it doesn't
1707 barf when a preferred module is either (1) missing from
1708 net.modules.d or (2) not available due to missing dependencies
1709 - When loading all modules in order to stop an interface, only use
1710 the first available to satisfy each class wrapper
1711
1712 24 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1713
1714 Include livecd patch that was applied to baselayout-1.9.4-r6
1715 to use agetty instead of mingetty
1716
1717 24 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1718
1719 Mount tmpfs instead of ramfs on /dev when using udev systems.
1720 The problem with ramfs is that it has no size limitations so
1721 one could easily take down their machine by accident #68653.
1722
1723 * rc-scripts 1.6.3 (23 Oct 2004)
1724
1725 22 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1726
1727 Add support for user_eth0 in the adsl module and in net.example.
1728 This means that most users won't need to edit pppoe.conf at all
1729
1730 21 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1731
1732 Remove old etc/conf.d/net and try to clarify instructions in
1733 net-scripts/conf.d/net.example. Add example for ADSL
1734
1735 21 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1736
1737 Merge all of the UML checks into one function, is_uml_sys(),
1738 which is now in functions.sh.
1739
1740 18 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1741
1742 Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
1743 depend on RC_VERBOSE which defaults to no. Add --verbose to args
1744 understood by runscript.sh.
1745
1746 In net.lo, use veinfo and friends when loading modules since this
1747 information is confusing to users.
1748
1749 In net.lo, always load global "modules" setting in following
1750 "modules_iface" since this is a little easier for users to
1751 understand.
1752
1753 In net.lo, use eindent for output of pre/post scripts
1754
1755 18 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1756
1757 Add shfs to our list of net filesystems #61452. Also add afs/nfs4.
1758
1759 Add a '-u' parameter to depscan.sh to allow for updates only when
1760 the config files have changed. With /sbin/rc using this, we speed
1761 up bootup by only regenerating the cache when need be #67976. Also
1762 add a '-u' parameter to env-update.sh for same reasons.
1763
1764 Don't run depscan.sh in rc-update anymore since the cache files don't
1765 depend on runlevels (which is all that rc-update modifies).
1766
1767 Add unicode support to keymaps/consolefont #32111 and UML support #29707.
1768
1769 Add checks to many filesystem operations in the eventuality that the
1770 filesystems are mounted read only.
1771
1772 16 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1773
1774 Update the default fstab /dev/shm mount to include the nodev, nosuid,
1775 and noexec mount flags. No reason for the filesystem to have those.
1776
1777 Cleaned up the clock init script. Moved the clock options out of
1778 rc.conf and into its own conf.d/clock file. Added support for the
1779 weird Alpha consoles SRM/ARC since they need special config options.
1780 Also made the syncing of system clock to hardware clock at shutdown
1781 optional (with the default being off) #15834. Don't try to set the
1782 clock if running inside a coLinux environment #52870.
1783
1784 Update default PATH ordering to try to follow default behavior in
1785 other distro's and because it's logical that /usr/local should
1786 override /usr which should override /. Fixes #12531.
1787
1788 Move devfs stuff out of baselayout and into the devfsd package.
1789
1790 Don't run /sbin/pam_console_apply -r if using udev on /dev #50315.
1791
1792 14 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1793
1794 Fix rc-status to work with new COLS code.
1795
1796 14 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1797
1798 Allow users to mount ramfs/tmpfs/ramdisk as their svcdir and
1799 stop assuming ramfs==ramdisk #64079.
1800
1801 13 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1802
1803 Rework the code for managing /dev to make it more flexible for
1804 users. Some don't want to use devfs/udev but rather just create
1805 their own nodes. Handles some issues with #44906 / #67276.
1806
1807 Move the utmp clearing code out of bootmisc and into /sbin/rc.
1808 The utmp log must be cleared while in the initial boot level
1809 (meaning inside /sbin/rc) because as soon as rc exists, init
1810 writes a 'boot' record (`who -b`) which would normally be lost
1811 when the bootmisc init.d script is run #61727.
1812
1813 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1814
1815 Cosmetic fixes for starting loopback interface
1816
1817 SpanKY doesn't like the dots... disable them by default, but you
1818 can set RC_DOT_PATTERN=' .' in /etc/conf.d/rc to get them back
1819
1820 * rc-scripts 1.6.2 (13 Oct 2004)
1821
1822 13 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1823
1824 Install net.modules.d to /lib/rcscripts instead of /etc so we
1825 don't have to deal with CONFIG_PROTECT
1826
1827 Fix diff code in modules_load so it can identify which functions
1828 have been modified
1829
1830 Fix fallback mechanism in iface_start so that it works correctly
1831 and doesn't report a bogus error message when trying the fallback
1832
1833 Get rid of need_begin trickery in iface_stop
1834
1835 Simplify eend processing in dhcp modules
1836
1837 Implement eindent, eoutdent, esetdent in functions.sh and adjust
1838 net-scripts to use them.
1839
1840 Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
1841 RC_INDENTATION and to work better on serial terminals
1842
1843 Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
1844
1845 12 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1846
1847 Fix ipaddr_fallback in net-scripts/conf.d/net.example
1848
1849 09 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1850
1851 Remove init.d/net.eth0 net.lo and net.ppp0. The first two are
1852 provided now by net-scripts and net.ppp0 is shipped in
1853 net-dialup/ppp
1854
1855 Create NET_FS_LIST and is_net_fs in functions.sh and use them in
1856 checkroot, localmount, netmount, net.example, and net.lo
1857
1858 09 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1859
1860 If the hostname has already been set via the kernel/dhcp, don't
1861 force it to 'localhost'. Used in netboot/terminal setups #38172.
1862
1863 Add domainname to default boot runlevel list #47041.
1864
1865 08 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1866
1867 Make sure that when we try to mount /sys, we do so with -n (tigger).
1868
1869 Add some examples for nfs to sysctl.conf #66575.
1870
1871 06 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1872
1873 Update to net-scripts 1.0.2 from Roy
1874 ------------------------------------
1875 - wireless module: replaced preferred_only var with
1876 associate_order this makes more sense now as we have changed the
1877 possible values
1878 - wireless module: added patch from Daniel Zappala we should call
1879 wireless_get_essid everywhere now
1880 - wireless module: don't declare ESSID local in
1881 wireless_configure(). This allows ESSID to be tested in the
1882 user defined postup() function
1883 - wireless module: test type != "NOT READY!" instead of testing =
1884 IEEE. this resolves problems with intel and ra-tech drivers
1885 - net.lo start() now errors when the interface does not exist
1886 - dhcpcd, dhclient, udhcpc and pump now expose peer_* vars this
1887 enables wireless to map them from peer_dns_ESSID
1888 - config-system helper now loads wireless module to remap
1889 variables from ESSID this allows udhcpc and dhclient to use
1890 remapped wireless vars
1891 - fixed dhcpcd and pump modules using peer_* vars
1892 - wireless aborts after 5 seconds if it cannot report a valid
1893 ESSID this fixes a potential infinite loop problem
1894 - wireless_setup_iface() renamed to wireless_map_essid_vars() this
1895 avoids confusion about what the function actually does
1896
1897 06 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1898
1899 Change the default net.ipv4.conf.default.rp_filter setting to 1
1900 in sysctl.conf since it shouldn't be harmful in anyway. Redhat
1901 does the same.
1902
1903 05 Oct 2004; Aron Griffis <agriffis@gentoo.org>:
1904
1905 Get rid of getcols() in sbin/functions.sh. Use COLUMNS when
1906 possible and otherwise clean up the COLS code. Fix the "emerge
1907 depend" detection code to use RC_ENDCOL="no"
1908
1909 05 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1910
1911 Changed behavior of the domainname init.d script. It will now
1912 override any settings obtained via dhcp/whatever. See #48277.
1913
1914 Updated bootmisc to dump the output of `dmesg` to /var/log/dmesg.
1915 This way users have an 'after-boot' log of their dmesg saved
1916 somewhere useful #55421.
1917
1918 Added the 'eend' back to depscan.sh since the script starts with a
1919 call to 'ebegin' #59694.
1920
1921 Add selinux update from Chris PeBenito for src/runscript.c #64019.
1922
1923 Add more quoting to rc-help.sh to fix some non-critical errors.
1924 Make rc-help.sh respect the value of RC_NOCOLOR. Allow RC_NOCOLOR
1925 in functions.sh to be set via the environment.
1926
1927 Flesh out the default sysctl.conf with comments and more examples
1928 since our previous one was pretty sparse #59993.
1929
1930 Change calls to `uniq` to `sort -u` in checkroot/halt.sh. This way
1931 we only require sort in / and not both #36453.
1932
1933 04 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1934
1935 More (I mean a LOT more) services. This takes care of #44458,
1936 #52881 #55939 #58997 #66166 #66297. Gleaned many from the IANA
1937 list/Fedora/FreeBSD/Debian.
1938
1939 Change the test for /proc/cmdline from -e to -r. On grsecurity
1940 based systems for example, the file may exist, but not be readable
1941 by non-root users (patch by Ned Ludd).
1942
1943 03 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1944
1945 Add support for NFSv4 from #25106 to the netmount script. Don't
1946 try to fsck / if the root is a remote filesystem (like NFS) #36624.
1947
1948 Update the fs_passno values in the default fstab to match the
1949 settings suggested by the manpage #37314. Make checkroot respect
1950 a fs_passno setting of 0 when dealing with / #39212. Change
1951 default / filesystem type to ext3 instead of xfs #42670.
1952
1953 Re-order the arguments to mount to match POSIX requirements #66225.
1954
1955 Don't pipe swapon in localmount to /dev/null and ignore return
1956 codes anymore. A swapon that works shows no output #39834.
1957
1958 02 Oct 2004; Mike Frysinger <vapier@gentoo.org>:
1959
1960 Break up the COL/COLOR code properly this time. Not all serial
1961 consoles can handle adjusting to the end of the line, so let's not
1962 bother running stty at all anymore. This should fix up #32453.
1963
1964 30 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
1965
1966 Disable cryptfs by default in the conf.d file. Also cleanup
1967 the output generated in localmount/checkfs/halt.sh for dm-crypt.
1968 Add an extra check so that cryptfs is only run when the conf.d
1969 file exists as well as /bin/cryptsetup.
1970
1971 29 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
1972
1973 Let glibc install nscd since different versions of glibc will
1974 need to be handled differently. See #43076 by Rui Malheiro.
1975
1976 29 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
1977
1978 Prefer ~/.dir_colors over /etc/DIR_COLORS when it exists #64489
1979
1980 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
1981
1982 Clear the screen in .bash_logout #32330
1983
1984 * rc-scripts 1.6.1 (27 Sep 2004)
1985
1986 27 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
1987
1988 Update dm-crypt to work with multi-line configuration files.
1989 Also don't set status in a subshell; it was being lost before.
1990
1991 23 Sep 2004; Mike Frysinger <vapier@gentoo.org>:
1992
1993 Rework the logic behind the $COLS code. It should not depend
1994 on whether color is enabled. Also add a check for negative
1995 values (like when using a serial console).
1996
1997 * rc-scripts 1.6.0 (15 Sep 2004)
1998
1999 15 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2000
2001 Fix bug 64034: simplify netmount script's stop function so that
2002 mountpoints containing spaces work correctly
2003
2004 Update tarball.sh to use net-scripts
2005
2006 14 Sep 2004; Aron Griffis <agriffis@gentoo.org>:
2007
2008 Commit dm-crypt enablement patch from Tigger (Rob Holland) in
2009 bug 43146
2010
2011 * rc-scripts 1.5.3 (18 Aug 2004)
2012
2013 18 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2014
2015 Fix bug 60719 (request for better error messages from runscript)
2016 by allowing errors to show on the screen when they're encountered
2017 in wrap_rcscript
2018
2019 Apply Spock's bootsplash patch from bug 45784. This moves most of
2020 the splash functionality out of baselayout.
2021
2022 13 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2023
2024 Don't export PS1. Continuation of bug 26951, comments 60-62.
2025
2026 * rc-scripts 1.5.2 (02 Aug 2004)
2027
2028 02 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2029
2030 Related to bug 38955, don't set INPUTRC. Instead patch bash so
2031 that it looks for /etc/inputrc automatically if ~/.inputrc is
2032 missing. This is better than using INPUTRC since that will
2033 override even after the user creates ~/.inputrc.
2034
2035 Fix bug 54275: Don't set INFODIR. The correct variable used by
2036 texinfo is INFOPATH, which is already set in 00basic. Setting
2037 INFODIR is useless, and breaks a NetBSD cross compile from Gentoo
2038
2039 01 Aug 2004; Aron Griffis <agriffis@gentoo.org>:
2040
2041 Fix bug 58805: net.eth0 should use bridge so that bridge
2042 interfaces are configured prior to net.br0 running
2043
2044 Fix bug 56856: Get rid of net.rej and integrate missing stuff to
2045 conf.d/net
2046
2047 Apply half of spock's patch in bug 45784: Check for
2048 conf.d/bootsplash instead of conf.d/bootsplash.conf
2049
2050 Fix bug 51351: Quote parsed output of /proc/filesystems to handle
2051 octal sequences in mountpoint such as encoded spaces (\040)
2052
2053 Fix bug 46680: Add cifs support to localmount and netmount.
2054 Thanks to Ronald Moesbergen for the patches
2055
2056 21 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
2057
2058 Fix bug 26952: Use /etc/bash/bashrc to setup PS1, testing $- to
2059 determine if shell is interactive. The new system-wide bashrc is
2060 installed by bash-2.05b-r10
2061
2062 19 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
2063
2064 Fix bug 38743: strip leading and trailing spaces from variable
2065 values in genenviron.awk. Thanks to Marius Mauch for the patch.
2066
2067 09 Jul 2004; Aron Griffis <agriffis@gentoo.org>:
2068
2069 Fix bug 55576: swap words "start" and "stop" in runscript.sh error
2070 message
2071
2072 * rc-scripts 1.5.1 (28 Jun 2004)
2073
2074 28 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2075
2076 Fix dhcp in iface_start_ifconfig: It was re-using the variable
2077 ${i} which would result in the following error:
2078 /sbin/runscript.sh: line 441: ((: 16.141.88.153: syntax error
2079 in expression (error token is ".141.88.153")
2080
2081 Use vlan_IFACE instead of iface_IFACE_vlans in net.eth0 for more
2082 consistent vlan configuration. Thanks to robbat2 in bug 55394
2083 (not fully resolved)
2084
2085 Add example for checking if root filesystem is NFS-mounted via
2086 predown function in conf.d/net for bug 53104. This might be
2087 better integrated at some point into net.eth0
2088
2089 * rc-scripts 1.5.0 (26 Jun 2004)
2090
2091 26 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2092
2093 Fix bug 47659: support iproute2-style configuration. Thanks to
2094 Dean Bailey for some fantastic patches, including documentation
2095 for conf.d/net. This is a pretty huge re-write of net.eth0
2096
2097 Fix bug 34607: provide examples for in conf.d/net for preup,
2098 postup, predown, postdown functions. Also pay attention to return
2099 value from predown function (previously ignored)
2100
2101 15 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2102
2103 Fix bug 25975: support adsl in net.eth0. Thanks to Patrick McLean
2104 for the initial pass at the code.
2105
2106 Fix bug 34140: add --servicelist option to rc-status. Thanks to
2107 Eldad Zack for the patch.
2108
2109 Fix bug 37418: fix order of LVM and RAID in checkfs. Thanks to
2110 Raimondo Giammanco for the patch.
2111
2112 * rc-scripts 1.4.16 (06 Jun 2004)
2113
2114 06 Jun 2004; Aron Griffis <agriffis@gentoo.org>:
2115
2116 Only call generate-modprobe.conf with --assume-kernel if
2117 modules-update was called with --assume-kernel. This means that
2118 only catalyst has the dependency on module-init-tools, not
2119 everybody with the newer baselayout
2120
2121 * rc-scripts 1.4.15 (21 May 2004)
2122
2123 21 May 2004; Aron Grifis <agriffis@gentoo.org>:
2124
2125 Fix bug 51570: typo on line 161 of /sbin/livecd-functions.sh
2126
2127 Fix bug 51626: wrong variable declaration at top of
2128 get_bootparam() in /sbin/functions.sh
2129
2130 * rc-scripts 1.4.14 (17 May 2004)
2131
2132 17 May 2004; Aron Griffis <agriffis@gentoo.org>:
2133
2134 Bump version to 1.4.14 to push out gmsoft's fix for hppa console
2135 on ttyB0
2136
2137 * rc-scripts 1.4.13 (15 May 2004)
2138
2139 15 May 2004; Aron Griffis <agriffis@gentoo.org>:
2140
2141 Bump version to 1.4.13 to push out Gustavo's livecd serial console
2142 fixes for sparc and hppa.
2143
2144 * rc-scripts 1.4.12 (07 May 2004)
2145
2146 10 May 2004; Aron Griffis <agriffis@gentoo.org>:
2147
2148 Bump version to 1.4.12 to release these critical bug fixes
2149
2150 Fix bug 50434: The new version of start-stop-daemon changes
2151 directory to / by default unless --chdir is specified. Revert
2152 this behavior to maintain working directory. This fixes openvpn
2153 startup (probably among other things). Thanks to Sven Wegener for
2154 the patch.
2155
2156 Fix bug 50448: Four days ago I changed bash loops to use the wrong
2157 conditional syntax in net.eth0. Thanks to Sven Wegener for
2158 pointing out the problem and providing a patch.
2159
2160 * rc-scripts 1.4.11 (07 May 2004)
2161
2162 07 May 2004; Aron Griffis <agriffis@gentoo.org>:
2163
2164 Fix bug 20597: Skip RCS files when updating modules
2165
2166 Fix bug 49926: Add a --assume-kernel flag to modules-update. This
2167 requires a companion patch in module-init-tools-3.0-r2 to handle
2168 the same flag in generate-modprobe.conf; this dependency won't be
2169 handled in the baselayout ebuild since it only affects livecd
2170 building.
2171
2172 06 May 2004; Aron Griffis <agriffis@gentoo.org>:
2173
2174 In net.eth0, fix many instances of loops like "for ((i = 0; i <
2175 100; i = i + 1))". The problem here is that the middle comparison
2176 is being interpreted as a bash conditional, which means that it's
2177 doing string comparison by default. It needs to be "i -lt 100"
2178
2179 Fix bug 34827: net.eth0 breaks when localized because the ifconfig
2180 output changes. Wrap ifconfig in a function that overrides
2181 LC_ALL=C
2182
2183 Fix bug 48305: Provide a new network configuration variable
2184 ifconfig_fallback_eth0 which allows one to specify a fallback
2185 configuration in case DHCP fails.
2186
2187 Fix bug 50246: Give root an invalid password ("*" in /etc/shadow)
2188 in the default baselayout. This prevents the first reboot after
2189 installation from having a blank password.
2190
2191 05 May 2004; Aron Griffis <agriffis@gentoo.org>:
2192
2193 Fix bug 48595: Make sure $(id -u) is zero (root user) when running
2194 init scripts to avoid a lot of error messages.
2195
2196 Replace many lines of awk with two lines of grep in
2197 init.d/localmount
2198
2199 Fix bug 44316: Use 0644 instead of 0640 for resolv.conf in net.ppp0
2200
2201 03 May 2004; Aron Griffis <agriffis@gentoo.org>:
2202
2203 Update to version 1.10.20 of Debian's start-stop-daemon (contained
2204 in dpkg at http://packages.debian.org/testing/base/dpkg). This
2205 fixes bug 22686 (start-stop-daemon in baselayout doesn't allow
2206 altered nicelevel).
2207
2208 * rc-scripts 1.4.10 (25 Apr 2004)
2209
2210 25 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2211
2212 Fix typos in sbin/rc: "try try mount" and "mount ... & >/dev/null"
2213 Also removed the errstr double-checking since the need for that is
2214 alleviated by these typo fixes.
2215
2216 23 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2217
2218 Fix bug 48629 (/sbin/rc fixups for udev) with patch from GregKH
2219
2220 Fix bug 40987 (gentoo should be able to boot with an empty /dev)
2221 with patch from Spanky. The patch avoids redirection to /dev/null
2222 when it doesn't exist; this was breaking /sbin/rc.
2223
2224 * rc-scripts 1.4.9 (15 Apr 2004)
2225
2226 15 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2227
2228 Fix bug 47111 (severe depcache problems) with tons of help from
2229 dswhite42 and the rest of the crew in that bug. Thanks guys!
2230
2231 * rc-scripts 1.4.8 (14 Apr 2004)
2232
2233 14 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2234
2235 Fix bug 47623 (error removing inet6 addresses) with patch provided
2236 by Vlad Yasevich.
2237
2238 * rc-scripts 1.4.7 (12 Apr 2004)
2239
2240 12 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2241
2242 Fix bug 47218 (net.eth0 broken for vlans) with patch provided by
2243 Andy Dustman. Fix bug 47250 (depscan.sh fails to create
2244 /var/lib/init.d/* directories) with patch from Terje Bergström
2245
2246 * rc-scripts 1.4.6 (08 Apr 2004)
2247
2248 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2249
2250 Update patch from Gustavoz; -ln /bin/bash should have been -nl /bin/bash
2251
2252 * rc-scripts 1.4.5 (08 Apr 2004)
2253
2254 08 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2255
2256 Patch init.d/checkroot to list / (root) only once in mtab; see bug 38360.
2257 Patch from Gustavoz to livecd-functions.sh to run bash instead of login on
2258 serial consoles, necessary due to scrambled root passwords.
2259
2260 * rc-scripts 1.4.4 (07 Apr 2004)
2261
2262 07 Apr 2004; Aron Griffis <agriffis@gentoo.org>:
2263
2264 Patch from Gustavoz for Sparc console: Fetch LIVECD_CONSOLE from dmesg
2265 output. Also support 4800 baud correctly.
2266
2267 16 Mar 2004; Aron Griffis <agriffis@gentoo.org>:
2268
2269 The changes in this commit pertain primarily to
2270 http://bugs.gentoo.org/show_bug.cgi?id=19695
2271 http://bugs.gentoo.org/show_bug.cgi?id=35736
2272
2273 Specify routes as an array per interface, for example:
2274 routes_eth0=(
2275 "-net 10.1.0.0 netmask 255.255.0.0 gw 10.0.0.5"
2276 "-net 10.2.0.0 netmask 255.255.0.0 gw 10.0.0.6"
2277 "-host 10.3.0.1 dev eth0"
2278 )
2279
2280 You can optionally use the gateway variable or just put the default route
2281 in the routes variable. The following two are REDUNDANT:
2282
2283 routes_eth0=( "default gw 10.0.0.5" )
2284 gateway="eth0/10.0.0.5"
2285
2286 Old configuration variables in /etc/conf.d/net are fully supported and
2287 used transparently if ifconfig_eth0 is missing. In other words, this new
2288 script is fully backward-compatible. However you can get rid of
2289 iface_eth0, alias_eth0, broadcast_eth0 and netmask_eth0 if you want by
2290 using the new syntax:
2291
2292 ifconfig_eth0=(
2293 "10.0.0.6 broadcast 10.0.255.255 netmask 255.255.0.0"
2294 "192.168.1.1 netmask 255.255.255.0"
2295 "123.456.789.1"
2296 )
2297
2298 Full backward compatibility so no danger to screwing up users relying on
2299 existing /etc/conf.d/net setup
2300
2301 NET_DEBUG can be set in the environment for copious debugging output
2302
2303 Deprecate [ ] in favor of [[ ]] which has fewer quoting issues and
2304 better functionality (and is even slightly faster)
2305
2306 Properly localize all variables, including variables returned by
2307 setup_vars
2308
2309 Allow full options for every ifconfig command, both base address and
2310 aliases via ifconfig_eth0, replacing the convoluted and less-functional
2311 iface_eth0, alias_eth0, broadcast_eth0, netmask_eth0
2312
2313 Provide full support for static routes via routes_eth0
2314
2315 Fix potential quoting problems in setup_vars by using better eval syntax
2316 instead of eval echo
2317
2318 Display IP addresses while configuring, both DHCP-retrieved and
2319 statically set addresses
2320
2321 Collapse redundant caching of $? since eend returns $? again
2322
2323 Report when keeping kernel configuration for an interface along with IP
2324 address gleaned
2325
2326 Don't reset the default gateway if it is already set correctly
2327
2328 Don't bind default gateway to particular interface when /sbin/route is
2329 called so that it can survive if there is more than one interface on the
2330 required subnet. (Old behavior can be obtained by setting
2331 routes_eth0="default gw 1.2.3.4 dev eth0" if you really want it)
2332
2333 Don't bomb if default gateway can't be set since that doesn't
2334 necessarily mean that the interface configuration is invalid.
2335 (Old behavior was completely broken, but commented section
2336 demonstrates how to do it right if necessary)
2337
2338 iface_stop no longer relies on configuration in /etc/conf.d/net AT ALL.
2339 This is very good because it means you can put new configuration in
2340 /etc/conf.d/net, then restart the interface and the old configuration will
2341 be properly shut down.
2342
2343 iface_stop reports when it is releasing the DHCP lease
2344
2345 * rc-scripts 1.4.3.13p1 (26 Feb 2004)
2346
2347 26 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2348
2349 Remove /etc/DIR_COLORS, as coreutils provides it now.
2350
2351 Add RC_DEVICE_TARBALL to /etc/conf.d/rc to control use of device tarball.
2352 Also modified /sbin/rc and /etc/init.d/halt.sh for this.
2353
2354 Start udevd if present.
2355
2356 Small fix to sbin/rc-services.sh related to mtime checking and 'net'
2357 virtual service - it had no mtime generated, so check_mtime() failed
2358 for it ...
2359
2360 25 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2361
2362 Update to enable checking of mtimes on rc-scripts, and auto running
2363 depscan.sh if needed. Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
2364 is not set instead of just erroring.
2365
2366 19 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2367
2368 Fix irda type-o in /sbin/MAKEDEV, thanks to Tobias Sager <moixa@gmx.ch>.
2369
2370 Fix type-o in /etc/initrc, bug #41666 (Tom Vergote <bugzilla@tomvergote.be>).
2371
2372 15 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2373
2374 Add RC_TTY_NUMBER to /etc/conf.d/rc to configure how many tty devices
2375 are used in scripts such as consolefonts, numlock, etc. This should
2376 close bug #39863.
2377
2378 Fix type-o in /etc/init.d/consolefont, bug #40938, thanks to patch from
2379 Cory Tusar <ctusar@adelphia.net>.
2380
2381 09 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2382
2383 Add SELinux modifications to /sbin/runscript. This allows runscript to
2384 make sure it is running in the right domain. Patch done by
2385 Chris PeBenito <pebenito@gentoo.org>.
2386
2387 * rc-scripts 1.4.3.13 (08 Feb 2004)
2388
2389 08 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2390
2391 Fix wrong logic in /etc/init.d/halt.sh which did not umount all mounts
2392 _but_ /mnt/cdrom and /mnt/livecd.
2393
2394 Update /etc/init.d/consolefont to use newer kbd. Should also close
2395 bug #39864.
2396
2397 Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
2398 than install, as newer versions of install is located in /usr/bin. This
2399 closes bug #39648.
2400
2401 06 Feb 2004; Martin Schlemmer <azarah@gentoo.org>:
2402
2403 Tweak livecd support changes and add some more to hopefully sort out
2404 last issues, with help from Brad House <brad_mssw@gentoo.org>.
2405
2406 Add code to generate /dev/fd, /dev/std* and /dev/core to /sbin/rc,
2407 bug #37349.
2408
2409 * rc-scripts 1.4.3.12p3 (21 Jan 2004)
2410
2411 19 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
2412
2413 Add /sbin/livecd-functions.sh from Brad House <brad_mssw@gentoo.org>
2414 for livecd support. Add bits to /sbin/rc to support it.
2415
2416 06 Jan 2004; Martin Schlemmer <azarah@gentoo.org>:
2417
2418 Fix type-o in /etc/init.d/checkfs, bug #37113.
2419
2420 29 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
2421
2422 Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
2423 src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
2424 then gawk -v. Also add some tests to see if we got the environment
2425 variables.
2426
2427 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
2428
2429 Fix /sbin/rc to mount /dev/pts with gid=5 and mode=0620, bug #36088.
2430
2431 * rc-scripts 1.4.3.12p2 (27 Dec 2003)
2432
2433 26 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
2434
2435 Update code to generate /dev from /sys. Add UDEV_NO_SLEEP=1 for
2436 hack to not make udev sleep - its not needed as these entries
2437 are already present, and not a hotplug event.
2438
2439 Update /etc/init.d/{consolefont,numlock} to work with udev managed
2440 /dev that have devfs layout.
2441
2442 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org>:
2443
2444 Fix type-o in /sbin/rc, bug #34837.
2445
2446 * rc-scripts 1.4.3.12p1 (26 Nov 2003)
2447
2448 26 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
2449
2450 Fix /etc/init.d/halt.sh to reset pam_console permissions, else
2451 the next bootup might be done with some non-root nodes which cause
2452 some odd issues.
2453
2454 Add code to generate /dev from sysfs entries - not much it currently
2455 support but block/tty devices, but it is a start for when we have
2456 full sysfs support in all drivers.
2457
2458 Revert carrier detection check, as there is currently too many
2459 issues with it, bug #33272.
2460
2461 Make sure we mount already mounted mount (done in /sbin/rc) with
2462 correct permissions, etc, bug #33764. Modified /etc/init.d/checkroot
2463 for this.
2464
2465 16 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
2466
2467 Fix carrier detection - we need to do a 'ifconfig $IFACE up' else
2468 some drivers do not set the IFF_RUNNING bit, bug #33272, thanks to
2469 Jason Rhinelander <jason-gentoo@gossamer-threads.com> for the fix.
2470
2471 15 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
2472
2473 Add a warning to cachedepends.awk if a rc-script's name ends in
2474 '.sh', bug #33134. Add better error checking to /sbin/depscan.sh.
2475
2476 Fix /etc/init.d/halt.sh to not try and remount virtual devices,
2477 also do a few cleanups. Closes bug #33271.
2478
2479 * rc-scripts 1.4.3.12 (11 Nov 2003)
2480
2481 11 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
2482
2483 Add carrier detection to /etc/init.d/net.eth0 closing bug #25480;
2484 patch by Jordan Ritter <jpr5+gentoo@darkridge.com>.
2485
2486 Add extra checks for critical directories to /sbin/rc.
2487
2488 04 Nov 2003; Martin Schlemmer <azarah@gentoo.org>:
2489
2490 Update /bin/rc-status giving a working '-u' parameter, bug #32417.
2491 Fix by Michael Frysinger <vapier@gentoo.org>.
2492
2493 31 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2494
2495 Add support for --tty switch added to setfont and remove consolechars
2496 support; modified /etc/init.d/consolefont for this. Also remove
2497 consoletools support from /etc/init.d/keymaps.
2498
2499 29 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2500
2501 We should still use /sbin/udev as hotplug agent if /sbin/hotplug do
2502 not exist. Updated /sbin/rc for this.
2503
2504 Add a fix to /etc/init.d/keymaps for bug #32111 (we should not have
2505 '-u' in the call to loadkeys when using unicode).
2506
2507 We should not use '-' in variable names for bash, bug #31184, thanks
2508 to Andreas Simon <yuipx@gmx.net>. Updated /sbin/MAKEDEV.
2509
2510 27 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2511
2512 Fix return code checking of fsck in /etc/init.d/checkfs, bug #31349.
2513
2514 26 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2515
2516 The unmount stuff in /etc/init.d/halt.sh was flawed, in the fact that
2517 it called 'umount -t no<insert_fs_here>', which resulted in /proc, etc
2518 unmounted anyhow. Change it to remount the last filesystems readonly
2519 without trying to unmount any. This fixes a few cases where reboot
2520 would halt due to unmounted /proc, etc.
2521
2522 This change set fixes two things:
2523 1) In exporting all functions/variables in functions.sh, rc-services.sh
2524 and rc-daemon.sh, we created an overly large environment, and also
2525 broke stuff like glftpd. Do not do this, and hope whatever caused
2526 the issues previously is fixed in the meantime. This should close
2527 bugs #25754 and #31794.
2528 2) gendepend.awk used to generate deptree with functions called
2529 depinfo_<scriptname> which set appropriate variables when called.
2530 This broke if the scriptname contained characters that is not valid
2531 for bash variable names. Changed things to use an array fixing this.
2532 This closes bug #24092.
2533
2534 Change /sbin/rc again to not set the hotplug agent to /sbin/udev, as
2535 /sbin/hotplug will call udev as well.
2536
2537 Fix a logic error in /lib/rcscripts/sh/rc-services.sh that cause the
2538 get_dep_info() function to skip the last entry in the RC_DEPEND_TREE
2539 array (in my case 'net').
2540
2541 We did not handle the 'net' dependency properly in valid_iuse() and
2542 valid_iafter(). Fix this in /lib/rcscripts/sh/rc-services.sh, closing
2543 bugs #30327 and #31950.
2544
2545 Change an occurance of /etc/modutils in modules-update.8 to
2546 /etc/modules.d/ closing bug #31171.
2547
2548 19 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2549
2550 More bootsplash fixes, bug #21019 (comment #21).
2551
2552 Remove the killall5 stuff from /etc/init.d/halt.sh, as it messes with
2553 bootsplash. Add support to kill processes still using non-critical
2554 mounts with fuser though.
2555
2556 17 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2557
2558 Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
2559 and #16 from bug #21019).
2560
2561 Bootsplash coded did not play nice with boot profiles, so I fixed that
2562 as well. Some other style tweaks.
2563
2564 Fix /sbin/MAKEDEV to use 'user:group' form, and not depriciated '.'.
2565 Also changed the permissions on tty's, ibcs and scanner devices
2566 to 0660.
2567
2568 * rc-scripts 1.4.3.11p2 (14 Sep 2003)
2569
2570 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2571
2572 Revert previous changes, and substitute it for the bootsplash patches
2573 from Michael Aichler <micha@aichler.net>, bug #21019. His www pages
2574 can be reached at:
2575
2576 http://www.aichler.net/gentoo/bootsplash/
2577
2578 I should note that the bootsplash stuff is not 100% tested.
2579
2580
2581 * rc-scripts 1.4.3.11p1 (14 Sep 2003)
2582
2583 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2584
2585 Initial bootsplash patch as from LiveCD's.
2586
2587 Add more tty's to /etc/init.d/numlock, bug #28252.
2588
2589 * rc-scripts 1.4.3.11 (14 Sep 2003)
2590
2591 14 Oct 2003; Martin Schlemmer <azarah@gentoo.org>:
2592
2593 Add initial udev support. Modified /sbin/rc and /etc/init.d/halt.sh.
2594 Resolves bug #27527.
2595
2596 Add squid to /etc/services, bug #30995. Other cleanups from rac.
2597
2598 Add patch from Kumba <kumba@gentoo.org> to MAKEDEV to not allow
2599 running while pwd is root (/).
2600
2601 Add 'after hotplug' to /etc/init.d/consolefont, bug #30856.
2602
2603 Add entry for floppy in /etc/fstab, bug #30574.
2604
2605 Remove changing group of /tmp/.{X,ICE}-unix, as it it not needed,
2606 bug #28861.
2607
2608 Apply a patch from Mike Frysinger <vapier@gentoo.org> for rc-status.
2609 It now will work with runlevels named with any characters (other than
2610 ones found in default bash IFS). It also adds a few sanity/error
2611 checks, bug #26432.
2612
2613 Change /etc/inputrc to have PageUp/PageDown search through bash
2614 history again, bug #26036.
2615
2616 14 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
2617
2618 Change update-modules to modules-update in manpage, bug #28101.
2619
2620 * rc-scripts 1.4.3.10p1 (08 Sep 2003)
2621
2622 08 Sep 2003; Martin Schlemmer <azarah@gentoo.org>:
2623
2624 Change the '-k' switch to dhcpcd to '-z' in /etc/init.d/net.eth0.
2625
2626 12 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
2627
2628 Add missing 'local x' to filter_environ() (bug #26429), thanks to
2629 Mark Wagner <mark@lanfear.net>. Modified rc-services.sh for this.
2630
2631 11 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
2632
2633 Modify /etc/init.d/modules not to print the autoloading stuff if
2634 no modules should be loaded (resolving bug #26288), per request from
2635 Michael Frysinger <vapier@gentoo.org>.
2636
2637 Fix get_bootparam() in /sbin/functions.sh to check for existance of
2638 the /proc/cmdline proc entry.
2639
2640 10 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
2641
2642 Modify /etc/init.d/halt.sh to first kill, and then deactivate swap on
2643 request of Luke-Jr <luke-jr@gentoo.org>. It should be ok now, as the
2644 whole way of devfs handling changed long ago already.
2645
2646 Fix /etc/init.d/halt.sh to unmount the mount point and not the device.
2647 Also change it to 'mount -d' to detach the loop device. Patch by
2648 Kalin KOZHUHAROV <kalin@ThinRope.net>, bug #26256.
2649
2650 Fix /etc/init.d/consolefont to not error out if CONSOLEFONT in rc.conf
2651 is not set, bug #26278 (noted by Michael Frysinger <vapier@gentoo.org>).
2652
2653 * rc-scripts 1.4.3.10 (04 Aug 2003)
2654
2655 04 Aug 2003; Martin Schlemmer <azarah@gentoo.org>:
2656
2657 Add /bin/rc-status and 'show' support to /sbin/rc-update (long overdue),
2658 bug #4222, thanks to Sean E Russell <ser@germane-software.com>,
2659 Michael Frysinger <vapier@gentoo.org> (/bin/rc-status) and for the 'show'
2660 stuff to /sbin/rc-update, Max Kalika <max@gentoo.org>.
2661
2662 Fixed modules-update to only do the /etc/modprobe.conf generation if we
2663 are actually running a 2.5+ kernel.
2664
2665 Add pop3 entries to /etc/services, bug #25501.
2666
2667 Add a switch for devfsd startup to /etc/conf.d/rc, fix /sbin/rc to check
2668 RC_DEVFSD_STARTUP. Closes bug #24361, thanks to patches from
2669 Kurt V. Hindenburg <khindenburg@cherrynebula.net>.
2670
2671 Add LVM2 support thanks to Max Kalika <max@gentoo.org> (bug #21908).
2672
2673 Add IPV6 versions of localhost and co in /etc/hosts, bug #25859.
2674
2675 Fix type-o in /sbin/rc-update, bug #25854.
2676
2677 29 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2678
2679 Tweak /etc/init.d/check{root,fs} to set retval after each fsck call,
2680 and not the whole block. Tweak check checkroot to reboot if need be
2681 (This is with sufficient warning and message). Tweak checkfs to not
2682 drop to a sulogin if return code 2 or 3 is given - as we did not
2683 mount the filesystems yet, we should not need to reboot ... bug #25398.
2684
2685 Add '-T' option to fsck (/etc/init.d/check{root,fs} - requested by
2686 Michael Frysinger <vapier@gentoo.org>.
2687
2688 28 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2689
2690 Rework changes for the Adelie project to support boot config profiles
2691 better. Added support for /etc/runlevels/LEVEL/.fake to specify which
2692 runlevels should be marked started or stopped without executing the
2693 script. Renamed the /etc/runlevels/LEVEL/critical to ".critical" for
2694 more uniformity. Modified /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh
2695 for this.
2696
2697 Add better support for services that provide the "logger" virtual. We
2698 should really start the logger earlier, and stop it as late as possible.
2699 Modified /sbin/rc, /lib/rcscripts/sh/rc-services.sh and gendepends.awk
2700 for this.
2701
2702 Fix .../boot/... paths hardcoded in /lib/rcscripts/sh/rc-services.sh,
2703 thanks to Jean-Francois Richard <jean-francois@richard.name>.
2704
2705 Replace the Suse /etc/inputrc with a non copyrighted one, bug #24918.
2706
2707 23 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2708
2709 From Jean-Francois Richard <jean-francois@richard.name> and
2710 Olivier Crete <tester@gentoo.org> from the Adelie project:
2711
2712 The last four patches are the "adaptation" of our previous patches to
2713 the new "no-tmpfs" init system in Gentoo. Since we were using quite
2714 different scripts for the boot runlevel (no "checkroot" for example) and
2715 that the new system hardcodes some of the boot services, we had to find
2716 a simple yet elegant solution.
2717
2718 We chose to make init scripts read "/etc/runlevels/LEVEL/critical" to
2719 know what are the boot runlevel services. If this file is not present,
2720 it uses the Gentoo hardcoded defaults.
2721
2722 This touches /sbin/rc, /sbin/functions.sh, /sbin/runscript.sh and
2723 /etc/init.d/halt.sh.
2724
2725 I just changed the behaviour of 'softlevel' kernel command line argument
2726 to not only add a suffix and some other cleanups.
2727
2728 Add support for irqbalance.
2729
2730 22 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2731
2732 Fix the /dev/root entry in /etc/mtab, bug #24916.
2733
2734 Add EVMS2 support, thanks to Mike Javorski <mike_javorski@bigfoot.com>,
2735 bug #24064.
2736
2737 * rc-scripts 1.4.3.9 (17 Jul 2003)
2738
2739 17 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2740
2741 Add vlan support to /etc/init.d/net.eth0, bug #15588, thanks to
2742 Andy Dustman <andy-gentoo.54e552@dustman.net>.
2743
2744 Add 'TERM=Eterm' to /etc/DIR_COLORS, bug #23423.
2745
2746 Add mdadm support to /etc/init.d/checkfs, bug #23437, many thanks
2747 to Wes Kurdziolek <wkurdzio@vtluug.org>.
2748
2749 Rather use 'uname -r' to get kernel version, as else we need sysctl.
2750 This closes bug #23923, modified /etc/init.d/modules.
2751
2752 Fix a type-o in /etc/fstab, bug #23308.
2753
2754 Add support for the new 'O' agetty option to display the DNS domainname
2755 in the issue file thanks to Marius Mauch <genone@genone.de>, bug #22275.
2756 Updated /etc/issue and /etc/issue.logo for this.
2757
2758 16 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2759
2760 Add aliases for add/del to /sbin/rc-update closing bug #24317, thanks
2761 to Antonio Dolcetta <zagarna@yahoo.com>.
2762
2763 Fix /etc/init.d/net.eth0 to not set rp_filter if already set via
2764 /etc/sysctl.conf, bug #24235 - thanks jochen <jochen.eisinger@gmx.de>.
2765
2766 Fix /sbin/runscript.sh and /lib/rcscripts/awk/cachedepend.awk to work
2767 with symlinks in /etc/init.d/, closing bug #24228.
2768
2769 Fix /etc/init.d/clock to work with UML, closing bug #24225 thanks to
2770 John Mylchreest <johnm@gentoo.org>.
2771
2772 Fix hardcoded color escape sequence in /sbin/rc, closing bug #24109,
2773 thanks to splite <splite-gentoo@sigint.cs.purdue.edu>.
2774
2775 Fix /sbin/functions.sh to disable color printing if NOCOLOR is set to
2776 "true" in /etc/make.conf, closing bug #24107.
2777
2778 Fix /etc/init.d/keymaps to be more non-x86 friendly, and also allow
2779 more keymaps to be specified in /etc/rc.conf, bug #24084.
2780
2781 15 Jul 2003; Martin Schlemmer <azarah@gentoo.org>:
2782
2783 Add /bin/csh to /etc/shells.
2784
2785 Add new protocols to /etc/services, thanks Rajiv Aaron Manglani
2786 <rajiv@gentoo.org>.
2787
2788 23 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
2789
2790 Cleanups for bug #21438 from bug #22637, thanks to
2791 Christian Strauf <christian.strauf@gmx.de> and Ian Abbott <ian@abbott.org>.
2792
2793 22 Jun 2003; Martin Schlemmer <azarah@gentoo.org>:
2794
2795 Really commit fix for bug #21438 to CVS.
2796
2797 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2798
2799 Call /proc mount with explicit options to fix issues where user
2800 have 'bind' mounts for /proc in fstab as well, bug #21068.
2801
2802 Fix /etc/init.d/bootmisc to check for /sbin/env-update.sh, bug #21384,
2803 reported by Gunnlaugur Thor Briem <gthb@hi.is>.
2804
2805 Add 'before bootmisc' to /etc/init.d/domainname, as we need to start
2806 it before 'env-update.sh' gets run by /etc/init.d/bootmisc.
2807
2808 * rc-scripts 1.4.3.8p1 (21 May 2003)
2809
2810 21 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2811
2812 Last fix I did not use the modified 'myservice', but used $1 again,
2813 causing the network dependencies to bork. I did not notice this
2814 as I have net.eth0 in default runlevel.
2815
2816 * rc-scripts 1.4.3.8 (20 May 2003)
2817
2818 20 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2819
2820 A '-' in a bash variable is not valid as well. Fix gendepend.awk and
2821 rc-service.sh to handle this, thanks to YAMAKURA Makoto
2822 <makoto@dsb.club.ne.jp>.
2823
2824 Move /etc/issue to /etc/issue.logo, and have /etc/issue only print info
2825 about the host it is running on.
2826
2827 18 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2828
2829 Do not let devfsd handle /dev/log's permission management, as it breaks
2830 selinux. Modified /etc/devfsd.conf, changes submited by Chris PeBenito
2831 <pebenito@gentoo.org>.
2832
2833 Fix type-o in /etc/init.d/net.ppp0, and add local ip-up/ip-down support.
2834
2835 14 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2836
2837 We should not export the RC_GOT_* variables, as it breaks on some systems,
2838 thanks to J?rg Gollnick <gentoo-bugs@wurzelbenutzer.de>, bug #20851.
2839
2840 From C. Brewer <killian@gentoo.org>:
2841 - Add hide-password to the connect cmd-line of /etc/init.d/net.ppp0, which is
2842 suppose to be default, but why take chances?
2843 - Also, echoing chmod 640 in the resolv.conf two-step at the end to solve the
2844 kppp complaint.
2845
2846 13 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2847
2848 For the network functions, the dependency code tried to create a funcion
2849 with a '.' in the name, causing the network rc-scripts to not have any
2850 dependencies. This should fix bug #20849 's order issue, thanks to
2851 YAMAKURA Makoto <makoto@dsb.club.ne.jp> for noticing.
2852
2853 Fix query_{before,after} to also check 'net' if 'service2' is a network
2854 service.
2855
2856 12 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2857
2858 More cleanups:
2859 - Move the broken stuff from symlinks to a DB entry in ${svcdir}/deptree.
2860 Updated /sbin/runscript.sh, /sbin/rc-services.sh and gendepend.awk for
2861 this.
2862 - Add functions for more common tasks in /sbin/runscript.sh to
2863 /sbin/rc-services.sh.
2864 - Move 'consoletype' to /sbin.
2865 - Rename /sbin/rc-envupdate.sh to /sbin/env-update.sh; updated
2866 /etc/init.d/bootmisc for this.
2867 - Move rc-services.sh, rc-daemon.sh and rc-help.sh to /lib/rcscripts/sh.
2868 - Improve detection of circular depends ... modified gendepend.awk for this.
2869
2870 * rc-scripts 1.4.3.7 (11 May 2003)
2871
2872 11 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2873
2874 Too many things to remember, so here is changes of note:
2875 - More changes to gendepend.awk. This basically modifies it to not use
2876 symlinks in $svcdir/{need,use,before,after,provide} anymore, but rather
2877 create a file that can be sourced. Seems to speedup things nicely.
2878 - Add /sbin/rc-services.sh. This is basically a module to get dependency
2879 info from the new $svcdir/deptree, and some other new service functions.
2880 - Modify the whole works to *only* source all needed files once. This
2881 includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}. Also
2882 rc-services.sh will only source $svcdir/deptree once. /sbin/runscript.sh
2883 is sourced more than once (actually each time a service is started or
2884 stopped, but is is cut down much). Also seems to speed things up again.
2885 - Fix a long outstanding bug in gendepend.awk that caused the 'net'
2886 dependency to not be actually used in shutdown, causing the services
2887 needing it to be stoped before net.* services.
2888 - Add the RC_PARALLEL_STARTUP variable, with schedule_service_startup() to
2889 /sbin/rc-services.sh and /etc/conf.d/rc. This is experimental parallel
2890 startup of services, and seems to work nicely. Only issues to date is
2891 that printing of messages is not synced, and a race very intermittantly
2892 that causes a service to be started when it was already scheduled.
2893 - Add a new dependency type 'parallel' that can be used to control if a
2894 service can be started in paralled or not. Possible arguments is "yes"
2895 or "no"; if it is not present, it is considered as "yes":
2896
2897 depend() {
2898 parallel yes|no
2899 }
2900
2901 Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
2902 - Fix the 'single' runlevel to actually work properly, and without a
2903 /etc/runlevels/single directory.
2904 - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL properly.
2905 Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of BOOT.
2906
2907 08 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2908
2909 Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up nicely,
2910 and adding more sanity checks.
2911
2912 04 May 2003; Martin Schlemmer <azarah@gentoo.org>:
2913
2914 Revert /etc/init.d/hostname the way it was, as it should be the user's
2915 choice if he want to have a FQDN in there or not, bug #14946.
2916
2917 Add /etc/init.d/domainname for those that want to use it.
2918
2919 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
2920
2921 Change the root check back the way it was, else it breaks with non bash
2922 shells; modified /etc/profile.
2923
2924 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
2925
2926 Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140.
2927
2928 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
2929
2930 Add various patches from Rachel Holmes <rach@gmx.net>:
2931
2932 Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that
2933 purpose. Modified:
2934
2935 /etc/init.d/net.ppp0
2936 /etc/init.d/nscd
2937 /sbin/functions.sh
2938 /sbin/rc
2939 /sbin/rc-daemon.sh
2940 /sbin/rc-envupdate.sh.bash
2941 /sbin/runscript.sh
2942
2943 Exchanged some gratuitous use of awk for grep. Awk is a little resource
2944 hungry just for a simple test. (I [azarah] did not apply the changes to
2945 tests for 'devfs', as having 'usbdevfs' in the equation will break
2946 things). Modified /sbin/rc for this.
2947
2948 Gentoo enforces having /proc, so uname -r is a little redundant when the
2949 information is available without an external command. Modified:
2950
2951 /etc/init.d/modules
2952 /etc/init.d/serial
2953 /sbin/functions.sh
2954 /sbin/modules-update
2955
2956 Changed 'id -u' commands to use $EUID in bash executed scripts, same
2957 result no extra command. Modified:
2958
2959 /sbin/rc-envupdate.sh
2960 /sbin/rc-envupdate.sh.bash
2961 /sbin/rc-update
2962
2963 Removed all the cat sections, and the separate echo sections. The output
2964 is _exactly_ the same, minus some spare spaces that have been removed.
2965 Fourfold speed increase in the (granted flimsy) tests I have done.
2966 Modified /sbin/rc-help.sh for this.
2967
2968 Final remaining 'cat' commands removed, in favour of using bash's internal
2969 '$(< )' or 'echo'. Use of echo leads the way to future support for bash's
2970 i18n anyway. Modified:
2971
2972 /sbin/rc
2973 /sbin/rc-envupdate.sh
2974 /sbin/rc-envupdate.sh.bash
2975
2976
2977
2978 * rc-scripts 1.4.3.6 (27 Apr 2003)
2979
2980 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
2981
2982 Add a 'save' function /etc/init.d/clock, bug #19685.
2983
2984 Add a slocate group to /etc/group, bug #19604.
2985
2986 Do not stop a network service if we do not reboot on runlevel change,
2987 as it could have been started by the user or hotplug. This should
2988 address bug #12763; modified /sbin/rc for this.
2989
2990 Fix /etc/init.d/hostname to set only the hostname, and not the NIS
2991 domainname.
2992
2993 Fix /etc/init.d/keymaps to be able to set the extended keymap in rc.conf.
2994 This should close bug #16884.
2995
2996 Fix /etc/profile to be /bin/sh compadible, bug #18918.
2997
2998 Change the swap comments in /sbin/rc to "Activating (possible) swap" to
2999 be more 'generic' ? Only try to disable swap if any devices/files was
3000 activated. This should close bug #19089.
3001
3002 Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to
3003 rw in /etc/fstab, bug #19158.
3004
3005 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3006
3007 Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called,
3008 but the ppp link was already down, bug #15333.
3009
3010 12 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3011
3012 Fix type-o in /etc/init.d/consolefont (line 38 should be 'retval=$?').
3013 Thanks to Matt Taylor <liverbugg@juno.com> (comment #6, bug #18344).
3014
3015 From linux-2.5.68, we need to mount devpts on /dev/pts again ...
3016 updated /sbin/rc for this.
3017
3018 11 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3019
3020 Fix errors on sourcing /etc/profile if EDITOR is not set, bug #18995.
3021
3022 10 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3023
3024 Make checking in unmount more strict, fixing bug #19007.
3025
3026 09 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3027
3028 Add one more check to genenviron.awk, to spot cases where there is a
3029 space between the variable and the '='.
3030
3031 08 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3032
3033 Fix interactive shell not to have coloured prompt when used as a
3034 dumb client, bug #18886. Fix was inspired by patch from
3035 Matthew Kennedy <mkennedy@gentoo.org>.
3036
3037 * rc-scripts 1.4.3.5 (06 Apr 2003)
3038
3039 06 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:
3040
3041 Hopefully get the serial support sane again. Added /bin/consoletype
3042 from Redhat to check for serial console. This should resolve bug
3043 #18329 partly.
3044
3045 Add the --nocolor option to suppress the use of colors.
3046
3047 Change the 'status' option to return true if the service is running,
3048 and false if stopped. This is only if the '--quiet' flag was also
3049 given.
3050
3051 Change the start and stop options not to output or return false if
3052 the '--quiet' flag was given.
3053
3054 Redirect stderr for consolechars in /etc/init.d/consolefont to /dev/null
3055 as well, fixing bug #18344.
3056
3057 Optimize $EDITOR extraction in /etc/profile closing bug #18614, thanks to
3058 Aron Griffis <agriffis@gentoo.org>.
3059
3060 Set HALT to 'shutdown' or 'reboot' depending on if we are shutting down
3061 or rebooting.
3062
3063 30 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3064
3065 Fix bug #18329 ... $COLS was not setup properly for serial console.
3066
3067 24 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3068
3069 Optimize USB fs stuff in /etc/init.d/localmount to use less cats etc.
3070 Fix a problem where it might not have mounted the USB fs when usbcore
3071 was compiled as module, and the kernel did not mount it by the time
3072 the script was started. Get it to rather check what filesystems is
3073 supported when deciding if it should use 'usbdevfs' or 'usbfs', as
3074 later 2.4 kernels now also support the newer 'usbfs'.
3075
3076 Optimize RAID stuff in /etc/init.d/checkfs a bit.
3077
3078 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3079
3080 Update sbin/rc-envupdate.sh.bash for bug #17549.
3081
3082 * rc-scripts 1.4.3.4 (16 Mar 2003)
3083
3084 16 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3085
3086 Add /etc/issue done by a Polish ascii-artists, v|rus with some slight
3087 modifications (purple and display hostname, etc). Closes bug #16806.
3088
3089 Add 'use hotplug' to /etc/init.d/net.eth0, to get cardbus hardware to
3090 work properly. Closes bug #17348.
3091
3092 Add update from Wout Mertens <wmertens@gentoo.org> to speedup shutdown
3093 of dhcp interfaces, closing bug #17378. This modified /etc/init.d/net.eth0.
3094
3095 11 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3096
3097 Fix usage of /usr/bin/cut in /sbin/functions.sh, thanks Brandon Low
3098 <lostlogic@gentoo.org>!
3099
3100 10 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3101
3102 Add sysfs support for 2.5 kernels (mounted to /sys). Updated /sbin/rc
3103 and /etc/init.d/halt.sh for this.
3104
3105 Update /etc/fstab to correctly mount /proc with:
3106
3107 mount -t proc none /proc
3108
3109 Do the same for /dev/shm:
3110
3111 mount -t tmpfs none /dev/shm
3112
3113 Fix a typeo in /etc/init.d/checkroot that caused 'umount -a' to output
3114 noise if we exited a recovery console.
3115
3116 Fix /etc/init.d/hostname using /usr/bin/cut, closing bug #17175, thanks
3117 to Bobby Bingham <uhmmmm@columbus.rr.com> for noticing this.
3118
3119 Bring down default gateway before adding new one .. this fixes issues
3120 where eth0/whatever was brought up by kernel. Changed /etc/init.d/net.eth0
3121 for this, closing bug #17164. Thanks to nth <y.lesaint@free.fr> for the
3122 fix.
3123
3124 Fix /etc/init.d/modules to call modprobe with -q .. this fix issues where
3125 it fails for module-init-tools if the module is already loaded. This
3126 closes bug #17163, thanks to nth <y.lesaint@free.fr>.
3127
3128 * rc-scripts 1.4.3.3 (09 Mar 2003)
3129
3130 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3131
3132 Fix /etc/init.d/netmount not to unmount / on nfs/whatever, bug #16274.
3133
3134 Fix net.eth0 not to try and start an interface if already up.
3135
3136 Update MAKEDEV from Debian to support more archs. This adds support
3137 for 'arm', 'hppa' among others. URL:
3138
3139 http://packages.debian.org/stable/base/makedev.html
3140
3141 Add support to /etc/init.d/modules to use /etc/modules.autoload/kernel-2.4
3142 if we are using a 2.4 kernel, and /etc/modules.autoload/kernel-2.5 if we
3143 are using a 2.5 kernel ... bug #17109.
3144
3145 02 Mar 2003; Martin Schlemmer <azarah@gentoo.org>:
3146
3147 Update /etc/init.d/hostname to only set the hostname to whatever is before
3148 the first '.', and then set the domainname to the rest, closing bug #14946.
3149
3150 28 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3151
3152 Merge some of the optimizations from Graham Forest <vladimir@gentoo.org>.
3153
3154 Fix spelling of dependency and some other spelling/grammer issues.
3155 Thanks goes to Kerin Millar <kerin@recruit2recruit.net> and
3156 Mike Frysinger <vapier@gentoo.org>, bug #15498.
3157
3158 Change $svcdir to '/var/lib/init.d' to be more FHS compliant, bug #15192.
3159
3160 Add 'Eterm' to /etc/skel/.bashrc, closing bug #14662.
3161
3162 Adjust comments about PROTOCOLS in /etc/rc.conf to try and prevent
3163 bug #14556.
3164
3165 27 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3166
3167 Finally fix /etc/init.d/halt.sh to unmount non critical mounts properly.
3168
3169 20 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3170
3171 Kill /dev/ttyp0 error at boot by changing test in /etc/init.d/modules
3172 to 'test -c /dev/ttyp0 &> /dev/null'.
3173
3174 18 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3175
3176 Update /sbin/modules-update to generate /etc/modprobe.devfs from
3177 /etc/modules.devfs. This along with the devfs-hack.patch in the latest
3178 module-init-tools-0.9.9 should get rid of many of the warnings/errors
3179 with devfs, and makes it work a bit better.
3180
3181 17 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3182
3183 Fix /etc/inputrc for dvorak keyboard layout, bug #2599 again.
3184
3185 16 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3186
3187 Fix the 'source /etc/profile.env' to be '. /etc/profile' to have ksh
3188 support. This resolves bug #14994.
3189
3190 Move EDITOR to /etc/rc.conf. Also update /etc/profile to set EDITOR
3191 according to /etc/rc.conf.
3192
3193 Update /etc/init.d/checkfs to fix bug #14282. It did not exclude comments,
3194 and used 'basename' which is located in /usr/bin.
3195
3196 13 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3197
3198 Merge changes from Nick Jones <carpaski@gentoo.org> to not run stty if
3199 used in portage. Fix the NOCOLOR stuff. Updated /sbin/functions.sh for
3200 this.
3201
3202 06 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3203
3204 Update src/awk/genenviron.awk to properly set the environment for each
3205 rc-script's depend() function by sourcing required config files.
3206
3207 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3208
3209 Fix /sbin/rc-envupdate.sh to use $svcdir to set SVCDIR. This is thanks
3210 to Max Kalika <alkern23@yahoo.com>, bug #15050.
3211
3212 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org>:
3213
3214 Fix /sbin/modules-update to work with module-init-tools-0.9.9.
3215
3216 30 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3217
3218 Add 'use isapnp' to /etc/init.d/modules, closing bug #14677, thanks to
3219 Hubert Hanghofer <hubert.hanghofer@netbeer.co.at>.
3220
3221 27 Jan 2003; Donny Davies <woodchip@gentoo.org>:
3222
3223 Fix halt.sh by moving the nut UPS kill power stuff back into a function!
3224 Add fix from the wonderful analysis of Toby Dickenson
3225 <tdickenson@geminidataloggers.com> in #12947.
3226
3227 26 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3228
3229 Fix start-stop-daemon to check the call to nice() correctly for failure,
3230 closing bug #14359, thanks to YAMAKURA Makoto <makoto@dsb.club.ne.jp>.
3231
3232 Fix globbing $? when checking return value of fsck in /etc/init.d/checkroot
3233 and /etc/init.d/checkfs. This closes bug #13320, thanks to good work from
3234 Malcolm Scott <m@lcolm.org.uk>.
3235
3236 21 Jan 2003; Mike Frysinger <vapier@gentoo.org>:
3237
3238 Updated /etc/rc.conf to add elogin/entrance support #13790.
3239
3240 21 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3241
3242 Update /etc/init.d/keymaps to enable unicode if required. This closes
3243 bug #14306 thanks to Danny Milosavljevic <danny_milo@yahoo.com>.
3244
3245 19 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3246
3247 Fix deadlock durning shutdown if tmpfs filesystems larger than free
3248 memory, and swap gets deactivated, bug #13599. Updated /etc/init.d/halt.sh
3249 for this.
3250
3251 Merge in some fixes from Vapier <vapier@gentoo.org> to /sbin/functions.sh.
3252 This closes bug #13868.
3253
3254 Always add "/bin:/sbin:/usr/bin:/usr/sbin" to PATH, as it fixes both
3255 'su -c foo' not finding start-stop-daemon (etc), and bug #14127.
3256
3257 Add route for lo interface to /etc/init.d/net.lo, closing bug #14055.
3258
3259 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3260
3261 Clear $svcdir in /sbin/rc before we run depscan to make sure we do
3262 not have stale entries left from hard reboot, thanks to pac1085 on
3263 irc.
3264
3265 * rc-scripts 1.4.3.2 (15 Jan 2003)
3266
3267 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3268
3269 Truely fix bootup on seperate /var.
3270
3271 Add some fixes and optimizations to /sbin/rc-update, thanks to
3272 Daniel Robbins <drobbins@gentoo.org>.
3273
3274 * rc-scripts 1.4.3.1 (15 Jan 2003)
3275
3276 15 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3277
3278 Fix bootup on seperate /var.
3279
3280 14 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3281
3282 Fix /etc/init.d/hostname and /etc/init.d/serial to close bug #13636.
3283
3284 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3285
3286 Fix /etc/init.d/keymaps to force linux keycodes for PPC, thanks
3287 to Olaf Hering <gentoo@aepfle.de>, bug #13193.
3288
3289 Turn on -C option to fsck on for all calls to fsck. Updated scripts
3290 /etc/init.d/checkroot and /etc/init.d/checkfs, closing bug #13321.
3291
3292 * rc-scripts 1.4.3.0 (07 Jan 2003)
3293
3294 07 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3295
3296 Too much to mention, but here are a few:
3297 - Major rewrite of software RAID startup, based on Mandrake's, as
3298 ours was pretty broken :(
3299 - Redone /sbin/rc to work without the tmpfs/ramfs stat directory.
3300 Much of /sbin/functions.sh and other scripts have been changed
3301 to support this.
3302 - Reworked /etc/inittab to support this. Also moved critical
3303 mounting of local filesystems to 'sysinit' function of /sbin/rc.
3304 - Move state directory to /var/state/init.d/ ($svcdir).
3305 - Move Adelie node init to /sbin/functions.sh to try and simplify
3306 /sbin/rc a bit.
3307 - Updated Copyright dates to 2003.
3308
3309 * rc-scripts 1.4.2.8 (06 Jan 2003)
3310
3311 02 Jan 2003; Martin Schlemmer <azarah@gentoo.org>:
3312
3313 Fix src/awk/genenviron.awk to work with multiple 'need', 'use', etc
3314 lines, as it seems users do not note the need to have them all on
3315 one line ....
3316
3317 Fix /sbin/runscript.sh to detect 'net.adsl', or any other net.*
3318 script not ending on a digit. This closes bug #12887.
3319
3320 Fix get_KV to also check micro version of kernel; add KV_to_int()
3321 helper function for get_KV. Update /etc/init.d/localmount to work
3322 with new get_KV ...
3323
3324 28 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3325
3326 Add support for generate-modprobe.conf or generating /etc/modprobe.conf
3327 in the new sys-apps/module-init-tools. Note that you need version
3328 0.9.7 or later of sys-apps/module-init-tools. Updated
3329 /sbin/modules-update for this.
3330
3331 Change /etc/init.d/localmount to use 'usbfs' and not 'usbdevfs' if
3332 we are running kernel 2.5 or later ...
3333
3334 26 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3335
3336 Add /etc/init.d/crypto-loop and /etc/conf.d/crypto-loop, a cool
3337 rc-script to setup encrypted loopback devices. This was kindly
3338 donated by Matthew Kennedy <mkennedy@gentoo.org> (bug #11471).
3339
3340 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3341
3342 Fix src/awk/genenviron.awk stripping *all* '=', closing
3343 bug #8901.
3344
3345 Fix src/awk/genenviron.awk not seperating CONFIG_PROTECT with
3346 spaces ...
3347
3348 * rc-scripts 1.4.2.7 (24 Dec 2002)
3349
3350 24 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3351
3352 Add a fix to /sbin/functions.sh for bug #12601.
3353
3354 22 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3355
3356 Add INFOPATH to /etc/env.d/00basic.
3357
3358 Fix src/awk/genenviron.awk to get the order of the env.d files
3359 correct. Also fix it to handle *all* the SPECIALS correctly.
3360 This closes bug #12411.
3361
3362 * rc-scripts 1.4.2.6 (18 Dec 2002)
3363
3364 18 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3365
3366 Add mips changes to sbin/MAKEDEV. This should close bug #12329,
3367 thanks to Nicholas Wourms <nwourms@netscape.net>.
3368
3369 Quote some tests in /sbin/rc-update to fix/avoid the problem
3370 in bug #
3371
3372 Fix awk regex in /etc/init.d/halt.sh to fix bug #11795.
3373
3374 Update shell for postgres user, closing bug #12258.
3375
3376 11 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3377
3378 Fix src/awk/genenviron.awk not to add duplicate entries, closing
3379 bug #8999.
3380
3381 * rc-scripts 1.4.2.5 (09 Dec 2002)
3382
3383 08 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3384
3385 Add another sync to /etc/init.d/halt.sh, closing bug 8173.
3386
3387 Add smmsp uid and gid. Closes bug #8952.
3388
3389 04 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3390
3391 Setup colums, etc up properly for serial consoles in /sbin/functions.sh.
3392 Closes bug #11557, thanks to Erik Scrafford <erik@scrafford.org>.
3393
3394 Add headers similar to that of portage-2.0.45 and up to the
3395 generated profile files (/etc/{profile,csh}.env). Updated
3396 src/awk/genenviron.awk for this.
3397
3398 01 Dec 2002; Martin Schlemmer <azarah@gentoo.org>:
3399
3400 Fix typeo in /etc/devfsd.conf, closing bug #11424, thanks to the
3401 sharp eye of Techie2000 <Linux@mochamail.com>.
3402
3403 Rename /sbin/update-modules to /sbin/modules-update, closing
3404 bug #11445.
3405
3406 Nano moved from /usr/bin/nano to /bin/nano. Fix this in
3407 /etc/env.d/00basic, bug #10916.
3408
3409 27 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3410
3411 Add more improvements to clustering code. This is from
3412 Olivier Crete <crete@cerca.umontreal.ca>, bug #4151.
3413
3414 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3415
3416 Change default 'net' dependency behaviour to be more suited
3417 for notebook users. Basically if at least one net.* service
3418 beside net.lo start successfully, the 'net' dependency is
3419 considered up. Server admin can set RC_NET_STRICT_CHECKING="yes"
3420 in /etc/conf.d/rc to change this back to the old default.
3421 This is the start to address bug #2706.
3422
3423 * rc-scripts 1.4.2.4 (26 Nov 2002)
3424
3425 26 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3426
3427 Initial merge of bits for Adelie Linux for SSI clusters. More
3428 info at:
3429
3430 http://www.cerca.umontreal.ca/hpc/en/projects/adelie/index.html
3431
3432 25 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3433
3434 One liner fix to src/awk/cachedepends.awk to once again fix
3435 bug #7803.
3436
3437 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3438
3439 Add 'alias char-major-89 i2c-dev' to /etc/modules.d/aliases.
3440 This should close bug #10891.
3441
3442 * rc-scripts 1.4.2.3 (18 Nov 2002)
3443
3444 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3445
3446 Add some more checks to src/awk/*. Fix error printing for
3447 /sbin/depscan.sh.
3448
3449 Link awk module with gcc and not with ld. This should fix
3450 problems on sparc and alpha. Many thanks for this fix to
3451 Stephan Jones <cretin@gentoo.org>.
3452
3453 Remove the copyright info from config files, thanks to
3454 Matthew Kennedy <mkennedy@gentoo.org>.
3455
3456 * rc-scripts 1.4.2.2 (18 Nov 2002)
3457
3458 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3459
3460 Add src/awk/genenviron.awk which is rc-envupdate.sh ported
3461 to awk. This is also much faster than its bash version.
3462
3463 Remove the 'Spider cat fix' from depscan.sh.bash, as it makes
3464 things even slower on older boxes. Bug #10548.
3465
3466 After a bored Vapier decided that he needed to update the
3467 licenses of things in /etc :P, I did the rest. Hopefully
3468 not too many people will nuke thier fstab :/
3469
3470 * rc-scripts 1.4.2.1 (18 Nov 2002)
3471
3472 18 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3473
3474 Update src/awk/cachedepends.awk to find its own rc-scripts,
3475 fixing the need for find which broke systems with /usr on
3476 a different partition.
3477
3478 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3479
3480 Add some extra checks to src/awk/cachedepends.awk and
3481 src/awk/gendepends.awk.
3482
3483 Move some of the more generic functions in src/awk/gendepends.awk
3484 to src/awk/functions.awk.
3485
3486 * rc-scripts 1.4.2 (17 Nov 2002)
3487
3488 17 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3489
3490 Add initial version of new depscan.sh. This uses awk scripts
3491 to do the main work, giving about 10 times speed improvement on
3492 slower machines. Updated /sbin/depscan.sh, src/filefuncts.c,
3493 src/Makefile, src/awk/cachedepends.awk and src/awk/gendepends.awk
3494 for this. This should close bug #10548.
3495
3496 * rc-scripts 1.4.1.2 (5 Nov 2002)
3497
3498 5 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3499
3500 Add UID/GID of 250 for Portage Fakeroot account.
3501
3502 4 Nov 2002; Martin Schlemmer <azarah@gentoo.org>:
3503
3504 Change /etc/init.d/clock to depend on localmount again, fixing
3505 bug #10048.
3506
3507 Get deps on logger sane again. I wanted to get the logger started
3508 as early as possible, but clock for one breaks if /usr is mounted
3509 on seperate partition.
3510
3511 29 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
3512
3513 Fix return in /etc/init.d/modules to return 0 if /proc/modules
3514 do not exists. Closes bug #7738, comment #5.
3515
3516 * rc-scripts 1.4.1.1 (28 Oct 2002)
3517
3518 28 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
3519
3520 Fix /sbin/update-modules not to include backup files. Closes
3521 bug #9707.
3522
3523 26 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
3524
3525 Fix update-modules borking if there are directories present
3526 in /etc/modules.d/. Closes bug #9632.
3527
3528 17 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
3529
3530 Change deps on /etc/init.d/{clock,hostname,modules} not to
3531 depend on localmount, but rather on checkroot, as all of them
3532 just need / to be mounted. This should fix race conditions
3533 because of checkfs dependency on modules. This should close
3534 bug #9266.
3535
3536 * rc-scripts 1.4.1 (13 Oct 2002)
3537
3538 13 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
3539
3540 Create and fix permissions on /tmp/.{ICE,X11}-unix/. This
3541 is additional measures for bug #8281.
3542
3543 12 Oct 2002; Martin Schlemmer <azarah@gentoo.org>:
3544
3545 Update /etc/init.d/net.eth0 to fix bug #8626.
3546
3547 Fix /sbin/rc-update to check return code of "ln". This should
3548 close bug #8867.
3549
3550 29 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3551
3552 Fix indentation in /etc/inputrc. This should close
3553 bug #8368.
3554
3555 Add extended status functionality. Should close bug #2462.
3556
3557 Add support for /sbin/rc-update to check if the rc-script
3558 is executable or not. Thanks to widersacher@gmx.net, closing
3559 bug #8326.
3560
3561 25 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3562
3563 Fix /etc/init.d/bootmisc not to kill pidfiles of running
3564 daemons. Improve NGPT support in /sbin/rc a bit.
3565
3566 23 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3567
3568 Fix my last screwup with /etc/init.d/net.ppp0. Basically
3569 forgot to change a few DEVICE's to IFACE ...
3570
3571 22 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3572
3573 NGPT support.
3574
3575 17 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3576
3577 Did a small fix to /etc/init.d/net.eth0, thanks to
3578 naanyaar2000@yahoo.com, bug #7407.
3579
3580 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3581
3582 Add the permission stuff for generic scsi when compiled as
3583 module, thanks to Bauno <bauno@inwind.it>.
3584
3585 Add support for /etc/devfs.d/ for additional devfs config
3586 stuff .. idea from Denys Duchier <Denys.Duchier@ps.uni-sb.de>.
3587
3588 11 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3589
3590 Fix small type-o from last changes to /etc/init.d/netmount.
3591 Should resolve bug #7803.
3592
3593 * rc-scripts 1.4.0 (7 Sep 2002)
3594
3595 7 Sep 2002; Martin Schlemmer <azarah@gentoo.org>:
3596
3597 Update /etc/init.d/net.eth0 to handle individual broadcast
3598 and netmask for aliases. Should close bug #7407.
3599
3600 Give /var/run/utmp and /var/log/wtmp the proper permissions
3601 and ownership. First steps in fixing bug #7630.
3602
3603 Change Raid stuff again in /etc/init.d/checkfs.
3604
3605 26 Aug 2002; Donny Davies <woodchip@gentoo.org>:
3606
3607 Give root a 'root' GECOS in /etc/passwd, was NULL before.
3608
3609 * rc-scripts 1.3.9 (25 Aug 2002)
3610
3611 25 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
3612
3613 Update /sbin/rc to fix some spelling/slang mistakes. Closes
3614 bug #6887.
3615
3616 Move /etc/init.d/net.ppp0 's config to /etc/conf.d/net.ppp0.
3617 This closes bug #6378.
3618
3619 Add IPv6 support to /etc/init.d/net.eth0. Closes bug #6175,
3620 with many thanks to Asbjorn Sannes <ace@sannes.org>.
3621
3622 20 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
3623
3624 Update /etc/init.d/bootmisc to reset pam_console permissions.
3625
3626 Update /etc/devfsd.conf to have the "pam_console_apply_devfsd.so"
3627 line for getting devfs to work with pam_console.
3628
3629 12 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
3630
3631 Update /etc/init.d/keymaps to first load the windowkeys.inc then
3632 the user selected one, fixing bug #6295.
3633
3634 11 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
3635
3636 Change the 'cat' in check_rcscript() to a single 'awk' in
3637 /sbin/depscan.sh. This should fix broken pipe issues if the
3638 loop exists too early. Resolves bug #5961.
3639
3640 Fix software RAID startup/shutdown, bug #5310. Modified
3641 /etc/init.d/checkfs and /etc/init.d/halt.sh for this.
3642
3643 * rc-scripts 1.3.8 (08 Aug 2002)
3644
3645 7 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
3646
3647 Move the color ls stuff to .bashrc. Fix bug #5250.
3648
3649 6 Aug 2002; Dan Armak <danarmak@gentoo.org>:
3650
3651 Correct the comments in rc.conf about the XSESSION variable: it should
3652 be set to "kde-<version>" not "KDE". Closes bug #5948.
3653
3654 5 Aug 2002; Martin Schlemmer <azarah@gentoo.org>:
3655
3656 Fix the 'Usage' line in the help to return the correct options for
3657 the script (/sbin/runscript.sh). Resolve bug #6029.
3658
3659 3 Aug 2002; Donny Davies <woodchip@gentoo.org>:
3660
3661 Added UPS shutdown support for nut to halt.sh.
3662 Added nut user/group as uid/gid 84.
3663
3664 27 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
3665
3666 Updated /sbin/rc's way of checking for devfs support (now rather uses
3667 awk, as it is more accurate). Closes bug #5458.
3668
3669 Add the Redhat/Mandrake /forcefsck and /fastboot options to our checkroot
3670 and checkfs. Updated /etc/init.d/{checkroot,checkfs,halt.sh} for this.
3671 Thanks goes to Chris PeBenito (bug #5570).
3672
3673 Changed most daemons to use /bin/false as shell. Should close bug #5388.
3674
3675 27 Jul 2002; Nicholas Jones <carpaski@gentoo.org>:
3676
3677 Added vpopmail user and group as 89:89
3678
3679 22 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
3680
3681 Add the cyrus user to /etc/passwd. Resolves bug #4100.
3682
3683 Some bugfixes and speed improvements to /sbin/depscan.sh after
3684 last changes.
3685
3686 Replace some cat/grep's in /sbin/rc-envupdate.sh with awk's to
3687 get some speed improvements.
3688
3689 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
3690
3691 Fix LVM support in /etc/init.d/checkfs again, thanks to help from
3692 Kyle Manna <nitro@gentoo.org>.
3693
3694 Add software RAID support to /etc/init.d/checkfs, thanks to
3695 Daniel Ahlberg <aliz@gentoo.org>.
3696
3697 Update the cache_depend() funtion in /sbin/depscan.sh not to
3698 quit on any "}", but only on the one matching the first "{". This
3699 requires wc in /bin, so baselayout should depend on
3700 >=sys-apps/textutils-2.0.19-r2
3701
3702 Update /etc/init.d/netmount to try and detect nfs mounts that should be
3703 mounted automatically on boot. This requires awk in /bin, so baselayout
3704 should depend on >=sys-apps/gawk-3.1.0-r3.
3705
3706 * rc-scripts 1.3.7 (17 Jul 2002)
3707
3708 17 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
3709
3710 Add logging functionality to the rc-scripts, thanks to Alexander Holler,
3711 bug #4037 for the basic idea. Updated /sbin/functions.sh for this.
3712
3713 16 Jul 2002; Martin Schlemmer <azarah@gentoo.org>:
3714
3715 Add additional entries to /etc/services to support cyrus-imapd, thanks
3716 to Nick Hadaway <raker@gentoo.org>.
3717
3718 Update /etc/init.d/consolefont to resolve bug #4968. This fixes a
3719 problem with non 7bit ascii symbols.
3720
3721 Updated /etc/init.d/checkfs to detect if lvm is already active.
3722 This should resolve bug #3613.
3723
3724 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
3725
3726 Add "usb" group, gid 85. Move "sshd" user and group to 22. Move
3727 "games" user and group to 35
3728
3729 3 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
3730
3731 Update Copyright displayed at boot, thanks to Sascha Schwabbauer
3732 (aka cybersystem). Updated /sbin/rc for this.
3733
3734 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
3735
3736 Update /etc/skel/.bashrc to update the window title of X terminals
3737 that supports it. Closes bug #4232.
3738
3739 26 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
3740
3741 Add sshd user and group. Updated /etc/passwd and /etc/group for this.
3742
3743 Update /etc/inputrc to resolve bug #2599.
3744
3745 20 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
3746
3747 Add /opt/bin to $PATH and $ROOTPATH, closing bug #3603. Modified
3748 /etc/env.d/00basic for this.
3749
3750 Add some new daemon stop and pid detection stuff to /sbin/functions.sh.
3751 Nothing official, but I spent enough time on it not to want to loose it :)
3752
3753 Fixed a bug in /sbin/functions.sh that caused rc-scripts run as cron jobs
3754 to give output to stderr. This was caused by a call to "stty", which when
3755 run without a attatched terminal, have this effect. Basically just pipe
3756 stderr to /dev/null.
3757
3758 5 Jun 2002; Martin Schlemmer <azarah@gentoo.org>:
3759
3760 Add /usr/local/share/man to $MANPATH (/etc/env.d/00basic), resolving
3761 bug #3363
3762
3763 26 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3764
3765 Update /etc/init.d/netmount not to try and mount NFS filesystems
3766 if portmap was not started. This is to stop "hang" problems for
3767 new users who do not add portmap to the default runlevel. See
3768 bug #2555.
3769
3770 Add the video4linux stuff to /etc/devfsd.conf. Resolves bug #2015.
3771
3772 19 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3773
3774 Move $EDITOR from /etc/profile to /etc/env.d/00basic.
3775
3776 13 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3777
3778 Change the homes of user "at" and "cron" in /etc/passwd, as
3779 they moved to /var/spool/cron...
3780
3781 * rc-scripts 1.3.5 (12 May 2002)
3782
3783 12 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3784
3785 Make slight modifications to /sbin/depscan.sh to improve speed (about
3786 1 second on a celeron 633).
3787
3788 Finally fix /sbin/runscript.sh to properly handle interdependencies
3789 between types need/use and before/after on runlevel change. I can
3790 actually kick myself for previous implementations, as this fix simplifies
3791 things a lot, and is almost 30 lines of code less!
3792
3793 Change /etc/init.d/netmount not to fail if all mounts are not mounted.
3794 It rather just exit with a warning, as I think most people have like
3795 me mounts that are to boxes that are not always up.
3796
3797 Resolve bug #2439 (should not use try with the dd command for ramdisk
3798 stuff). Also increase the number of inodes used for the ramdisk to
3799 fix "out of space" errors. Updated /sbin/rc for this.
3800
3801 10 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3802
3803 Resolve bug #2505 ... /sbin/rc-envupdate.sh should not use
3804 backup files to generate /etc/profile.env.
3805
3806 Resolve bug #2489 and #2175. Modified /etc/init.d/net.eth0
3807 for this.
3808
3809 6 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3810
3811 Fixed /sbin/rc-envupdate.sh to only use the $KDEDIR of the highest
3812 /etc/env.d/ file. Same for $QTDIR.
3813
3814 5 May 2002; Martin Schlemmer <azarah@gentoo.org>:
3815
3816 Add /etc/DIR_COLORS as it is no longer shipped with fileutils,
3817 and is needed for some fixes.
3818
3819 28 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3820
3821 Update /etc/rc.conf to be more clear and state that you should
3822 remove consolefont from startup if you do not use it. Should
3823 resolve bug #2174.
3824
3825 26 Apr 2002; Donny Davies <woodchip@gentoo.org> passwd, group :
3826
3827 Added user/group apache with uid/gid 81.
3828
3829 25 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3830
3831 Remove the "-net" from the line setting the default gateway
3832 in /etc/init.d/net.eth0. Thanks to Peter W. Michaleas for
3833 noting this.
3834
3835 24 Apr 2002; Donny Davies <woodchip@gentoo.org> rc.conf :
3836
3837 Remove NFSSERVER from rc.conf since it's now covered in /etc/conf.d/nfs
3838 which is installed with the nfs-utils package. Also tidied up some
3839 really old, leftover junk like the non-supported stuff from rc5.
3840 Closes #1754.
3841
3842 23 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3843
3844 Remove creation of /var/run/utmpx from bootmisc again. Seems
3845 other people have wierd problems.
3846
3847 * rc-scripts 1.3.4 (21 Apr 2002)
3848
3849 21 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3850
3851 Add /sbin/rc-envupdate.sh to speedup updating of /etc/profile.env,
3852 and /etc/csh.env. Update /etc/init.d/bootmisc to use this.
3853
3854 Implement the status commandline argument. Updated /sbin/runscript.sh
3855 and /sbin/rc-help.sh for this.
3856
3857 Fix /sbin/depscan.sh to honour NEED and USE overriding BEFORE
3858 and AFTER.
3859
3860 12 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3861
3862 Update /etc/init.d/bootmisc to create /var/run/utmpx. This
3863 is needed, else /usr/bin/newgrp segfault.
3864
3865 11 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3866
3867 Update /etc/skel/.bash_profile to make it tcsh compadible.
3868 Thanks to Väinö Järvelä for this fix.
3869
3870 Update /etc/profile to also set the PS? variables if $SHELL
3871 is set to /bin/sh. This should make prompt colours in
3872 bootstrap work again.
3873
3874 Move LVM stuff to checkfs to ensure that they get fscked.
3875 This resolves bug #1552.
3876
3877 * rc-scripts 1.3.3 (5 Apr 2002)
3878
3879 5 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3880
3881 Move /etc/init.d/{depscan.sh,runscript.sh,functions.sh} to /sbin.
3882 This is done to try and ensure system integrity.
3883
3884 1 Apr 2002; Martin Schlemmer <azarah@gentoo.org>:
3885
3886 Add quotes to the "export INPUTRC=/etc/inputrc" line to resolve bug #1391.
3887
3888 Add a error message to /etc/init.d/consolefont, resolving bug #1415.
3889
3890 Add a bash check to the code that sets the prompt, fixing bug #1078.
3891
3892 * rc-scripts 1.3.2 (24 Mar 2002)
3893
3894 24 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3895
3896 Resolve bug #1274. Updated /etc/init.d/hostname and /etc/init.d/bootmisc
3897 for this.
3898
3899 With the "before" and "after" stuff, recursion levels was getting too high,
3900 and with some cases, things just plain did not work as it should. Reworked
3901 things to to lower the levels of recursion and get the order right. Updated
3902 /etc/init.d/runscript.sh for this.
3903
3904 Fixed a problem in /sbin/rc and /etc/init.d/runscript.sh where
3905 ${svcdir}/softlevel did not always exist, but runscript.sh tried to open it.
3906
3907 Enhance --quiet support. Updated /etc/init.d/functions.sh for this.
3908
3909 Remove /etc/pwdb.conf, as pwdb already install a copy of this.
3910
3911 Remove /etc/pam.d/{rexec,rlogin,rsh} as pam already install this.
3912
3913 Added $INPUTRC to /etc/profile, since too many people keep on bugging me,
3914 and it seems it has fallen now to my discression.
3915
3916 * rc-scripts 1.3.1 (23 Mar 2002)
3917
3918 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: init.d/net.eth0: fix for
3919 DHCP lease release from Jim Nutt.
3920
3921 23 Mar 2002; Daniel Robbins <drobbins@gentoo.org>: rolling a new release
3922 since there are a lot of important bug fixes in here that are needed.
3923
3924 23 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3925
3926 Resolve bug #1292.
3927
3928 Remove the extra 'depmod -a' in /etc/init.d/modules, thanks to
3929 Spidler.
3930
3931 21 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3932
3933 Update /sbin/rc to fix a 'cat mounts' instead of the correct
3934 version, 'cat /proc/mounts'.
3935
3936 19 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3937
3938 Add initial support for the --quiet flag that suppress output.
3939
3940 18 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3941
3942 Remove the 'try' from 'try /etc/init.d/depscan.sh' in /sbin/rc
3943 as not all errors by depscan.sh is critical. It should be
3944 reworked to do better error handeling.
3945
3946 14 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3947
3948 Fix the GID and UID of nobody and nogroup in /etc/passwd and
3949 /etc/group to match those of Debian, FBSD and others. Thanks
3950 to those who reported it, and Woodchip for looking up the
3951 proper values.
3952
3953 Update /etc/init.d/net.eth0 to properly down DHCP interfaces.
3954 This resolves bug #1150, thanks to Paul Fleischer.
3955
3956 11 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3957
3958 Updated /etc/init.d/functions.sh not to use /usr/bin/basename,
3959 as some users have /usr on seperate partition which is not
3960 mounted when depscan.sh is run the first time.
3961
3962 Updated the checking for more than one service providing the
3963 same virtual function in /etc/init.d/depscan.sh. It should
3964 be working now, and this also fix a problem that when there is no
3965 service providing a virtual, counter was used uninitialized.
3966
3967 * rc-scripts 1.3.0 (10 Mar 2002)
3968
3969 10 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
3970
3971 Resolved bug #1021; updated /etc/init.d/consolefont for this.
3972
3973 Resolved bug #1029; updated /etc/init.d/net.eth0 for this.
3974
3975 Resolved bug #990; updated /etc/init.d/net.eth0, /etc/init.d/netmount
3976 and /etc/init.d/localmount for this.
3977
3978 Lots of form/syntax cleanups, most things should be more
3979 consistant now. Fixed fail detection/return values of lots of
3980 scripts.
3981
3982 Lots of cleanup/fixes in the three main scripts behind our
3983 rc-system, /sbin/rc, /etc/init.d/depscan.sh, /etc/init.d/runscript.sh
3984
3985 Fix a bug regarding a invalid $PATH for portage if /etc/init.d/functions.sh
3986 is sourced in a ebuild.
3987
3988 Fix a bug that our rc-script wrapper introduced: Global variables
3989 in scripts no longer worked. Updated /etc/init.d/runscript.sh for
3990 this.
3991
3992 Implemented more error checking for the main startup code in /sbin/rc.
3993 Also fixed try() for mounting /proc (maybe all mount commands).
3994 The function worked fine in a simulated test, but in real life failed
3995 to detect a error when mounting /proc (remember to thank Grant for
3996 his UserMode ebuilds, and Guide).
3997
3998 * rc-scripts 1.2.9 (6 Mar 2002)
3999
4000 6 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
4001
4002 General form updates and some piping fixes.
4003
4004 Updated /etc/inittab, /etc/init.d/xdm and /etc/X11/startDM.sh
4005 to fix a problem where startDM.sh would be respawned repeatedly
4006 if xdm was not in the default runlevel.
4007
4008 * rc-scripts 1.2.8 (4 Mar 2002)
4009
4010 4 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
4011
4012 Add /etc/init.d/xdm, /etc/X11/startDM.sh and updated /etc/inittab
4013 to fix the "dead key" problem we had with xdm/gdm/kdm. We should
4014 move them to the xfree ebuild later on when things settles down.
4015
4016 Added some sanity checks to /sbin/rc, /etc/init.d/runscripts.sh.
4017
4018 Added a basic $PATH to /etc/init.d/functions.sh to fix a problem
4019 where we had a invalid $PATH on boot in some cases.
4020
4021 Updated /etc/init.d/keymap and /etc/init.d/consolefont to work with
4022 the new sys-apps/kbd package.
4023
4024 * rc-scripts 1.2.7 (3 Mar 2002)
4025
4026 3 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
4027
4028 Fixed the problem of rc-scripts trying to start/stop a service multiple
4029 times if it fails to do so. Updated /etc/init.d/runscript.sh and /sbin/rc
4030 for this.
4031
4032 Fixing some variable declarations in /etc/init.d/runscript.sh caused
4033 /etc/init.d/net.lo to fail on stop ($IFACE was set invalid). Fixed
4034 this.
4035
4036 Added caching of the "depend() { need foo; } " lines, and updated
4037 /etc/init.d/depscan.sh to touch the actual files less. This should
4038 speedup dependency caching a lot, especially on slow machines.
4039
4040 Updated /etc/passwd to have users with no shell defined, use /bin/false
4041 for security.
4042
4043 Update /etc/fstab to mention /dev/shm since we dont mount it anymore.
4044
4045 1 Mar 2002; Martin Schlemmer <azarah@gentoo.org>:
4046
4047 Added a wrapper for sourcing the rc-scripts to eliminate syntax errors.
4048 Thanks to Karl Trygve Kalleberg (aka karltk) for the idea. Updated
4049 /etc/init.d/depscan.sh, /etc/init.d/functions.sh and
4050 /etc/init.d/runscript.sh for this (added wrap_rcscript() function).
4051
4052 Removed stopping of dependent services that have current service as
4053 a 'use'dependency ... should be less confusing now.
4054 Updated /etc/init.d/runscript.sh for this.
4055
4056 28 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
4057
4058 Add /etc/conf.d/local.start and /etc/conf.d/local.stop for adding any misc
4059 programs to startup. This should pretty much have /etc/init.d/ static,
4060 except for baselayout updates, etc.
4061
4062 27 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
4063
4064 In some wierd cases, a redundent /dev/.devfsd on a unmounted /dev can cause
4065 problems. Fixed this in /sbin/rc.
4066
4067 Added the patches from Grant Goodyear (aka g2boojum) to enable us to
4068 use a ramdisk to store the contents of ${svcdir}. Updated /sbin/rc,
4069 /etc/init.d/functions.sh and /etc/init.d/checkroot for this.
4070
4071 26 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
4072
4073 Fix my brain dead update of the 25th. It really should keep
4074 "gentoo=nodevfs" in mind. Also added 'get_bootparam()' to help in
4075 retrieving kernel options. Updated /etc/init.d/functions.sh,
4076 /etc/init.d/checkroot and /sbin/rc for this.
4077
4078 Updated /etc/init.d/consolefont to work without devfs as well.
4079
4080 When rebooting or shutting down, a service should not fail to stop
4081 if a service it depends on, fails. Updated /etc/init.d/runscript.sh
4082 for this.
4083
4084 25 Feb 2002; Martin Schlemmer <azarah@gentoo.org>:
4085
4086 Added a check if /dev is mounted when creating entries for /etc/mtab.
4087 This should solve a invalid entry or /dev being mounted even with
4088 'gentoo=nodevfs' option. Updated /etc/init.d/checkroot for this.
4089
4090 17 Feb 2002: Daniel Robbins <drobbins@gentoo.org>: Made "xfs" the default
4091 filesystem in /etc/fstab (from ReiserFS) and removed "notail" option (it's
4092 just in a comment now)
4093
4094 17 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4095
4096 Mmore fixes to 'after' and 'before', updated /etc/init.d/runscript.sh for
4097 this. This should fix services not getting started in the correct order
4098 in a tight loop, services getting stopped out of order, and some other
4099 sanity checks. Updated rc-script.sh for updated help.
4100
4101 15 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4102
4103 Update /etc/profile to resolve bug #588. Reimplemented things a bit,
4104 and added the 'after' type. 'before' and 'after' will only work currently
4105 for a change of runlevel. Updated /etc/init.d/depscan.sh,
4106 /etc/init.d/runscript.sh and /sbin/rc for this.
4107
4108 13 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4109
4110 Add some more entries to /etc/devfsd.conf to make alsa users life
4111 easier ... thanks Tod.
4112
4113 12 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4114
4115 Some more cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
4116
4117 Fixed some services not starting again when restarting a service.
4118 Seems simple is still the best way.
4119
4120 Fixed some other problems created with feature additions and cleanups.
4121
4122 11 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4123
4124 General cleanups to /etc/init.d/depscan.sh and /etc/init.d/runscript.sh.
4125
4126 Added 'before *' to /etc/init.d/checkroot to make sure it gets
4127 started first.
4128
4129 Added 'use *' to /etc/init.d/local to make sure it gets started
4130 last.
4131
4132 10 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4133
4134 Fixed /sbin/rc to stop a service on change of runlevel if it is
4135 in 'use' by another service.
4136
4137 Added the 'provide' depend type for creating virtual services.
4138 Updated /etc/init.d/depscan.sh for this.
4139
4140 Added the 'before' depend type. This is more for changing the
4141 order services start in. Updated /etc/init.d/depscan.sh and
4142 /etc/init.d/functions.sh for this.
4143
4144 Updated /etc/init.d/depscan.sh to work with '*' as argument for
4145 dependency types. This can be used with 'use' and 'before' to
4146 start a script last or first respectively.
4147
4148 Added save_options() and get_options() to /etc/init.d/functions.sh
4149 for saving misc settings between startup/shutdown. Updated
4150 /etc/init.d/net.eth0 to use these and properly down virtual
4151 interfaces.
4152
4153 6 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4154
4155 Updated both /etc/init.d/bootmisc and /etc/init.d/keymaps to be quiet
4156 on no errors.
4157
4158 * rc-scripts 1.2.6 (6 Feb 2002)
4159
4160 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4161
4162 Updated /etc/net.eth0 to specify the gateway device via the $gateway
4163 variable (something like gateway="eth0/192.168.0.1").
4164
4165 2 Feb 2002: Martin Schlemmer (azarah@gentoo.org):
4166
4167 Added rc-script /etc/init.d/numlock, for enabling numlock at boot.
4168
4169 29 Jan 2002: Martin Schlemmer (azarah@gentoo.org):
4170
4171 Hopefully the last fix to /etc/init.d/netmount to umount cleanly. This fix
4172 implements a retry if not successful the first time, and will kill
4173 processess using the mount. Also small type-o fix to /etc/init.d/halt.sh.
4174
4175 27 Jan 2002: Donny Davies (woodchip@gentoo.org): security fix to
4176 /etc/pam.d/sshd,login,chsh: added pam_shells.so to the stack.
4177 Fixed /etc/passwd,group for user/group mysql.
4178
4179 27 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added charset
4180 map file support to /etc/init.d/consolefont and the setting to
4181 /etc/rc.conf.
4182
4183 25 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed dircolors
4184 in skel files to support both versions of dircolors.
4185
4186 23 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fixed bug
4187 in the restart stuff of /etc/init.d/runscript.sh that caused
4188 a restart of a 'net' service not to restart services again
4189 that depended on it.
4190
4191 * rc-scripts 1.2.5 (20 Jan 2002)
4192
4193 20 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
4194 /etc/init.d/net.eth0 to 'use' pcmcia.
4195
4196 8 Jan 2002: Martin Schlemmer (azarah@gentoo.org): added '--sh' to
4197 the dircolors command in /etc/skel/.bash_profile to handle cases
4198 where bash do not export $SHELL.
4199
4200 6 Jan 2002: Martin Schlemmer (azarah@gentoo.org): updated
4201 /etc/init.d/runscripts.sh, /etc/init.d/net.eth0, /etc/conf.d/net and
4202 removed /etc/init.d/net.eth0-dhcp to reflect a new 'bsd-ish' config
4203 scheme for the net.eth* scripts.
4204
4205 6 Jan 2002: Donny Davies (woodchip@gentoo.org): Removed email address
4206 from manpages; no need for that..
4207
4208 5 Jan 2002: Martin Schlemmer (azarah@gentoo.org): fix type-o in
4209 /etc/devfsd.conf; had 'dvd' in the cdrw stuff.
4210
4211 * rc-scripts 1.2.4 (30 Dec 2001)
4212
4213 30 Dec 2001: Daniel Robbins (drobbins@gentoo.org): Changed default umask
4214 back to 022 as it should be.
4215
4216 30 Dec 2001; Martin Schlemmer (azarah@gentoo.org): Updated
4217 /etc/init.d/checkfs to return 0 if the fs was successfully repaired.
4218
4219 29 Dec 2001; Donny Davies (woodchip@gentoo.org):
4220 sort -t: -k3,3 -n /etc/passwd,group. Ahhhh :))
4221
4222 28 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
4223
4224 Updated /etc/init.d/depscan.sh to store info about missing dependencies
4225 of type 'need' in ${svcdir}/broken. Also updated /etc/init.d/runscript.sh
4226 to use this when starting a script ('need' dependencies is critical for
4227 startup). Added the broken() function to /etc/init.d/runscript.sh
4228 to list the missing dependencies.
4229
4230 Updated /etc/init.d/runscript.sh for svc_start() to have better error
4231 checking.
4232
4233 Updated /etc/init.d/functions.sh with ewend(), which is the same as
4234 eend(), but print a warning on error, not a error. Updated
4235 /etc/init.d/checkroot and /etc/init.d/checkfs to use this function.
4236
4237 27 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
4238
4239 Update /sbin/runscript.c to run /etc/init.d/rc-help.sh if no arguments
4240 is passed to a rc-script.
4241
4242 Added /etc/init.d/rc-help.sh, simple script that prints out help for
4243 the rc-scripts.
4244
4245 25 Dec 2001; Martin Schlemmer (azarah@gentoo.org);
4246
4247 Update /etc/init.d/shutdown.sh and /etc/init.d/reboot.sh not to force the
4248 halt and reboot. This fixes a problem where / was not unmounted properly
4249 in some cases.
4250
4251 24 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
4252
4253 Move $svcdir to to /etc/init.d/functions.sh, and update
4254 /etc/init.d/runscript.sh and /etc/init.d/depscan.sh for this
4255
4256 Modified /etc/init.d/runscript.sh to also restart the services that
4257 depend on a service if that service is restarted. Enhanced the
4258 restart function to be able to have custom restart() functions in
4259 rc-scripts. The custom restart() have to use svc_stop() and
4260 svc_start() to restart the service.
4261
4262 Add a pause function to /etc/init.d/runscript.sh. It will basically
4263 stop a service without stopping the services that depends on that
4264 service.
4265
4266 Add a pause function to /etc/init.d/runscript.sh. It will basically stop a
4267 service without stopping the services that depends on that service.
4268
4269 * rc-scripts 1.2.3 (18 Dec 2001)
4270
4271 16 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
4272
4273 Moved the stuff from /sbin/init (old) to /sbin/rc (basically drop the
4274 init wrapper we used).
4275
4276 Some cleanups: take out the shm resize comment;
4277
4278 remove the $wrongmount;
4279
4280 remove the mountshm() function and insert it directly
4281 where needed;
4282
4283 remove the setting of $PATH as /sbin/init already do
4284 this for us.
4285
4286 Added the if statement to detect if it is the first time the 'boot'
4287 runlevel is executed (if [ "$RUNLEVEL" = "S" ] && [ "$argv1" = "boot" ]).
4288 $RUNLEVEL is a env var set by /sbin/init.
4289
4290 Also added functionality to detect if the kernel have DEVFS support
4291 compiled in; seems new users thinks devfs is unstable and as they do
4292 not always read the docs, it does not get compiled in ;/ Should
4293 make live for us a bit easier.
4294
4295 14 Dec 2001; Martin Schlemmer (azarah@gentoo.org):
4296
4297 Fixed /sbin/rc to kill a cosmetic bug in the part that stops all
4298 the unneeded services.
4299
4300 * rc-scripts 1.2.2 (8 Dec 2001)
4301
4302 10 Dec 2001; Added a localhost entry in /etc/hosts.
4303
4304 8 Dec 2001; Donny Davies (woodchip@gentoo.org): Added start-stop-daemon.c
4305 to rc-scripts/sbin source. Moved rc-scripts/init.d/runscript.c to
4306 rc-scripts/sbin/runscript.c. Added manpage for start-stop-daemon.
4307 Start-stop-daemon is moved here from sysvinit by the way. There is stuff
4308 in this ChangeLog that needs to be removed! Like the changes to hosts,
4309 profile. /etc/{passwd,group} have minor UID and GID type fixes for
4310 users ftp, postgres, xfs. Tweaked tarball.sh to not include CVS
4311 directories.
4312
4313 29 Nov 2001; Donny Davies (woodchip@gentoo.org): Added a man directory
4314 to rc-scripts. Checked in two manpages there, one for modules.autoload.5
4315 and one for update-modules.8. These were adapted from Debian. Updated
4316 tarball.sh to include the new man directory. Updated baselayout to install
4317 these manpages. Slightly tweak the /etc/modules.autoload comments.
4318
4319 28 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4320
4321 Updated /sbin/init to work correctly with the 'gentoo=nodevfs' option,
4322 and cleaned out old code.
4323
4324 Updated /etc/init.d/bootmisc with additional lock files to clean.
4325
4326 27 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4327
4328 Updated /etc/init.d/depscan.sh for a virtual 'use' depend, called 'logger'
4329 that can be used for services that needs to have a logger started before
4330 they are started. Updated /etc/conf.d/basic with $SYSLOGGER that is used
4331 to define what loggers the 'logger' depend represent.
4332
4333 26 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4334
4335 Updated /etc/passwd and /etc/group with minor fixes to pass pwck
4336 and grpck.
4337
4338 25 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4339
4340 Changed umask in /etc/profile for the user to 077 for security.
4341
4342 Added a stop() function to /etc/init.d/clock. Also removed uneeded
4343 'source /etc/rc.conf' line.
4344
4345 Updated /etc/init.d/hostname to set the hostname to 'localhost' if
4346 /etc/hostname is invalid.
4347
4348 Updated /sbin/init to move the entries in /lib/dev-state to /dev before
4349 running devfsd, as it did still not save settings properly. Also removed
4350 old /dev-state/compat stuff.
4351
4352 25 Nov 2001; ncsd, the name service cache daemon script, has been removed
4353 from the default "default" runlevel. It still exists in the archive so that
4354 users who want/need it can add it easily.
4355
4356 25 Nov 2001; Updated the /etc/fstab; removed usbdevfs (explicitly mounted),
4357 removed notail from the ext2 boot partition, other cleanups.
4358
4359 25 Nov 2001; Fixed init.d/clock script to work in UTC mode.
4360
4361 24 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4362
4363 Added /etc/devfsd.conf and updated /sbin/init to use a new scheme for saving
4364 /dev permissions. Also moved /dev-state to /lib/dev-state which is a more
4365 standard location.
4366
4367 Fixed a ugly bug in /etc/init.d/depscan.sh. If a service depended on
4368 itself, calling depscan.sh or changing runlevels cause a tempory effect
4369 similar to a 'mini fork bomb'. Afterwards the depends was broken, and
4370 changing runlevels did not want to work.
4371
4372 Updated /etc/init.d/halt.sh to terminate and display message for devfsd.
4373 More cosmetic than anything else, but cant hurt with the new dev-state
4374 scheme.
4375
4376 Updated /sbin/init to set the console log level to 1, so that bootup
4377 can be much cleaner. Also updated /etc/init.d/modules not to have
4378 a logger in it 'use' depends, as it should not be needed anymore.
4379
4380 Updated /sbin/rc to check if devfsd is still running between runlevel
4381 changes.
4382
4383 Updated /etc/init.d/modules to run update-modules. We want to be sure
4384 /etc/modules.conf is updated when running depmod -a.
4385
4386 Change ftp's uid to 21 in /etc/passwd (was the same as bind). Also
4387 added a entry for xfs (X Font Server) in /etc/passwd and /etc/group.
4388
4389 Added /etc/init.d/net.ppp0, /etc/conf.d/net.ppp0 and
4390 /usr/lib/ppp/chat-default as part of my new pppd scripts. Also
4391 updated tarball.sh to handle ppp/chat-default.
4392
4393 Added /etc/skel/.bash* to make things cleaner.
4394
4395 Other minor changes.
4396
4397 17 Nov 2001; Donny Davies (woodchip@gentoo.org): Added /etc/shells file
4398 to rc-scripts. Can remove it from sys-libs/shadow at the next release.
4399
4400 * rc-scripts 1.1.8 (15 Nov 2001)
4401
4402 16 Nov 2001; removed bogus "mountall.test" script.
4403
4404 15 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4405
4406 Updated init.d/{runscript.sh,depscan.sh}, sbin/rc to the new dep being
4407 'use' not 'uses', as it fits better with 'need' (not 'needs'). Also
4408 removed unneeded for loop from init.d/depscan.sh, and other fixes. Updated
4409 names of new functions in init.d/runscript.sh to better sounding ones.
4410 Updated init.d/modules, init.d/netmount to use 'use'. Lots of other
4411 fixes/cleanups.
4412
4413 Removed try() out of init.d/runscript.sh (why was this here ?).
4414
4415 14 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4416
4417 Now init.d/bootmisc cleans /tmp. Also creates /etc/resolv.conf if it
4418 doesn't exist.
4419
4420 init.d/hostname: Added check for a valid /etc/hostname.
4421
4422 init.d/keymaps: Added check for valid $KEYMAP.
4423
4424 init.d/modules: Added sysklogd, metalog, syslog-ng as 'use' deps. This
4425 should solve Woodchip's syslog+glue issue. We just have to change the
4426 console loglevel for metalog and syslog-ng (sysklogd already updated) not to
4427 output info and warnings, etc to the console, then boot will be much cleaner.
4428 Also the install guide will need changing to add the loggers to 'boot' and
4429 not 'default' runlevel.
4430
4431 init.d/mountall.test: Hopefully updated to the new rc-scripts style. Is
4432 this really needed (I cannot see that it is used anywhere ...)?
4433
4434 13 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4435
4436 Updated init.d/runscript.sh, init.d/depscan.sh and sbin/rc with a new depend
4437 called 'uses'. It basically have the same usage as 'need', except that it
4438 do not start services that is not in the current and 'boot' runlevels.
4439
4440 Updated init.d/netmount to use the 'uses' depend.
4441
4442 11 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4443
4444 Fixed init.d/runscript.sh not to destroy the 'need' depends in
4445 /${svcdir}/need. This caused subsequent starting and stopping of services
4446 not to start depends.
4447
4448 7 Nov 2001; Martin Schlemmer (azarah@gentoo.org):
4449
4450 Fixed a problem in sbin/rc where the ${svcdir}/softscripts directory got
4451 destroyed before stopping running services scheduled to be stopped. This
4452 with the fact that $SOFTLEVEL was set too early, caused the services to be
4453 stopped in the wrong order.
4454
4455 30 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
4456
4457 Modified init.d/netmount to check if any network filesystems is mounted.
4458
4459 29 Oct 2001; init.d/netmount: umount -art doesn't seem to work, so I added
4460 some awk and grep magic to find all remote filesystems and umount them.
4461
4462 29 Oct 2001; Martin Schlemmer (azarah@gentoo.org):
4463
4464 A fix for checkroot (missing "/"); it now actually checks the root
4465 filesystem. Also, a localmount cleanliness fix.
4466
4467 * rc-scripts 1.1.7 (18 Oct 2001)
4468
4469 [old changelog format follows]
4470
4471 *lots of scripts; woodchip
4472 removed old rc5 scripts from cvs
4473
4474 *init.d/runscript.sh; agriffis
4475 Added support for rc.conf and home-grown functions
4476
4477 *init.d/modules;
4478 Now correctly looks at /etc/modules.autoload
4479
4480 rc-scripts-1.1.6, released 15 Sep 2001
4481 ======================================
4482
4483 *init.d/runscript.sh, others
4484 Handling of "net" dependencies resolve to all net devices in
4485 /etc/runlevels/boot and /etc/runlevels/[curr-runlevel]. INTERFACES
4486 variable in /etc/rc.conf has been removed.
4487
4488 *init.d/runscript.sh
4489 New "zap" option for manually resetting the state of an initscript
4490 to stopped.
4491
4492 *init.d/{samba,sysklogd,sshd}
4493 Removed from CVS; they live in their respective packages.
4494
4495 rc-scripts-1.1.5, released 02 Sep 2001
4496 ====================================
4497
4498 *sbin/rc-update
4499 New version of the rc-update command for the new initscripts. Works
4500 similarly to the old version, except this one updates our dependency
4501 cache.
4502
4503 *init.d/functions.sh
4504 New and better looking informational message functions (einfo, einfon).
4505 Brand new message functions (ewarn).
4506
4507 *sbin/init, init.d/checkroot
4508 We're going back to a /proc/mounts-based mtab symlink because it's
4509 just plain better. Appropriate changes made.
4510
4511 # vim:expandtab

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20