[Bug 1691826] Re: systemd script for sshd allows it to start too early should wait for authentication services...
I recreated the sshd account locally on the machine and it now starts the sshd daemon correctly using the default ssh.service file. I am withdrawing this bug report. If I see the sshd account disappear again, I will open another bug report on that. ** No longer affects: cloud-init (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691826 Title: systemd script for sshd allows it to start too early should wait for authentication services... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1691826/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691826] Re: systemd script for sshd allows it to start too early should wait for authentication services...
Right, sshd really must be a local user, so if it's currently in LDAP then that would indeed be the problem. I don't think this is a bug in openssh, so I'm marking this Invalid for now, but feel free to reopen if new information arises. ** Changed in: openssh (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691826 Title: systemd script for sshd allows it to start too early should wait for authentication services... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1691826/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691826] Re: systemd script for sshd allows it to start too early should wait for authentication services...
1. I did not intend to set it up as cloud-init. I assumed it got flagged because I tagged it with systemd-boot. Sorry if that messed things up. I'm not even sure what packages cloud-init covers. If it is not appropriate, it should be deleted. 2. The system this resides on is part of a cluster used for quantum computations. It is usually isolated from the networks. With minimum luck I will have time to transfer over the nss_ldap config and the requested logs today. However, your last question suggests what is probably the issue. I did not intentionally move sshd to ldap, but when this problem occurred I found that that is where it now resides. I am quite suspicious that is the actual problem. The other nodes on my system have a local sshd user. They are still running 14.0.4 rather than 16.04. The node I am having issues with is not used for computations, so gets used for initial upgrade testing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691826 Title: systemd script for sshd allows it to start too early should wait for authentication services... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1691826/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691826] Re: systemd script for sshd allows it to start too early should wait for authentication services...
Can you share your nss_ldap configuration, as well as /var/log/syslog and /var/log/auth.log? And, just to confirm, your sshd user is NOT in ldap, right? ** Changed in: cloud-init (Ubuntu) Status: New => Incomplete ** Changed in: openssh (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691826 Title: systemd script for sshd allows it to start too early should wait for authentication services... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1691826/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1691826] Re: systemd script for sshd allows it to start too early should wait for authentication services...
Can you share your nss_ldap configuration, as well as /var/log/syslog and /var/log/auth.log? And, just to confirm, your sshd user is NOT in ldap, right? ** Changed in: cloud-init (Ubuntu) Status: New => Incomplete ** Changed in: openssh (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1691826 Title: systemd script for sshd allows it to start too early should wait for authentication services... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1691826/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1691826] Re: systemd script for sshd allows it to start too early should wait for authentication services...
Hi Jonathan, shouldn't that be an ssh bug then? Was there any reason to flag cloud-init - maybe you used cloud-init to set that up? ** Also affects: openssh (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1691826 Title: systemd script for sshd allows it to start too early should wait for authentication services... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1691826/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs