On Sat, 5 Nov 2011, Daniel Lezcano wrote: > On 11/05/2011 12:06 AM, Dong-In David Kang wrote: >> Hi, >> >> Is it possible to do "mknod" after creation of an LXC instance? >> I need to do "mknod" not only at bootup time, but also at run-time. >> This is needed when I want to dynamically add devices to LXC instance. >> Is it possible? >> If it is, how can I do it? >> >> I've seen the case of "mknod" at bootup time of an LXC instance. >> But, I haven't seen the usage of "mknod" at run-time after boot-up. >> Is it the limitation of LXC? > > Just comment out the lxc.cgroup.devices.* lines in the configuration file.
Yup - same issue I had a few days ago. However it also helped me yesterday too when I had been given a vmware instance to extract some data from - I manged to unpack it into a regular filesystem, then on a whim, I decided to run it up under LXC - it kicked off udev which mknods, so letting it do that make it work OK - actually work very OK after I tweaked a few things in the startup scripts to stop it grabbing the console, so much so that the people I was doing it for want to keep it going for a while rather than extract the data and import it into their new system - it turned out to be an FC11 image - my host is Debian! 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
