On 05/26/2010 10:54 AM, Ralf Schmitt wrote: > Daniel Lezcano<[email protected]> writes: > >> >> This is internal stuff of lxc. Before this commit, several temporary >> directories were created and never destroyed, polluting '/tmp'. >> >> In order to do pivot_root, we have to mount --bind the rootfs somewhere. >> This 'somewhere' was a temporary directory and now it is >> "/usr/lib64/lxc" by default (choosen at configure time), or optionally >> configurable with lxc.rootfs.mount. > > /var/run/lxc looks like a much better choice to me.
Yes, that was the first choice but in some distros like ubuntu, this directory is a tmpfs. After the install of lxc, the directory will be destroyed at the reboot. I thought "/var/tmp/lxc" may be a good alternative because it is defined as "Temporary files to be preserved between reboots." in FHS. ------------------------------------------------------------------------------ _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
