Yeah, it's definitely an issue with dhclient. I patched the init script to
use dhcpcd instead and everything is working as expected now.
I've attached a log containing the strace of dhclient if that helps you or
someone else in the future.
Thanks for all your help Rich.
Shawn
On Tue, Jun 30, 2015 at 9:53 AM, Richard W.M. Jones <rjones(a)redhat.com>
wrote:
On Tue, Jun 30, 2015 at 09:41:45AM -0600, Shawn Greig wrote:
> Rich you're right, I forgot to run make. I added 'set -x' and reran
make
> and then ran 'virt-builder -v -x' and it seems to hang at dhclient (see
> attached log).
> + dhclient --version
> + dhclient
> /sbin/dhclient-script: line 31: /etc/fstab: No such file or directory
Yup, dhclient has been an ongoing problem. Most recently:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775514
https://bugzilla.redhat.com/show_bug.cgi?id=1224795
It may help to run dhclient in the appliance under strace to see where
exactly it has stopped. The appliance should contain strace (check
for it in appliance/packagelist.in and appliance/supermin.d/packages),
and if it does you can just edit the appliance/init script like this:
- dhclient
+ strace dhclient
The other option is to use dhcpcd, but that also requires patching the
init script.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW