t...@cybersource.com.au (Trent W. Buck)
writes:
> Some combinations of RAM and swap caps aren't allowed, and I'm having a
> hard time understanding the pattern (i.e. *why*). From the examples
> below, I *think* I cannot assign a smaller swap cap than RAM cap.
The explanation for this is obvious
t...@cybersource.com.au (Trent W. Buck)
writes:
> Serge Hallyn
> writes:
>
>> You have:
>>
>> lxc.cgroup.devices.allow = c 1:3 rwm
>> lxc.cgroup.devices.allow = c 1:5 rwm
>> lxc.cgroup.devices.allow = c 1:8 rwm
>> lxc.cgroup.devices.allow = c 1:9 rwm
>> lxc.cgroup.devices.allow = c 4:* rwm
>> lxc
Serge Hallyn
writes:
> You have:
>
> lxc.cgroup.devices.allow = c 1:3 rwm
> lxc.cgroup.devices.allow = c 1:5 rwm
> lxc.cgroup.devices.allow = c 1:8 rwm
> lxc.cgroup.devices.allow = c 1:9 rwm
> lxc.cgroup.devices.allow = c 4:* rwm
> lxc.cgroup.devices.allow = c 5:0 rwm
> lxc.cgroup.devices.allow =
You have:
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 4:* rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c
Some combinations of RAM and swap caps aren't allowed, and I'm having a
hard time understanding the pattern (i.e. *why*). From the examples
below, I *think* I cannot assign a smaller swap cap than RAM cap.
Also, is there a way to specify that a container cannot use ANY swap,
i.e. the swap cap is
When I added an ext4 lxc.mount.entry to a working Ubuntu 10.04
container, lxc-start stopped working. Please help me understand why.
A partial strace is below, and a copy of proud.conf.
At first I thought that lxc-start wasn't allowed to mount it because
SYS_ADMIN was dropped -- but if that's so,
After a long night I think I cleared up my problem and it looks like it
was all me.
A case of mental blinders where once you think you've done something,
you neglect to double check it later when things don't work, when really
you should be checking everything and making no assumptions.
I had