systemd script for sshd allows it to start too early should wait for authentication services...
Bug #1691826 reported by
Jonathan Gutow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After the most recent update to 16.04 I found that sshd failed to launch on bootup. On my particular system this is because it was not able to authenticate the user 'sshd'. It appears to be because it is starting before authentication services are completely available on my system. A simple fix was to make the following change to /lib/systemd/
--After=
++After=
Starting too early might be a security issue, but I do not have the expertise to make that judgment. This may also be related to and solve this bug #1024475 as I am also serving some of my accounts from ldap.
To post a comment you must log in.
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?