[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Setting Importance to Critical as this is an expected harmless operation
that will render the system essentially unreachable (and thus unusable)
for remote users (eg. just about all server users).

It seems to me that the STOP patch should only activate on first run,
not on a re-exec. I'll take a look.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Robie Basak
(confirmed on Trusty 1:6.6p1-2)

** Changed in: openssh (Ubuntu)
   Status: New = Triaged

** Changed in: openssh (Ubuntu)
   Importance: Undecided = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Robie Basak
** Changed in: openssh (Ubuntu)
 Assignee: (unassigned) = Robie Basak (racb)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Robie Basak
openssh in Saucy (1:6.2p2-6ubuntu0.1) doesn't have this issue. Looks
like its upstart job doesn't set SSH_SIGSTOP, use expect stop, and
doesn't have the patch.

So I think the bug is in the patch applied in Trusty. Fix attached. It
seems to work. I'd appreciate a review of what I've done, though.

** Patch added: sigstop-reexec.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1306877/+attachment/4083307/+files/sigstop-reexec.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Colin Watson
** Changed in: openssh (Ubuntu)
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-14 Thread Launchpad Bug Tracker
This bug was fixed in the package openssh - 1:6.6p1-2ubuntu1

---
openssh (1:6.6p1-2ubuntu1) trusty; urgency=medium

  * Upload from Debian git repository to fix a release-critical bug.
  * Debconf translations:
- French (thanks, Étienne Gilli; closes: #743242).
  * Never signal the service supervisor with SIGSTOP more than once, to
prevent a hang on re-exec (thanks, Robie Basak; LP: #1306877).
 -- Colin Watson cjwat...@ubuntu.com   Mon, 14 Apr 2014 12:20:48 +0100

** Changed in: openssh (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1306877] Re: sshd stops accepting new connections after configuration reload

2014-04-12 Thread TAKAHASHI Shuhei
This is the change I mentioned above:
https://github.com/nya3jp/openssh-debian/commit/0334ce32304e9ba2a10ee5ca49ca6e8ff3ba6cf4

As a workaround, I commented out these two lines in /etc/init/ssh.conf:
  # env SSH_SIGSTOP=1
  # expect stop

Now initctl reload ssh works fine, though I'm not really sure I'm
doing a right thing.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1306877

Title:
  sshd stops accepting new connections after configuration reload

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs