Xavier Montagutelli wrote:
> Hello,
>
> I encountered a (big) problem because the namespace cleanup functionality
> doesn't work always well.
>
> Test case :
>
> Start a Vserver named "webmail", vdir located under the mount point
> "/vservers/webmail"
>
> The start another VServer "web", vdir mounted under "/vservers/web" (same
> beginning ...)
>
> The first mount point is not umounted in the namespace of the second VServer.
>
> (vnamespace -e <xid_of_web> cat /proc/mounts)
>
>>From what I understand, the problem is located at the _namespaceCleanup
> function, the test for not umounting a sub-mount is not correct.
>
> One solution, verify the path with a trailing "/"
Nice catch, thanks. Applied and will be in the next pre release.
-- Daniel Hokka ZakrissonReceived on Thu Feb 25 16:02:12 2010