Skip to content

umbrella: cephadm/smb: Bind mount /run with 0755 - #69512

Merged
batrick merged 2 commits into
ceph:umbrellafrom
anoopcs9:wip-77420-umbrella
Jul 30, 2026
Merged

batrick merged 2 commits into
ceph:umbrellafrom
anoopcs9:wip-77420-umbrella

Conversation

@anoopcs9

@anoopcs9 anoopcs9 commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

backport tracker: https://tracker.ceph.com/issues/77420


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

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

anoopcs9 added 2 commits June 16, 2026 14:01
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)
@anoopcs9
anoopcs9 requested review from a team as code owners June 16, 2026 08:34
@anoopcs9 anoopcs9 added this to the umbrella milestone Jun 16, 2026
@github-actions github-actions Bot added the tests label Jun 16, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jun 16, 2026
@anoopcs9 anoopcs9 removed the releng-audit-fail Release engineering: failed backport verification audit. label Jun 17, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jun 17, 2026

@phlogistonjohn phlogistonjohn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anoopcs9

anoopcs9 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@yuriw

yuriw commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri15-testing-20260723.210930-umbrella.

@batrick batrick removed the releng-audit-pass Release engineering: passed backport verification audit. label Jul 30, 2026
@batrick

batrick commented Jul 30, 2026

Copy link
Copy Markdown
Member

jenkins test make check arm64

@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jul 30, 2026
@batrick
batrick merged commit ff6a6da into ceph:umbrella Jul 30, 2026
14 of 16 checks passed
@anoopcs9
anoopcs9 deleted the wip-77420-umbrella branch July 30, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephadm needs-qa releng-audit-pass Release engineering: passed backport verification audit. tests wip-yuri15-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants