[Bug 1819162] Re: package openssh-server 1:7.2p2-4ubuntu2.8 [modified: usr/lib/tmpfiles.d/sshd.conf] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Tue Mar 12 13:27:16 UTC 2019
Thanks for filing this bug in Ubuntu.
You have some odd error messages in your logs:
Processing triggers for ufw (0.35-0ubuntu2) ...
Setting up openssh-client (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.8) ...
Unsafe symlinks encountered in /var/run/sshd, refusing.
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ssh, action "restart" failed.
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2019-03-05 08:29:54 CET; 28ms ago
Process: 11801 ExecStartPre=/usr/sbin/sshd -t [0;1;31m(code=exited, status=255)[0m
Mar 05 08:29:54 cl070nb.secusmart.intranet systemd[1]: [0;1;39mssh.service: Control p...[0m
Mar 05 08:29:54 cl070nb.secusmart.intranet systemd[1]: [0;1;31mFailed to start OpenBS...[0m
Mar 05 08:29:54 cl070nb.secusmart.intranet systemd[1]: [0;1;39mssh.service: Unit ente...[0m
Mar 05 08:29:54 cl070nb.secusmart.intranet systemd[1]: [0;1;39mssh.service: Failed wi...[0m
In particular:
a)
WARN: uid is 0 but '/etc' is owned by 429001590
WARN: uid is 0 but '/lib' is owned by 429001590
and
b)
Unsafe symlinks encountered in /var/run/sshd, refusing.
Could you please verify those? (b) might be a consequence of (a).
** Changed in: openssh (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819162
Title:
package openssh-server 1:7.2p2-4ubuntu2.8 [modified:
usr/lib/tmpfiles.d/sshd.conf] failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1819162/+subscriptions
More information about the Ubuntu-server-bugs
mailing list