svn commit: r188010 - head/etc/defaults

Dag-Erling Smørgrav des at des.no
Wed Mar 11 05:51:50 PDT 2009


Mike Makonnen <mtm at FreeBSD.org> writes:
>   Since, rc.d/defaultroute has the ability to wait for a
>   default route to show up we can turn this knob back on
>   without screwing subsequent daemons that expect to be
>   able to talk to the outside world.

Please revert this.  It breaks the boot for, well, pretty much anyone
who uses DHCP.  It always takes at least a second or two to obtain or
renew a DHCP lease, and if you background this process, /etc/rc will try
to start services such as ntpdate, sendmail, sshd etc. before the
machine has an IP address and a name server.  In the worst case (such as
mine), it will render the machine unusable until the admin has a chance
to read svn logs and figure out what's broken and how to fix it.

The rc_quiet changes you made last summer certainly didn't help me
figure out what went on.  I understand the rationale for them, but in my
experience, they make debugging harder rather than easier.  To add
insult to injury, there is currently no way to revert to the historical
behavior, short of applying a large number of patches in reverse.  I
would suggest adding an rc.conf knob for that, and making the historical
behavior the default.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list