Comment 9 for bug 1993478

Revision history for this message
Christophe M. (chrism34) wrote :

It is exactly the same issue msaxl reported, the Opensshd returns an error 1 at the ends of the upgrade process, and after the upgrade it is impossible to bind/listen opensshd on anything else than :::22.

The first issue which is that opensshd reported an error 1 at the end of the upgrade process, happened on one machine.

I'll open a ticket for the bind/port issue as msaxl isn't really clear with what he said regarding the behavior of Opensshd post-upgrade, and I understood only because I had the exact same issue.

The second that is about the sshd.socket, or whatever it is, unit that doesn't allow opensshd to listen or bind to anything other than :::22. In short it is impossible to bind or listen to a custom port with Opensshd after upgrading 22.04 to 22.10 on both of my machines. The machine that returned an error 1 and the other that didn't. Same as msaxl

That second issue that msaxl reported happens to me on both of my machine, including the machine that did not report an opensshd error 1 at the end of the upgrade process.

I joined the log from the machine that had the opensshd error 1

2022-10-21 14:59:29,800 ERROR got an error from dpkg for pkg: 'openssh-server': 'installed openssh-server package post-installation script subprocess returned error exit status 1'
2022-10-21 14:59:29,801 DEBUG running apport_pkgfailure() openssh-server: installed openssh-server package post-installation script subprocess returned error exit status 1
2022-10-21 15:00:17,041 ERROR Exception during pm.DoInstall()