Date: Sun, 12 Sep 2010 17:11:20 -0400 From: Arnaud Bergeron <abergeron@gmail.com> To: freebsd-questions@freebsd.org Subject: Services do not start at boot Message-ID: <AANLkTinbx6B0ThNSSoDUkiZvvxzXv85B20oxC3oaXUaR@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I have a FreeBSD 8.0-RELEASE installation with a UFS root and a ZFS pool for data and users. I have a couple of ports installed (netatalk, mediatomb) to share the content of the ZFS pool along with sharing it over NFS. After a fresh boot, the NFS shares do not work, mediatomb is not up and netatalk runs but does not share anything. There may be other things not working properly but those are the ones I notice. If I manually restart mountd, and the two ports using the rc.d scripts then everything works correctly until the next restart. I found this message in the archives which is similar to the problem I have except that I use dhcp: http://marc.info/?l=freebsd-questions&m=128354380615514&w=2 After checking the log I see that indeed my problem is that these services start before the network is available and they don't cope well with that. As a fix, I added dhclient to the REQUIRE: for NETWORKING and a 'sleep 10' after the dhclient command in the dhclient startup script and made sure that background_dhclient is NO, and it still doesn't work. I am at a loss. Arnaud
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinbx6B0ThNSSoDUkiZvvxzXv85B20oxC3oaXUaR>