This indeed looks like a deadlock. It could  be broken by openssh's if-
up.d script if it reloads ssh asynchronously instead of blocking on it.
It would be even better to finally get rid of this silly hack and make
openssh use IP_FREEBIND properly :-)

I'm very reluctant to make invoke-rc.d reload itself async. This is too
regression prone, as a scripts might depend on the reload actually being
done after the call.

Also, low priority. Restarting "networking" has never worked under
upstart at all, and it mostly works now (can't reproduce this on several
machines). So this is mostly a case of "don't do that then"..

** Package changed: ifupdown (Ubuntu) => openssh (Ubuntu)

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Low

** Changed in: openssh (Ubuntu)
       Status: Confirmed => Triaged

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

Title:
  systemctl restart networking hangs reloading ssh.service

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to