[Pkg-libvirt-maintainers] Bug#775514: No networking running virt-builder scripts after upgrading from 1.26 to 1.28

Hilko Bengen bengen at debian.org
Tue Jun 30 07:46:31 UTC 2015


* Richard W.M. Jones:

> I thought this was strange, because upstream we have 'isc-dhcp-client'
> listed in packagelist.in, but then I realized that the problem is
> really that 'isc-dhcp-client' is a missing build dependency of
> libguestfs on Debian.  It also needs to be a runtime dependency.

If I make it a build-time dependency, isc-dhcp-client should end up in
the pacakges file. From there it will be added to the runtime
dependencies through the appliance:Depends variable (which is generated
using debian/gen-appliance-depends.sh).

> (2) The second problem is that we run 'dhclient', but for some reason
> this command cannot acquire an IP address unless you name a specific
> interface (eg 'dhclient eth0').  This was already reported for Ubuntu:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1224795
>
> The workaround is just this patch (to appliance/init):
>
> -      dhclient
> +      dhclient eth0

Can we assume that the network name is always "eth0"? In that case, I'd
simply apply that patch.

-Hilko



More information about the Pkg-libvirt-maintainers mailing list