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
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
ProcVersionSign
Uname: Linux 5.15.0-72-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230518
CloudSubPlatform: seed-dir (/var/lib/
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/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
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.