> I'm using your template on an Ubuntu 12.04 stock LXC install.  I've run into 
> a problem trying to use shared memory with Python's multiprocessing library.  
> It relies on /dev/shm using tmpfs.  I tried mounting it with an entry:
> 
> lxc.mount.entry = tmpfs /dev/shm tmpfs defaults 0 0
> 
> and variations of the above without success.
> 
> The included Ubuntu LXC template creates several tmpfs entries and I don't 
> have this problem with it, so I think the issue is with the Debian guest.  Do 
> you have any idea how to fix this?

My best guess is that it has something to do with the cgroup device
restrictions. In the generated LXC configuration file you find several
lxc.cgroup.devices.* entries. Remove these (make them comments) and
restart your container. If this solves the problem you can probably copy
the device entries from the Ubuntu configuration to the Debian
configuration.

Rob.
http://freedomboxblog.nl  



------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to