[lxc-users] apparmor dhclient denied, no network, something wrong with 2.12?
Spike
spike at drba.org
Sun Mar 26 20:54:55 UTC 2017
Hi,
can't seem to get dhcp to work anymore on containers and I don't get why. I
have 3 servers, all 3 set up the same way (from ansible). on the third
which I just rebuilt lxc gets no network. Instead on the host's logs I get
this:
audit: type=1400 audit(1490560798.485:349): apparmor="DENIED"
operation="file_perm" namespace="root//lxd-log_<var-lib-lxd>"
profile="/sbin/dhclient" name="/apparmor/.null" pid=8928 comm="dhclient"
requested_mask="w" denied_mask="w" fsuid=100000 ouid=0
lxc config set my-container raw.lxc lxc.aa_profile=unconfined did not help.
It seems related to this bug, but not sure:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1654624
the only difference I can see between the host that doesn't work and the
one that does is the version of LXD, 2.12 on the host that doesn't work and
2.11 on the others (installed from ppa on ubuntu xenial).
any thoughts?
thanks,
Spike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170326/9c0d76fe/attachment.html>
More information about the lxc-users
mailing list