[Bug 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2010-5107 -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
** Changed in: upstart 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
Shouldn't this be 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
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 LangasekThu, 16 Feb 2012 07:52:11 + ** Changed in: upstart (Ubuntu Precise) Status: In Progress => 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
@Jason: thanks for the feedback. -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
Testing 1.4-0ubuntu7~jh I haven't been able to reproduce the issue using the test code above or commenting out 'console none' in ssh.conf, so seems to be fixed here. -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
If you would like to help with testing the fix for this bug, I've put an updated version of Upstart (version '1.4-0ubuntu7~jh') in my upstart- job-logging PPA: https://launchpad.net/~jamesodhunt/+archive/upstart-job-logging/ Please install and provide feedback. ** Changed in: upstart (Ubuntu Precise) Status: Triaged => In Progress -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
** Branch linked: lp:~jamesodhunt/ubuntu/precise/upstart/fix-for- bug-926468 -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
** Also affects: upstart Importance: Undecided Status: New ** Changed in: upstart Assignee: (unassigned) => James Hunt (jamesodhunt) ** Changed in: upstart Importance: Undecided => High ** Changed in: upstart Status: New => 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
** Changed in: upstart (Ubuntu Precise) Assignee: (unassigned) => James Hunt (jamesodhunt) -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
@Jason: thanks for taking the time to look at this. Yes, I can confirm your understanding of the problem as I had come to exactly the same conclusion! :-) I have raised a bug on openssh for the stderr fd leak: https://bugzilla.mindrot.org/show_bug.cgi?id=1976 ** Bug watch added: OpenSSH Portable Bugzilla #1976 https://bugzilla.mindrot.org/show_bug.cgi?id=1976 -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
This bug was fixed in the package openssh - 1:5.9p1-2ubuntu2 --- openssh (1:5.9p1-2ubuntu2) precise; urgency=low * Make Upstart job 'console none', to avoid pathological behaviour due to leaking Upstart's log fd 2 to child processes (LP: #926468). -- Colin WatsonMon, 06 Feb 2012 15:52:58 + ** Changed in: openssh (Ubuntu Precise) Status: Triaged => 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
** Branch linked: lp:ubuntu/openssh -- 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/926468 Title: Stopping ssh with a logged in user causes init to spin at 100% To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/926468/+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 926468] Re: Stopping ssh with a logged in user causes init to spin at 100%
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 Server Team, 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% To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/926468/+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