-
Notifications
You must be signed in to change notification settings - Fork 136
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
feat: Ubuntu noble #290
feat: Ubuntu noble #290
Conversation
Hi @Jakuje Current failure is down to the sockets systemd unit file. Ubuntu 24.04 default is: [Unit]
Description=OpenBSD Secure Shell server socket
Before=sockets.target ssh.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
[Socket]
ListenStream=22
Accept=no
FreeBind=yes
[Install]
WantedBy=sockets.target
RequiredBy=ssh.service Our template is
Options I can see are:
What are your thoughts? (P.S. No more PRs. the misspelling of noble on the branch was annoying me and source branch can't be changed on a PR) |
Thank you for having a look into this!
I am wondering how it even works ... Its already some time since I was maintaining the OpenSSH, but this sounds like both ssh.service and ssh.socket is enabled which in the past caused random failures (whether systemd or openssh got hold of the port 22 first). But this seems to be solved by ordering the socket first with
I think that would be preferred. If I see right, we need
This could do as we are writing the files in
The override works ok when we want to modify some features in existing service, but if we want to set up separate |
Regarding the CentOS 8, I got roles-ansible/check-ansible-centos-centos8-action#7 merged so it should keep working with the archive repositories. Certainly not for production use, but it should be good enough for CI use. Your PR for the ubuntu was also merged to the actions so you can revert that / drop that patch too when you will be doing next changes. |
@Jakuje I think this is about there. I've disable the tests for the [email protected] as 24.04 doesn't have the file in it's package. Please review. |
Co-authored-by: Jakub Jelen <[email protected]>
Co-authored-by: Jakub Jelen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Enhancement:
Reason:
Result:
Issue Tracker Tickets (Jira or BZ if any):