[Lxc-users] lxc.mount.entry denied mount permission for -t ext4?

Trent W. Buck twb at cybersource.com.au
Thu Dec 16 02:52:56 UTC 2010


Serge Hallyn <serge.hallyn at canonical.com>
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 = c 5:1 rwm
> lxc.cgroup.devices.allow = c 5:2 rwm
> lxc.cgroup.devices.allow = c 136:* rwm
> lxc.cgroup.devices.allow = c 254:0 rm
>
> is your /dev/omega/squid device perhaps a blacklisted device?

Hmm, I thought lxc.cgroup.devices applied AFTER lxc.mount.entry.

I'll investigate -- if that the issue, I'll just have to stick to bind
mounts and mount everything in the host OS in advance, because I know of
no way to guarantee static major:minor allocation of stuff like hard
disks and LVM LVs.





More information about the lxc-users mailing list