[Lxc-users] Can not start containers using latest tools from the git

Daniel Lezcano dlezcano at fr.ibm.com
Thu Jan 21 15:38:57 UTC 2010


John Drescher wrote:
>> I think the problem is coming from the /dev/shm tmpfs directory is
>> overwritten by the next udev tmpfs mount.
>> So the lxc code finds, in /proc/mounts, the /dev/shm mount point and tries
>> to unmount it, but this one is not visible yet because /dev has to be
>> unmounted before.
>>
>> This is something to be fixed before the 0.6.5 release.
>> But I think the /dev/shm mount point is useless and IMO you can comment it
>> from your /fstab and check if the container starts.
>>
> 
> The container did not start without /dev/shm either.
> 
> Actually I did not have /dev/shm mounted or in my /etc/fstab until
> Michael Warfield suggested he had a similar problem caused when
> /dev/shm was mounted so I tried to see if toggling between mounted and
> not mounted caused it to work at least 1 time.
> 
> I have not had this issue with 0.6.4 or 0.6.3 in the few hours (6 to
> 12) I have tested each.

Do you mind to test the patch in attachment ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-unmount-order.patch
Type: text/x-diff
Size: 913 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20100121/f901e806/attachment.patch>


More information about the lxc-users mailing list