[Lxc-users] kernel.shmmax in LXC

Fajar A. Nugraha list at fajar.net
Thu Jun 14 07:12:29 UTC 2012


On Wed, Jun 13, 2012 at 6:46 PM, Jan Den Ouden <jan.ml at denouden.info> wrote:
> I can confirm that using (1) and (2) together solves the problem. Many
> thanks again for your help!

FWIW, linux-image-3.2.0-25-generic is released, and from my test you
now only need (1), like Stéphane mentioned earlier.

-- 
Fajar

> On Sat, Jun 9, 2012 at 6:56 PM, Stéphane Graber <stgraber at ubuntu.com> wrote:
>> On 06/09/2012 06:38 AM, Fajar A. Nugraha wrote:

>> >>> However the apparmor problem might not seem obvious because there's no
>> >>> apparmor warning on syslog when you try to set shmmax with apparmor
>> >>> enabled. Also:
>> >>> (1) If you ONLY uncomment "lxc.aa_profile=unconfined" (with apparmor
>> >>> still enabled), lxc-start failed with
>> >>> lxc-start: No such file or directory - failed to change apparmor
>> >>> profile to unconfined
>> >>> (2) If you ONLY add /etc/apparmor.d/usr.bin.lxc-start symlink to
>> >>> /etc/apparmor.d/disable, you'd still get permission denied error


>> Actually I was wrong, the fixed kernel hasn't been pushed to -updates
>> yet, it's still in -proposed. So unconfined will be working whenever you
>> get the next kernel update (should be released in a few days.)




More information about the lxc-users mailing list