[Bug 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
Launchpad Bug Tracker
926468 at bugs.launchpad.net
Thu Feb 16 08:05:15 UTC 2012
This bug was fixed in the package upstart - 1.4-0ubuntu7
---------------
upstart (1.4-0ubuntu7) precise; urgency=low
* debian/manpages/upstart-events.7: Added missing events 'container' and
'not-container'.
* Update 'runlevel' event emission time in upstart-events(7) (LP: #921501).
* Merge of important upstream log fixes to avoid spinning when a job
which leaks fds (such as 'sshd -D') is stopped (LP: #926468).
* Merge of lp:~jamesodhunt/upstart/early-job-log-flush to allow jobs that
_end_ very early in the boot to have their output logged.
* debian/conf/flush-early-job-log.conf: Upstart job to force flushing of
early job log output data when disk becomes writeable.
* Re-enable job logging by default.
[ Steve Langasek ]
* init/tests/test_job_process.c: close all fds before running tests that
check for unexpected open fds, so that files leaked from the environment
don't cause the test suite to fail gratuitously. LP: #926473.
* bump debhelper compat to 9 and adjust debian/rules to use the
dpkg-buildflags interfaces, so that upstart can be cross-compiled and
also so we pick up any future hardening flags for free.
-- Steve Langasek <steve.langasek at ubuntu.com> Thu, 16 Feb 2012 07:52:11 +0000
** Changed in: upstart (Ubuntu Precise)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/926468
Title:
Stopping ssh with a logged in user causes init to spin at 100%
Status in Upstart:
Fix Committed
Status in “openssh” package in Ubuntu:
Fix Released
Status in “upstart” package in Ubuntu:
Fix Released
Status in “openssh” source package in Precise:
Fix Released
Status in “upstart” source package in Precise:
Fix Released
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/upstart/+bug/926468/+subscriptions
More information about the foundations-bugs
mailing list