RE: [Vserver] unmount nfs with vserver

From: Jim Wight <j.k.wight_at_ncl.ac.uk>
Date: Thu 20 Oct 2005 - 09:15:43 BST
Message-Id: <1129796143.27774.88.camel@beadnell.ncl.ac.uk>

> Ok my plan is to be able to mount/umount nfs disk from inside the guest/vserver. I'm still getting a permission denied.
>
> #Now that I have the ccaps in place properly (i hope)
> cat /usr/local/etc/vservers/unixdev1/ccapabilities
> SECURE_MOUNT
> SECURE_REMOUNT
> BINARY_MOUNT

I also want to get NFS working inside a vserver.

I have progressed form 'permission denied' to "unknown filesystem type
'nfs'" by including those in ccapabilities. 'nfs' is listed as a
filesystem in /proc/filesystems, and the nfs module is loaded. strace
shows that the mount call fails with 'ENODEV (No such device)'. Needless
to say, it works if I use CAP_SYS_ADMIN instead.

What might the problem be?

My testme.sh output is:

Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.12.5-vs2.0 i686/0.30.208/0.30.208 [Ea] (0)
VCI: 0002:0001 273 03000016

---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.
Jim
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Oct 20 09:16:08 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 20 Oct 2005 - 09:16:09 BST by hypermail 2.1.8