package openssh-server 1:9.3p1-1ubuntu3.3 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1

Bug #2065027 reported by Peter Zezula
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

default ssh config by provider Strato (Germany)

ProblemType: Package
DistroRelease: Ubuntu 23.10
Package: openssh-server 1:9.3p1-1ubuntu3.3
ProcVersionSignature: Ubuntu 5.15.0-72.79-generic 5.15.98
Uname: Linux 5.15.0-72-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230518
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
Date: Tue May 7 09:11:31 2024
ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.0ubuntu1.1
 apt 2.7.3ubuntu0.1
SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: Missing privilege separation directory: /run/sshd
SourcePackage: openssh
Title: package openssh-server 1:9.3p1-1ubuntu3.3 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to mantic on 2024-05-07 (0 days ago)

Revision history for this message
Peter Zezula (pzezula) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Hi Peter,

Thanks for reporting this bug and help making Ubuntu better.

From your logs, I see:

SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: Missing privilege separation directory: /run/sshd

Have you manually removed that directory?

Could you provide more information about your setup? e.g., could you share that default configuration file you mentioned (please be careful not to leak any sensitive information).

I am marking this as incomplete. Once you provide additional information, please, set this bug status back to new.

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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