package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Bug #1818679 reported by Johan GAUB
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I can't tell you anything. There was a error message without specific details.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openssh-server 1:7.2p2-4ubuntu2.8
ProcVersionSignature: Ubuntu 4.4.0-142.168-generic 4.4.167
Uname: Linux 4.4.0-142-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Tue Mar 5 06:48:59 2019
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
InstallationDate: Installed on 2016-08-12 (935 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt 1.2.29ubuntu0.1
SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: Missing privilege separation directory: /var/run/sshd
SourcePackage: openssh
Title: package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Johan GAUB (johangaub) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello, can you please run this command and report back the results?

ls -ld /

Thanks

Revision history for this message
Karl Stenerud (kstenerud) wrote :

Hi Johan,

This looks like this is somewhat related to https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/45234

Are you using the standard init script and configuration for sshd? try running the following to make sure your configuration is correct:

sshd -t

Once that's done, you can manually create the directory it needs:

sudo mkdir /var/run/sshd

I'm marking as invalid because this looks like a configuration problem. If it's not a configuration issue, please change the status back to "new".

Changed in openssh (Ubuntu):
status: New → Invalid
Revision history for this message
Karl Stenerud (kstenerud) wrote :

Update: There's a second person with the identical report. Please try the above fix first and report here if it does. If not, we'll have to dig deeper.

Revision history for this message
Johan GAUB (johangaub) wrote : Re: [Bug 1818679] Re: package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Hello Arnold,

I thank you for your answer.

It looks like openssh-server was not installed.

Then, I installed it and I have this message after doing a "sshd -t" :
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key

The folder /var/run/sshd exists but have nothing inside it.

Hope this will resovle the issue.

Regards

Johan

Le mar. 5 mars 2019 à 19:20, Seth Arnold <email address hidden> a
écrit :

> Hello, can you please run this command and report back the results?
>
> ls -ld /
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1818679
>
> Title:
> package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade:
> le sous-processus script post-installation installé a retourné une
> erreur de sortie d'état 1
>
> Status in openssh package in Ubuntu:
> New
>
> Bug description:
> I can't tell you anything. There was a error message without specific
> details.
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: openssh-server 1:7.2p2-4ubuntu2.8
> ProcVersionSignature: Ubuntu 4.4.0-142.168-generic 4.4.167
> Uname: Linux 4.4.0-142-generic x86_64
> ApportVersion: 2.20.1-0ubuntu2.18
> Architecture: amd64
> Date: Tue Mar 5 06:48:59 2019
> ErrorMessage: le sous-processus script post-installation installé a
> retourné une erreur de sortie d'état 1
> InstallationDate: Installed on 2016-08-12 (935 days ago)
> InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64
> (20160420.1)
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.5
> apt 1.2.29ubuntu0.1
> SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit
> code 255: Missing privilege separation directory: /var/run/sshd
> SourcePackage: openssh
> Title: package openssh-server 1:7.2p2-4ubuntu2.8 failed to
> install/upgrade: le sous-processus script post-installation installé a
> retourné une erreur de sortie d'état 1
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1818679/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.