> 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

Reply via email to