[Bug 1219512] Re: Setting ListenAddress to dhcp-client determined ip deadlocks boot

Launchpad Bug Tracker 1219512 at bugs.launchpad.net
Mon Nov 4 04:17:52 UTC 2013


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

** Changed in: openssh (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1219512

Title:
  Setting ListenAddress to dhcp-client determined ip deadlocks boot

Status in “openssh” package in Ubuntu:
  Expired
Status in “upstart” package in Ubuntu:
  Expired

Bug description:
  1. Install Ubuntu Server
  2. Install openssh-server
  3. Set your router (or OTHER dhcp-server) to assign a fixed ip to your server installation
  4. Change ListenAddress to that fixed ip
  5. Server never finishes booting. no remote (ssh) login possible. sometimes not even pingable.

  ---> sshd trying to bind to an ip even when no network link is
  availble is one thing, but it certainly should not end in a deadlock
  during boot...

  auth.log
  ------------
  Sep  1 04:05:34 server sshd[1072]: error: Bind to port 28282 on 192.168.1.2 failed: Cannot assign requested address.
  Sep  1 04:05:34 server sshd[1072]: fatal: Cannot bind any address.

  kern.log
  ------------
  Sep  1 04:05:37 server kernel: [   28.662038] r8169 0000:04:00.0 p2p1: link up
  Sep  1 04:05:37 server kernel: [   28.662048] IPv6: ADDRCONF(NETDEV_CHANGE): p2p1: link becomes ready

  sshd_config:
  ------------------
  Port 12345
  ListenAddress 192.168.1.2
  AllowUsers bernstein

  PrintMotd no
  AcceptEnv LANG LC_*
  Subsystem sftp /usr/lib/openssh/sftp-server
  UsePAM yes

  LogLevel VERBOSE

  PermitRootLogin no
  UsePrivilegeSeparation sandbox
  PasswordAuthentication no
  ChallengeResponseAuthentication no
  ClientAliveInterval 240
  LoginGraceTime 20
  MaxStartups 1:100:1
  Banner /etc/issue.net

  System information
  -------------------
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: openssh-server 1:6.1p1-4
  ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Sun Sep  1 19:46:10 2013
  MarkForUpload: True
  SourcePackage: openssh
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list