libvirtd looks for ebtables in the wrong location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Train |
Fix Released
|
High
|
Unassigned | ||
Ussuri |
Fix Released
|
High
|
Unassigned |
Bug Description
Using Train packages on a Bionic system makes libvirt unable to setup a network, as it looks for ebtables at /usr/sbin/ebtables, while the binary is installed as /sbin/ebtables. This is the logged error:
libvirtd[4230]: libvirt version: 5.4.0, package: 0ubuntu5~cloud0 (Openstack Ubuntu Testing Bot <email address hidden> Thu, 05 Sep 2019 11:37:48 +0000)
libvirtd[4230]: hostname: swirlix42
libvirtd[4230]: direct firewall backend requested, but /usr/sbin/ebtables is not available: No such file or directory
libvirtd[4230]: internal error: Failed to initialize a valid firewall backend
libvirtd[4230]: internal error: Failed to initialize a valid firewall backend
[...]
$ ls -l /usr/sbin/ebtables
ls: cannot access '/usr/sbin/
$ ls -l /sbin/ebtables
-rwxr-xr-x 1 root root 10088 Jun 28 2018 /sbin/ebtables
$ dpkg -l | grep libvirt
ii libvirt-bin 4.0.0-1ubuntu8.13 arm64 programs for the libvirt library
ii libvirt-clients 5.4.0-0ubuntu5~
ii libvirt-daemon 5.4.0-0ubuntu5~
ii libvirt-
ii libvirt-
ii libvirt0:arm64 5.4.0-0ubuntu5~
ii python-libvirt 5.0.0-1~cloud0 arm64 libvirt Python bindings
ii uvtool-libvirt 0~git140-0ubuntu1 all Library and tools for using Ubuntu Cloud Images with libvirt
$ dpkg -l | grep ebtables
ii ebtables 2.0.10.
summary: |
- libvirtd assumes looks for ebtables in the wrong location + libvirtd looks for ebtables in the wrong location |
no longer affects: | ubuntu |
no longer affects: | cloud-archive/stein |
It seems that I can't "target to series" this bug to Train.
Anyway the bug can be worked around by converting the system to a "usrmerged" setup, that is by installing the 'usrmerge' package.
Paride