Issue with rc.d/netif script when modifying NIC state after boot

Brooks Davis brooks at freebsd.org
Tue Aug 26 07:13:53 UTC 2008


On Mon, Aug 25, 2008 at 11:27:24PM -0700, Garrett Cooper wrote:
> optimus# /etc/rc.d/netif start
> /etc/rc.d/netif: DEBUG: run_rc_command: doit: network_start
> /etc/rc.d/netif: DEBUG: Cloned:
> /etc/rc.d/netif: DEBUG: checkyesno: synchronous_dhclient is set to NO.
> Starting Network: lo0 msk0.
> ifconfig: msk0: bad value # <--- this didn't happen before (why is
> ifconfig lo0 msk0 trying to be run? shouldn't this be a for looped
> deal?)...
> /etc/rc.d/netif: DEBUG: The following interfaces were not configured:
> /etc/rc.d/ipfilter: DEBUG: checkyesno: ipfilter_enable is set to NO.

This is the result of new, bogus code added when when quieting the scripts
recently.  A loop needed to be added back around line 144.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080826/432b0e60/attachment.pgp


More information about the freebsd-current mailing list