Comment 6 for bug 969299

Revision history for this message
JP Viljoen (froztbyte) wrote : Re: apparmor prevents dpkg-divert and localedef from working in a container

Friend of mine solved this, asked me if I can post it, so here goes:

/etc/apparmor.d/lxc/lxc-default profile needs 'flags=(mediate_deleted)' appended to it, and the problem should go away. Documentation reference for this is at http://wiki.apparmor.net/index.php/FAQ#Failed_name_lookup_-_deleted_entry and attached also find find a modified lxc-default entry.