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()


** Attachment added: "Machine-1_dist-upgrade.zip"
   
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1993478/+attachment/5625850/+files/Machine-1_dist-upgrade.zip

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1993478

Title:
  package openssh-server 1:9.0p1-1ubuntu7 failed to install/upgrade:
  postinstall script returned 1

Status in openssh package in Ubuntu:
  Triaged

Bug description:
  update failed...

  ProblemType: Package
  DistroRelease: Ubuntu 22.10
  Package: openssh-server 1:9.0p1-1ubuntu7
  ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
  Uname: Linux 5.15.0-48-generic x86_64
  NonfreeKernelModules: cpuid tcp_diag inet_diag tls authenc echainiv esp4 
xfrm_user xfrm_algo sctp ip6_udp_tunnel udp_tunnel cfg80211 veth nft_chain_nat 
xt_REDIRECT nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp 
nft_counter xt_policy nft_compat nf_tables nfnetlink bridge stp llc 
nls_iso8859_1 hid_generic joydev crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel usbhid virtio_net net_failover hid failover i2c_piix4 
pata_acpi qemu_fw_cfg floppy sch_fq_codel ipmi_devintf ipmi_msghandler msr 
ramoops reed_solomon pstore_blk efi_pstore pstore_zone ip_tables x_tables 
autofs4 btrfs blake2b_generic zstd_compress dm_crypt raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx libcrc32c xor 
raid6_pq raid1 raid0 multipath linear bochs drm_vram_helper drm_ttm_helper ttm 
drm_kms_helper syscopyarea aesni_intel sysfillrect sysimgblt input_leds 
fb_sys_fops cec crypto_simd rc_core psmouse cryptd drm serio_raw virtio_scsi 
mac_hid
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Wed Oct 19 08:41:28 2022
  ErrorMessage: »installiertes post-installation-Skript des Paketes 
openssh-server«-Unterprozess gab den Fehlerwert 1 zurück
  InstallationDate: Installed on 2019-08-13 (1162 days ago)
  InstallationMedia: Ubuntu-Server 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  Python3Details: /usr/bin/python3.10, Python 3.10.7, python3-minimal, 3.10.6-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.9ubuntu1
   apt  2.5.3
  SourcePackage: openssh
  Title: package openssh-server 1:9.0p1-1ubuntu7 failed to install/upgrade: 
»installiertes post-installation-Skript des Paketes 
openssh-server«-Unterprozess gab den Fehlerwert 1 zurück
  UpgradeStatus: Upgraded to kinetic on 2022-10-19 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1993478/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to