[Bug 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
Colin Watson
cjwatson at canonical.com
Mon Feb 6 15:50:52 UTC 2012
As discussed with James, we should make openssh use 'console none' to
avoid leaking the fd (well, there are multiple ways to do this, but this
is probably least invasive), but we should also convert log_read_watch
to integrate with upstart's main select loop so that it doesn't behave
this way with any other jobs that may have similar behaviour.
** Also affects: openssh (Ubuntu)
Importance: Undecided
Status: New
** Changed in: openssh (Ubuntu Precise)
Importance: Undecided => High
** Changed in: openssh (Ubuntu Precise)
Status: New => Triaged
** Changed in: openssh (Ubuntu Precise)
Assignee: (unassigned) => Colin Watson (cjwatson)
--
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/926468
Title:
Stopping ssh with a logged in user causes init to spin at 100%
Status in “openssh” package in Ubuntu:
Fix Released
Status in “upstart” package in Ubuntu:
Triaged
Status in “openssh” source package in Precise:
Fix Released
Status in “upstart” source package in Precise:
Triaged
Bug description:
Steps to reproduce:
1) Boot the machine with --log on the kernel command line
2) Log into the machine through ssh
3) Execute: sudo stop ssh;
4) The init process will spin with EAGAIN on one if its file descriptors
5) Exit the remote ssh session and the service will stop
The process appears to be looping in init/log.c:log_read_watch.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/926468/+subscriptions
More information about the foundations-bugs
mailing list