FS#47064 - [lxc] missing dependency on dnsmasq

Attached to Project: Community Packages
Opened by Erik Johnson (terminalmage) - Saturday, 14 November 2015, 07:07 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 January 2016, 17:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

lxc-net script (run by the lxc-net.service unit) fails when dnsmasq is not installed.

Additional info:
* lxc package version: 1:1.1.5-1

Steps to reproduce:

1) Run "systemctl start lxc-net.service".
2) lxcbr0 bridge interface is not present:

% ip link show lxcbr0
Device "lxcbr0" does not exist.

3) Try running lxc-net manually:

% sudo /usr/lib/lxc/lxc-net start
/usr/lib/lxc/lxc-net: line 127: dnsmasq: command not found
Failed to setup lxc-net.

4) Install dnsmasq (pacman -Syu dnsmasq)
5) Run "systemctl start lxc-net.service" again.
6) lxcbr0 bridge interface is finally present:

% ip link show lxcbr0
10: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/ether 9e:ae:4c:70:6b:94 brd ff:ff:ff:ff:ff:ff
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 05 January 2016, 17:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  added as optdep

Loading...