-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sit.cephfs: Add proxy enbaled shares with vfs_ceph_new
(non-mgr)
#128
sit.cephfs: Add proxy enbaled shares with vfs_ceph_new
(non-mgr)
#128
Conversation
|
Signed-off-by: Anoop C S <[email protected]>
c171265
to
8bfbce6
Compare
We'll have to probably wait for the packages to be built with ceph/ceph#61537 and There's still a TODO for resolving the following SELinux AVC denials:
|
8bfbce6
to
c7a7f3a
Compare
Done.
Temporarily did a hack to create socket under /run/samba where all required permissions(basically rw) are already granted for smbd.
For this we may have to create a custom policy until upstream agrees to come up with a boolean(probably |
Confirmation on the final pending SELinux AVC denial from failed test run logs:
|
Signed-off-by: Anoop C S <[email protected]>
Signed-off-by: Anoop C S <[email protected]>
For the time being, until the official fix[1] is available with standard selinux-policy packages, compile and insert a local SELinux policy to allow smbd to connect via unix stream sockets for proper fucntioning of libcephfs proxy. Refer comments from [2] for more details. [1] [2] samba-in-kubernetes#128 Signed-off-by: Anoop C S <[email protected]>
c7a7f3a
to
fd35f0e
Compare
Signed-off-by: Anoop C S <[email protected]>
For the time being, until the official fix[1] is available with standard selinux-policy packages, compile and insert a local SELinux policy to allow smbd to connect via unix stream sockets for proper fucntioning of libcephfs proxy. Refer comments from [2] for more details. [1] [2] samba-in-kubernetes#128 Signed-off-by: Anoop C S <[email protected]>
fd35f0e
to
5a65420
Compare
For the time being, until the official fix[1] is available with standard selinux-policy packages, compile and insert a local SELinux policy to allow smbd to connect via unix stream sockets for proper fucntioning of libcephfs proxy. Refer comments from [2] for more details. [1] [2] samba-in-kubernetes#128 Signed-off-by: Anoop C S <[email protected]>
5a65420
to
61e6cd6
Compare
For the time being, until the official fix[1] is available with standard selinux-policy packages, compile and insert a local SELinux policy to allow smbd to connect via unix stream sockets for proper fucntioning of libcephfs proxy. Refer comments from [2] for more details. [1] [2] samba-in-kubernetes#128 Signed-off-by: Anoop C S <[email protected]>
61e6cd6
to
d7d57ca
Compare
For the time being, until the official fix[1] is available with standard selinux-policy packages, compile and insert a local SELinux policy to allow smbd to connect via unix stream sockets for proper fucntioning of libcephfs proxy. Refer comments from [2] for more details. [1] fedora-selinux/selinux-policy#2555 [2] samba-in-kubernetes#128 Signed-off-by: Anoop C S <[email protected]>
Signed-off-by: Anoop C S <[email protected]>
The additional share configuration is currently included only for default variant where ceph smb mgr module is not involved. Signed-off-by: Anoop C S <[email protected]>
d7d57ca
to
1808c35
Compare
fedora-selinux/selinux-policy#2555 created upstream to address the above SELinux issues. |
Proxy enabled share configuration from test statedump:
and the sanity runs passed on the additional share.
|
For the time being, until the official fix[1] is available with standard selinux-policy packages, compile and insert a local SELinux policy to allow smbd to connect via unix stream sockets for proper fucntioning of libcephfs proxy. Refer comments from [2] for more details. [1] fedora-selinux/selinux-policy#2555 [2] #128 Signed-off-by: Anoop C S <[email protected]>
With ceph/ceph#58376 merged we have the libcephfs proxy library and its dependencies available with upstream. Therefore we try to create an additional share with proxy enabled.
Please note that even though we have the required
Recommends:
for dependent packages defined in the rpm spec file(and visible with built rpms) there is an extra mile that DNF takes as part of libsolv library which prevents it from being presented as installable weak dependencies as one would expect as per the docs.depends on ceph/ceph#61537