Allow the charm to set Squash option of a share volume
Bug #2078303 reported by
Bui Hong Ha
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph NFS Charm |
In Progress
|
Wishlist
|
Ponnuvel Palaniyappan |
Bug Description
From the source code, the exported volume has the Squash option set to None by default.
https:/
This value is hard-coded in the charm code and I do not see any option to change it.
Could we add actions to the charm to allow modify the squash value?
Changed in charm-ceph-nfs: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-ceph-nfs: | |
assignee: | nobody → Ponnuvel Palaniyappan (pponnuvel) |
status: | Triaged → In Progress |
To post a comment you must log in.
By default the setting is set to None, which means No RootSquash [1]. By default, a normal NFS exports will have RootId Squashed by default [2].
If The configuration for Squash remains as None as set by default by the Charm, a root user in the client is also a root user in the NFS server (manila-ganesha units?). For a general usage, I believe a Root_Id_Squash value should be a more reasonable default.
1. https:/ /github. com/nfs- ganesha/ nfs-ganesha/ blob/next/ src/config_ samples/ export. txt /linux. die.net/ man/5/exports
2. https:/