Skip to content
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

Update Debian compatibility #784

Merged
merged 6 commits into from
Aug 6, 2024
Merged

Update Debian compatibility #784

merged 6 commits into from
Aug 6, 2024

Conversation

schurzi
Copy link
Contributor

@schurzi schurzi commented Aug 2, 2024

Newer versions of Debian/Ubuntu will not create the /run/ssh directory because of socket activation. We have to create it ourselves. This is not a problem in RPM based distros, since they create it as part of the RPM.

Also because of socket activation there is a systemd dependency of ssh.service to ssh.socket. This dependency can be removed with systemd commands but the process is tedious and deleting the relevant files in /etc/systemd achieves the same result much simpler.

Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
@schurzi schurzi linked an issue Aug 2, 2024 that may be closed by this pull request
@schurzi schurzi requested a review from rndmh3ro August 2, 2024 14:22
@schurzi schurzi changed the title Update Ubuntu compatability Update Debian compatability Aug 2, 2024
@schurzi schurzi changed the title Update Debian compatability Update Debian compatibility Aug 2, 2024
Signed-off-by: Martin Schurz <[email protected]>
@rndmh3ro rndmh3ro merged commit 69ab9e4 into master Aug 6, 2024
78 checks passed
@rndmh3ro rndmh3ro deleted the ubuntu_current branch August 6, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ubuntu 24.04 support Error: Missing privilege separation directory: /run/sshd
2 participants