Commit d585585
committed
guestfs: debian: ensure dhcpcd-base runtime dependency
After updating kdevops CI Debian testing server from Debian trixie
-> forky, virt-builder was unable (again) to bring up a guest with
network capabilities. Error can be replicated with:
sudo virt-builder debian-12 --install sudo
...
+ rm -f /etc/dhcp/dhclient-enter-hooks.d/resolved
+ '[' -L /etc/resolv.conf ']'
+ dhclient --version
+ dhcpcd eth0
/init: line 140: dhcpcd: command not found
+ mdadm -As --auto=yes --no-degraded
mdadm: --auto is deprecated and will be removed in future releases.
mdadm: No arrays found in config file or automatically
...
When libguestfs-tools are installed, we need to ensure both
isc-dhcp-client and dhcpd-base packages are installed as explained in
commit 53d1d15 ("guestfs: bringup: fix debian networking issue").
This, ensures both packages are installed, allowing virt-builder to find
the right tools in both Debian distros.
Runtime dependency list:
apt-cache depends libguestfs-tools
libguestfs-tools
Depends: libguestfs0t64
Depends: libc6
Depends: guestfs-tools
Depends: guestmount
Depends: guestfish
Breaks: guestfish
Breaks: guestmount
Breaks: libguestfs0t64
Replaces: guestfish
Replaces: guestmount
Replaces: libguestfs0t6
apt-cache depends libguestfs0t64 | grep -C 2 dhcp
Depends: cryptsetup-bin
Depends: dash
|Depends: dhcpcd-base
Depends: isc-dhcp-client
Depends: diffutils
Depends: dosfstools
Signed-off-by: Daniel Gomez <[email protected]>1 parent a0bee0b commit d585585
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments