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

ssh: fix service reference #94

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

cpaelzer
Copy link
Contributor

The old used to work and will work again after 1 is fixed, but the ssh service on disk is /usr/lib/systemd/system/ssh.service and sshd only an alias (which currently happens to be broken on noble). Using ssh.service in our examples avoids readers to stumble until fixed in an SRU and can stay as-is afterwards.

Fixes: #93

The old used to work and will work again after [1] is fixed,
but the ssh service on disk is /usr/lib/systemd/system/ssh.service
and sshd only an alias (which currently happens to be broken on noble).
Using ssh.service in our examples avoids readers to stumble until
fixed in an SRU and can stay as-is afterwards.

[1]: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2087949

Fixes: canonical#93

Signed-off-by: Christian Ehrhardt <[email protected]>
Copy link
Contributor

@slyon slyon left a comment

Choose a reason for hiding this comment

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

Yes, I can confirm this.

On Plucky:

root@pp:~# ll /usr/lib/systemd/system/ssh*.service
-rw-r--r-- 1 root root 561 Oct 30 14:33  /usr/lib/systemd/system/ssh.service
lrwxrwxrwx 1 root root  11 Nov 19 17:06  /usr/lib/systemd/system/sshd.service -> ssh.service
-rw-r--r-- 1 root root 341 Oct 30 14:33 '/usr/lib/systemd/system/[email protected]'

On Noble:

$ ll /usr/lib/systemd/system/ssh*.service 
-rw-r--r-- 1 root root 538 Apr  4  2024 /usr/lib/systemd/system/ssh.service

lgtm.

@slyon slyon merged commit 378e153 into canonical:main Dec 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: SSH not restarting with "sudo systemctl restart sshd.service"
2 participants