Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 12:20:08 +0200
From:      Alfred Bartsch <bartsch@dssgmbh.de>
To:        Mark Stapper <stark@mapper.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: network deamons starting before network!
Message-ID:  <4C1B4858.7040805@dssgmbh.de>
In-Reply-To: <4C1B2180.1040300@mapper.nl>
References:  <4C1B2180.1040300@mapper.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Stapper schrieb:
> Hello,
> 
> Since updating to 8.X I noticed that network services were started
> before the network was up!
> I use lagg failover configuration on both my FreeBSD boxes.
> First, boot fails on mounting my nfs-shares.
> After entering and exiting the "rescue" shell, the system boots as normal.
> 
> uname -a
> FreeBSD mario 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4: Fri Jun 18
> 07:46:01 CEST 2010     ****@mario:/usr/obj/usr/src/sys/mario  amd64
> What could I do to fix this?
> 
> Here's an exerpt from /var/log/messages:
> 
> Jun 18 09:10:25  ntpd[1376]: ntpd 4.2.4p5-a (1)
> Jun 18 09:10:25  kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
> Jun 18 09:10:27  ntpd_initres[1412]: host name not found: yoshi
> Jun 18 09:10:27  kernel: nfe0: link state changed to UP
> Jun 18 09:10:27  kernel: lagg0: link state changed to UP
> Jun 18 09:10:27  kernel: nfe1: link state changed to UP
> Jun 18 09:10:27  ntpd_initres[1412]: couldn't resolve `yoshi', giving up
> on it
> Jun 18 09:10:28  dhclient: New Hostname (lagg0): mario
> Jun 18 09:10:28  dhclient: New IP Address (lagg0): 10.58.235.6
> Jun 18 09:10:28  dhclient: New Subnet Mask (lagg0): 255.255.255.0
> Jun 18 09:10:28  dhclient: New Broadcast Address (lagg0): 10.58.235.255
> Jun 18 09:10:28  dhclient: New Routers (lagg0): 10.58.235.1
> 
> 

Hello,

adding:
synchronous_dhclient="YES"
to /etc/rc.conf solved some similar issues for me.
The default behaviour of getting an IP via dhcp has changed.
-- 
Alfred Bartsch
mailto:bartsch@dssgmbh.de



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