Bug ID | 1162925 |
---|---|
Summary | Virtualization:containers/lxc: Bug |
Classification | openSUSE |
Product | openSUSE.org |
Version | unspecified |
Hardware | Other |
OS | openSUSE Factory |
Status | NEW |
Severity | Major |
Priority | P5 - None |
Component | 3rd party software |
Assignee | opensuse_buildservice@ojkastl.de |
Reporter | kira@kiralein.de |
QA Contact | bnc-team-screening@forge.provo.novell.com |
CC | asarai@suse.com, containers-bugowner@suse.de, fcastelli@suse.com |
Found By | --- |
Blocker | --- |
When using lxc-net with wicked/wickedd (instead of NetworkManager) the startup of the services fails with the following error: ``` Feb 06 03:41:59 mainframe lxc-net[657]: dnsmasq: directory /etc/resolv.conf for resolv-file is missing, cannot poll Feb 06 03:41:59 mainframe dnsmasq[799]: directory /etc/resolv.conf for resolv-file is missing, cannot poll Feb 06 03:41:59 mainframe dnsmasq[799]: FAILED to start up ``` This can easily be fixed by adding ``` After=network.target ``` to the file /usr/lib/systemd/system/lxc-net.service So the whole unit file should look like this: ``` [Unit] Description=LXC network bridge setup After=network-online.target After=network.target Before=lxc.service [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/lib/lxc/lxc-net start ExecStop=/usr/lib/lxc/lxc-net stop [Install] WantedBy=multi-user.target ``` Could you please add this line? If needed I can also create a request here on OBS but for that I would first need to setup this package locally etc. kind regards, NRWsoft Inh. Kira M. Backes