Repository navigation
tentacle: cephadm/smb: Bind mount /run with 0755 - #69514
Conversation
The host side 'run' directory under /var/lib/ceph/<fsid>/<svc_dir> bind mounted into SMB containers is created with mode 0770, preventing any non owner processes from accessing unix domain sockets or named pipes under /run. This breaks smbd to winbindd communication, causing SID to name resolution failures for AD joined deployments. Therefore change permissions to 0755 to match standard /run semantics. Fixes: https://tracker.ceph.com/issues/77120 Signed-off-by: Anoop C S <[email protected]> (cherry picked from commit c0fda14)
Verify that rpcclient lookupsids resolves domain user SIDs correctly inside the smbd container, preventing regressions on /run bind mount permissions that break smbd to winbindd communication. Fixes: https://tracker.ceph.com/issues/77120 Signed-off-by: Anoop C S <[email protected]> (cherry picked from commit 31e1c7b)
9cafcf0 to
198b748
Compare
|
Note: Since |
|
@rkachach |
|
jenkins test make check |
|
Hi @phlogistonjohn I'm not familiar enough with SMB tests, but it seems the code being cherry-picked has nothing to do with the original code. I understand that this is the case bcz the infra is not the same. So I'm wondering if this change should be treated as "backport" or just a direct PR on top of Tentacle as in fact we are not cherry-picking the original code which could be misleading ... |
|
Everything is a backport except for the tests. The tests were done differently because main contains a refactor/new feature of the tests that tentacle is missing. To the best of my knowledge the code under src/ is a clean backport. So we run afoul of the bot's assumption that the entire backport should be the same as main. I really don't see an advantage of opening a new PR vs. simply overriding the bot based on these instructions: and (since it is intentional - I guess we could be more explicit on the "documented" front - @anoopcs9 want to update the commit message to be very clear? I know I was aware but going back over the PR, I don't see it called out particularly "loudly") so I pinged you as the overall orch component lead :-) |
|
Awesome, thank you very much @phlogistonjohn for the detailed explanation. As John mentioned, @anoopcs9 I think documenting what's going on in the PR description (specially the fact the code is the same and the reason why the testing changes are different) would definitely be useful for anybody reviewing backports :) |
|
/audit override |
|
✅ Audit Override Applied by @rkachach. |
|
jenkins test make check |
I've added a note in the PR description to explain the situation, thanks. |
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
|
@anoopcs9 this PR is part of the |
|
This PR has been added to wip-yuri13-testing-20260729.211123-tentacle. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #69514 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 4176dc4 cephadm/smb: Bind mount /run with 0755 | PR #69289 | c0fda14 cephadm/smb: Bind mount /run with 0755 |
| 198b748 qa/smb: Test SID resolution in AD joined containers | 31e1c7b qa/smb: Test SID resolution in AD joined containers |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 198b748 (cherry-pick of 31e1c7b)
Affected File(s)
qa/suites/orch/cephadm/smb/tasks/deploy_smb_mgr_domain.yamlqa/workunits/smb/tests/cephutil.pyqa/workunits/smb/tests/pytest.ini
Range Diff
Click to expand
--- Original (31e1c7bd)
+++ Backport (198b7480)
@@ -6,3 +6,4 @@
Fixes: https://tracker.ceph.com/issues/77120
Signed-off-by: Anoop C S <[email protected]>
+(cherry picked from commit 31e1c7bd5e461dca0a07b6c631f738272360c549)
================================================================================
RANGE DIFF
================================================================================
1: 31e1c7bd5e4 < -: ----------- qa/smb: Test SID resolution in AD joined containers
-: ----------- > 1: 198b7480de8 qa/smb: Test SID resolution in AD joined containersHow to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
✅ Audit Override Applied by @batrick. |
backport tracker: https://tracker.ceph.com/issues/77421
backport of #69289
parent tracker: https://tracker.ceph.com/issues/77120
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh