Skip to content

docs(rootless): setuptool needs a pam_systemd session - #25874

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/rootless-setuptool-session
Open

docs(rootless): setuptool needs a pam_systemd session#25874
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/rootless-setuptool-session

Conversation

@locker95

Copy link
Copy Markdown
Contributor

If you sudo su in and $XDG_RUNTIME_DIR is empty (or the ~/.docker/run fallback the script prints), it says systemd isn't there even on a systemd box. systemctl --user needs /run/user/$UID.

Called that out on the install page and in the existing troubleshoot section.

@netlify /engine/security/rootless/

Fixes #14491

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested a review from dvdksn as a code owner August 17, 2026 17:46
@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/security labels Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon area/security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dockerd-rootless-setuptool.sh install fails to detect systemd unless $XDG_RUNTIME_DIR is set first

1 participant