Ferenc Wagner wrote:
> Daniel Lezcano <[email protected]> writes:
> 
>> Ferenc Wagner wrote:
>>
>>> While playing with lxc-start, I noticed that /tmp is infested by
>>> empty lxc-r* directories: [...] Ok, this name comes from lxc-rootfs
>>> in conf.c:setup_rootfs.  After setup_rootfs_pivot_root returns, the
>>> original /tmp is not available anymore, so rmdir(tmpname) at the
>>> bottom of setup_rootfs can't achieve much.  Why is this temporary
>>> name needed anyway?  Is pivoting impossible without it?
>> That was put in place with chroot, before pivot_root, so the distro's
>> scripts can remount their '/' without failing.
>>
>> Now we have pivot_root, I suppose we can change that to something cleaner...
> 
> Like simply nuking it?  Shall I send a patch?

Sure, if we can kill it, I will be glad to take your patch :)

------------------------------------------------------------------------------
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to