[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
Foundations Bugs, 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
Status in openssh package in Ubuntu:
Incomplete
Bug description:
this error was shown after restart of the device
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openssh-server 1:7.2p2-4ubuntu2.8 [modified: usr/lib/tmpfiles.d/sshd.conf]
ProcVersionSignature: Ubuntu 4.4.0-142.168-generic 4.4.167
Uname: Linux 4.4.0-142-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Tue Mar 5 08:29:55 2019
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-10-06 (883 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.5
apt 1.2.29ubuntu0.1
SourcePackage: openssh
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
UpgradeStatus: Upgraded to xenial on 2018-09-04 (185 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1819162/+subscriptions
More information about the foundations-bugs
mailing list