Repository navigation
cephadm/smb: Bind mount /run with 0755 - #69289
Conversation
c0e3f04 to
ee322dd
Compare
|
jenkins test api |
ee322dd to
b1324b1
Compare
|
I've triggered teuthology, waiting for run to finish : |
It's completed now. I see some failures but doesn't look related to smb. Can you verify? @phlogistonjohn |
|
At least the newly added steps ran successfully from deploy_smb_mgr_domain and deploy_smb_domain: |
No, I don't see anything troubling here, but unless you are (also) testing a general orch change, I suggest next time just limiting the scope of 'smb' tests using the --filter-all flag (or something along those lines) for teuthology. |
Yes, I just wanted to run the orch tests to verify there are no side effects. |
b1324b1 to
38c329e
Compare
avanthakkar
left a comment
There was a problem hiding this comment.
LGTM. I'll trigger fresh qa run for the new changes.
phlogistonjohn
left a comment
There was a problem hiding this comment.
Thanks for going the extra mile and updating the tests. LGTM.
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
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]>
38c329e to
13ca52c
Compare
|
jenkins test windows |
I've triggered teuthology with smb only tests: https://pulpito-ng.ceph.com/runs/avan-2026-06-10_09:59:08-orch:cephadm:smb-wip-athakkar-testing-2026-06-10-1328-distro-default-trial |
|
|
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]>
13ca52c to
31e1c7b
Compare
Yeah, the username ended up as |
|
jenkins test windows |
|
jenkins test windows |
Yeah that's first time I'm seeing it too😄 |
The host side
rundirectory under /var/lib/ceph//<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
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.