On Wed, 27 Apr 2005, Herbert Poetzl wrote:

On Tue, Apr 26, 2005 at 03:31:33PM -0400, Gregory (Grisha) Trubetskoy wrote:

Has anyone here tried using automount with vservers?

did you try to mount the autofs 'just' inside the vserver namespace (well, that's what I would do anyways)

'just' would be somewhere after the namespace is created, but before admin cap is removed - i couldn't quite figure out a nice way to do this with util-vserver (fstab doesn't help since automounts are done via the automount command)


but even if we did find a place to fire atuomount from - IIRC the capabilities exist per-context. so either the automount daemon belongs to the context and cannot act on mount requests (assuming the context does not have cap_admin), OR it's outside the context (and does not see the namespace)... or is there some middle ground where it shares the namespace, but not the context?

btw, which version (kernel/tools) are you using?

This was done on 2.6.10-vs1.9.4 and util 0.30.196.

Thanks,

Grisha

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to