Yes, same issue. FSAL_VFS requires root to run. There's no way around
it on Linux, as it restricts access to the open_by_handle APIs.
Daniel
On 7/21/21 5:50 AM, Nishit Khosla wrote:
Hello,
I was trying to run the ganesha.nfsd as nonroot user and got this error:
21/07/2021 08:53:34 : epoch 60f7e018 : nfs-ganesha-nfs-server-provisioner-0 :
nfs-ganesha-20[svc_9] fsal_common_is_referral :FSAL :EVENT :Failed to get attrs for
referral, handle: 0x7f9cdaf5b780, valid_mask: 0, request_mask: 82, supported: 0, error:
Forbidden action
My vfs.conf file is below:
EXPORT
{
# Export Id (mandatory, each EXPORT must have a unique Export_Id)
Export_Id = 0;
# Exported path (mandatory)
Path = /nonexistent;
# Pseudo Path (required for NFS v4)
Pseudo = /nonexistent;
# Required for access (default is None)
# Could use CLIENT blocks instead
Access_Type = RW;
# Exporting FSAL
FSAL {
Name = VFS;
}
}
NFS_Core_Param
{
MNT_Port = 20048;
NLM_Port = 32803;
fsid_device = true;
Protocols = 4;
enable_RQUOTA = false;
}
NFSV4
{
Grace_Period = 90;
}
EXPORT
{
Export_Id = 1;
Path = /export/pvc-7de28a2a-75da-4136-b381-fe5ebc686caa;
Pseudo = /export/pvc-7de28a2a-75da-4136-b381-fe5ebc686caa;
Access_Type = RW;
Squash = no_root_squash;
SecType = sys;
Filesystem_id = 1.1;
Protocols = 4;
Transports = TCP;
FSAL {
Name = VFS;
}
}
Is it the same issue being faced in this thread? Am I missing capabilities?
_______________________________________________
Support mailing list -- support(a)lists.nfs-ganesha.org
To unsubscribe send an email to support-leave(a)lists.nfs-ganesha.org