Il giorno 28/mag/2012, alle ore 10:09, Łukasz Mierzwa ha scritto:

> Would it be possible to allow user to define mounted filesystem that would be 
> preserved when jailing worker in namespace?
> So I could have:
> 
> namespace = /ns/app1
> namespace-keep-mount = /mnt/nfs1,/nfs
> 
> So my app would be jailed to /ns/app1 but inside that namespace it could 
> still 
> access files mounted as /mnt/nfs1 on the host side under /nfs directory 
> inside 
> the jail.
> I need to have access to shared filesystem from my app and mounting it with --
> exec-* options isn't very reliable since any error with mount will cause my 
> worker to constantly reload until it's fixed.
> 
> Łukasz Mierzwa
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Added in latest tip.

The mountpoint dance is very complex, i do not know if my solution will fit in 
every possibile scenario.

Let me know

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

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

Reply via email to