No sshd as of the latest update
D. R. Evans
doc.evans at gmail.com
Wed May 20 19:30:46 UTC 2015
Nils Kassube wrote on 05/20/2015 01:17 PM:
> D. R. Evans wrote:
>> I updated my one remaining Kubuntu machine this morning with the
>> latest official updates.
>
> Could you perhaps specify which Kubuntu release you're talking about?
>
I'm sorry. I thought that "latest" was sufficiently specific. I'm talking
about 15.04.
>> Now I can no longer ssh into the machine. shhd worked fine prior
>> applying these updates.
>>
>> Errors during startup no longer seem to be written to
>> /var/log/messages; where do I go to find some kind of indication as
>> to why sshd didn't start?
>
> The messages file has not been used for several years. Try
> "/var/log/syslog" instead.
Thank you.
----
shack:/var/log# grep ssh syslog | head
May 20 11:43:35 shack kernel: [ 43.773168] systemd[1]: ssh.service: main
process exited, code=exited, status=255/n/a
May 20 11:43:35 shack kernel: [ 43.773940] systemd[1]: Unit ssh.service
entered failed state.
May 20 11:43:35 shack kernel: [ 43.774015] systemd[1]: ssh.service failed.
May 20 11:43:36 shack kernel: [ 44.107823] systemd[1]: ssh.service holdoff
time over, scheduling restart.
May 20 11:43:36 shack kernel: [ 44.139419] systemd[1]: ssh.service: main
process exited, code=exited, status=255/n/a
May 20 11:43:36 shack kernel: [ 44.139839] systemd[1]: Unit ssh.service
entered failed state.
May 20 11:43:36 shack kernel: [ 44.139913] systemd[1]: ssh.service failed.
May 20 11:43:36 shack kernel: [ 44.357812] systemd[1]: ssh.service holdoff
time over, scheduling restart.
May 20 11:43:36 shack kernel: [ 44.387559] systemd[1]: ssh.service: main
process exited, code=exited, status=255/n/a
May 20 11:43:36 shack kernel: [ 44.388069] systemd[1]: Unit ssh.service
entered failed state.
shack:/var/log# grep sshd syslog | head
May 20 12:30:17 shack sshd[2207]: Missing privilege separation directory:
/var/run/sshd
May 20 12:30:17 shack sshd[2224]: Missing privilege separation directory:
/var/run/sshd
May 20 12:30:18 shack sshd[2229]: Missing privilege separation directory:
/var/run/sshd
May 20 12:30:18 shack sshd[2245]: Missing privilege separation directory:
/var/run/sshd
May 20 12:30:18 shack sshd[2250]: Missing privilege separation directory:
/var/run/sshd
shack:/var/log#
>
> You should run "start ssh" (unless you are using 15.04 - I don't know
> which command should be used with systemd). That command would create
> the directory "/var/run/sshd" if necessary.
I have created the /var/run/sshd directory manually, and now /usr/bin/sshd
executes when started manually; I'll try to boot the machine when it's not
needed and see if sshd now starts properly at boot time as well.
But the fact that any of this happened is really more than a little worrying.
For years I have applied official updates as they're offered without any
concern that they will cause breakage. Things seem to be different with 15.04 :-(
Doc
--
Web: http://www.sff.net/people/N7DR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20150520/45dbdd89/attachment.sig>
More information about the kubuntu-users
mailing list