Hi,
I took a fresh system and it had openssh-server installed right away (as it is
part of all the base images).
/var/run/sshd was at 0755 root:root already
I was wondering if the package install would kill the permission/ownership, so
I did
$ apt install --reinstall openssh-server
But things stayed fine.
Ok, then I purged the package and removed the path to then install it from
scratch.
$ apt remove --purge openssh-server
$ rmdir /var/run/sshd
# ensured that /var/run/sshd really doesn't exist anymore
$ apt install openssh-server
The path is back and permissions are ok.
I can't find how you got into this situation :-/
I'm puzzled:
- from what to what do you upgrade trusty -> xenial or just a package version
in xenial?
- do you have any idea where the bad permissions on /var/run/sshd might come in
your case?
- if you follow my second example of purge, rmdir, install does the path get
created correctly on your system?
** 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/1814124
Title:
sshd does not start after update
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1814124/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs