/[baselayout]/trunk/ChangeLog
Gentoo

Contents of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20