Hey all, Following is my promised patches for the devtempfs stuff that I discussed with Serge at LinuxPlumbers and modified by some of our discussion over the last several week.
The first patch will involve adapting to using subdirectories under /dev/ in the case where /dev/ is a devtmpfs mount. The second patch includes a file to pre-configure /dev/ for lxc in order to allow for unpriv users to setup similar bind mounts to priv users and includes an lxc.service file for systemd. A minor gotcha with the second patch is that it does NOT include a file that it references, /usr/libexec/lxc/lxc-startup. This is a script I'm currently using to autoboot containers. I'm not including that script specifically because I know Stéphane is specifically looking at the startup code, which is what this does. I'll post my lxc-startup script later as my opinion of how this should be done (but it has a lot of warts for the general case). I just don't want to presume and step on whatever he's doing. This works for me on Fedora. I'm open to objections and discussion but I got no feedback from anyone other than Serge, who provided me with very valuable feedback and made me revise several things to deal with his points... Regards, Mike -- Michael H. Warfield (AI4NB) | (770) 978-7061 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel