Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2009 05:21:23 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/131458: /etc/rc.d/defaultroute produces misleading output
Message-ID:  <200902070521.n175LNvR018629@www.freebsd.org>
Resent-Message-ID: <200902070530.n175U4Pb069448@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         131458
>Category:       conf
>Synopsis:       /etc/rc.d/defaultroute produces misleading output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 05:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD tau.draftnet 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Feb 5 01:47:59 GMT 2009 brucec@tau.draftnet:/usr/obj/usr/src/sys/HP amd64
>Description:
The output from /etc/rc.d/defaultroute is a bit misleading because it claims to be waiting for "an interface to come up" but it's actually waiting for DHCP to create a default route: having seen the message "re0: link state changed to UP" earlier in the boot process one may wonder why the system still waits a few seconds.  In fact the script now only runs if an interface is /already/ UP and it's actually waiting for a default route to appear.
>How-To-Repeat:
Boot FreeBSD connected to a network which uses DHCP.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902070521.n175LNvR018629>