Wednesday, February 5, 2014

dhclient exits chroot on FreeBSD 10.0

I've booted my first pxe FreeBSD 10.0 image, and discovered that dhclient, of all things, doesn't seem to work. Running dhclient from the command-line after boot results in the following output:

WARNING dhclient failed to start
chroot
exiting

Some searching turns up a thread on the FreeBSD forums. A missing /var/empty directory is to blame. It should be owned by root, with permissions of 755.

1 comment:

  1. That's exactly the issue that I was facing with an old system. In my case, I didn't have /var/empty and creating it as root got dhclient to work again.

    Thank you for sharing!!

    ReplyDelete