Comments (5)
The research for the post pointed me to this thread which pointed out that the problem could be ganesha requiring privileged access for this to work. And alas, running the container as privileged indeed makes the mount command succeed. Indeed, it is sufficient to grant it the capability SETFCAP
(see this for more).
Is this working as intended?
from nfs-ganesha.
It's working as intended, yes. Ganesha needs the open_by_handle_at() to be able to turn a NFS object reference into a POSIX file handle so that we can do I/O on it. The kernel developers have determined that using this call requires elevated permissions, so Ganesha needs elevated permissions to serve local files. It's a fundamental incompatibility between NFS and POSIX.
from nfs-ganesha.
Yes, this is working as expected.
from nfs-ganesha.
I just added some text to the wiki documentation for FSAL_VFS.
from nfs-ganesha.
please closed by resolved
from nfs-ganesha.
Related Issues (20)
- Q: unwind requires libc-devel, provided by which package in centos 8.2? HOT 16
- Add support for CEPH ceph.file.layout and ceph.dir.layout xattr HOT 7
- ganesha crash @lock_entry_dec_ref() HOT 1
- [Question] How should `owner` parameter be used in lock_op2() in FSAL api? HOT 6
- possible lock starvation in lock conflict scenerio HOT 2
- Add testing instructions to CONTRIBUTING_HOWTO.txt HOT 1
- Using the DBUS to dynamically update protocols of export, changed from 3 to 3, 4, not in effect. HOT 15
- Ha cluster config HOT 1
- [Question] How does nfs-ganesha avoid state reclaimed in edge conditions? HOT 13
- [Question] Is there replay cache for NFS v3 or NFS v4.0 in nfs-ganesha? HOT 2
- Unable to git clone on top of NFS share with Ganesha v6.
- How to close socket when socket idle ? HOT 3
- NFSv4 ACL support in FSAL_VFS but without VFS_POSIX_ACL / USE_ACL_MAPPING HOT 8
- 5.7: build fails with `USE_GTEST=ON` HOT 1
- Potential bug: lost export_ops->unexport() if export_ops->lookup_path() fails HOT 2
- ganesha crash in Protocols/NFS/nfs3_create.c HOT 3
- ganesha crash while deleting lock_entry->sle_list in 4.3 HOT 3
- v5.7 packages for SLES15 ?
- 5.9: FileNotFoundError: [Errno 2] No such file or directory: 'dist/ganesha-top-5.9-py3-none-any.whl' HOT 4
- ganesha thread is stuck HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfs-ganesha.