On Mon, 28 Jul 2014, Tiit Kaeeli wrote:

Hi,

I am having a little issue setting kernel.shmmax in LXC unprivileged container (lxc=1.0.4-0ubuntu0.1)

In https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1021411
it is stated, that it should be possible since lxc 0.7.5-3ubuntu60
At least there is no information, that it will only apply to privileged containers.

I have also tried disabling apparmor and adding
lxc.mount.auto = proc:rw sys:rw
to container conf.

But still
sysctl: permission denied on key 'kernel.shmmax'
At the same time setting for example net.ipv6.conf.all.disable_ipv6 succeeds!

mount -o remount,rw -t proc /proc /proc
mount: permission denied

/proc/ is owned by nobody.nogroup

What am I missing?


Any ideas? can this be done at all on unprivileged containers?
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to