On Fri, 4 Nov 2011, Daniel Lezcano wrote: > On 11/04/2011 03:34 PM, Gordon Henderson wrote: >> >> I have a container that's used to build a Linux image for an embedded >> device - and as part of the build script, it creates /dev/ via a sequence >> of mknod commands .... Which all fail )-: >> >> There are no cap.drop lines in the contianers config files and I'm >> currently working round this by doing it on the host and copying the >> directory from the host to the container but I'd really rather do it >> inside the container... >> >> So what have I missed, or is it simply not possible? > > You probably have mknod restrictions through the lxc configuration file. > > Check for lxc.cgroup.devices.* in the configuration file and comment them > all.
Yup. That was it, thanks! I had it in my mind that it was capabilities rather than simple devices stuff. Cheers, Gordon ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
