> moving unmount cycle after pivot_root seems to have solved the issue 
> (remember that the virtual fs rootfs
> cannot be umounted, but this is not a problem as it is only e entrypoint for 
> mount namespace and has nothing to do with
> the original / filesystem)
>
> Check the latest tip

seems perfect

I've just made an simple wsgi app to print back /proc/self/mounts, this 
is what I get:

rootfs / rootfs rw 0 0
/dev/sda4 / ext4 rw,noatime,acl,barrier=1,data=ordered 0 0
proc /proc proc rw,relatime 0 0

no trace of the original filesystems - it did suprise me since uwsgi is 
started from outside of the new root, so unmounting the mountpoint from 
where uwsgi is started does work.

also,
there are no errors from any of the calls in that part of the code
and
/.uwsgi_ns_tmp_mountpoint is removed

perfect, thanks


-- 
дамјан
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to