*** This bug is a duplicate of bug 2080216 ***
    https://bugs.launchpad.net/bugs/2080216

Thanks for this bug report. This is effectively a duplicate of bug
2080216 (same root cause, same fix).

The patch for this is currently available in noble-proposed, and should
hopefully land in noble-updates soon.

** This bug has been marked a duplicate of bug 2080216
   sshd cannot bind to IPv4 interfaces

-- 
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/2089198

Title:
  sshd-socket-generator incorrectly converts ListenAddress to
  ListenStream, sshd does not start due to "Address already in use"

Status in openssh package in Ubuntu:
  New

Bug description:
  After upgrading from 22.04 to 24.04, ssh.socket failed to start.
  I have overridden ListenAddress in /etc/ssh/sshd_config.d/listenaddress.conf, 
which contains:

  ListenAddress 192.0.2.2
  ListenAddress ::

  This was converted into the following
  /run/systemd/generator/ssh.socket.d/addresses.conf

  # Automatically generated by sshd-socket-generator

  [Socket]
  ListenStream=
  ListenStream=22
  ListenStream=192.0.2.2:22

  The two ListenStream definitions obviously conflict, causing the startup 
error.
  Although my ListenAddress configuration doesn't do what I wanted it to either 
(listen on just one v4 address but all v6 addresses), it just listens on all 
addresses (*:22), sshd starts successfully with it.
  As I don't need socket activation as RAM usage isn't an issue in my case, I 
disabled ssh.socket and reenabled ssh.service to make it work again.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: openssh-server 1:9.6p1-3ubuntu13.5
  ProcVersionSignature:
   
  Uname: Linux 6.8.12-4-pve x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Thu Nov 21 02:06:35 2024
  ProcEnviron:
   PATH=(custom, no user)
   TERM=linux
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: openssh
  UpgradeStatus: Upgraded to noble on 2024-11-21 (0 days ago)
  modified.conffile..etc.init.d.apport: [modified]
  mtime.conffile..etc.init.d.apport: 2024-07-22T16:59:07

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2089198/+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