[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
I ran into this problem today on 10.04.4 LTS, and the workaround works for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/634900/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
Up until a few minutes ago, I had not found this bug, and had been starting sshd from the init.d script instead of upstart... but as of the last patch, the init.d script was modified to use upstart to start sshd, so I had to find the solution... commenting oom_never solved the problem, but now I need to identify why that is there in the first place. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/634900/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
Importance medium is a joke You will always be able to access the container from the host. Of course, this won't work easily if you do not have access to the host. However, OpenVZ is not supported by Ubuntu and this is just one of the reasons why you would be better using Debian for server machines. I am increasing the importance, but that does not make it more likely to get addressed in upstart unfortunately. ** Changed in: upstart (Ubuntu) Importance: Medium = High ** Description changed: Binary package hint: upstart /etc/init/ssh.conf uses oom never, which causes the job failing to start in an OpenVZ container. Host: - kernel: 2.6.32-5-openvz-amd64 (Debian testing) Container: openssh-server: 1:5.3p1-3ubuntu4 (Lucid) Upstart: 0.6.5-7 (Lucid) This is a known problem (mentioned on http://ubuntuforums.org/showpost.php?p=9170868postcount=2). What information is required to debug this? Some strace output? WORKAROUND: - comment the oom never line + + POSSIBLE FIXES: + 1. Ignore any errors when trying to set oom never for the job?! + 2. Only apply oom never if not in a virtualized context (see comment #2). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/634900/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
Hi, yes I was bitten by it too. Just wasted 2 hours figuring it out via a plesk recovery console (strato). Importance medium is a joke!! Often ssh is your only way to access a remote server, so a lot of people will get cur from their servers. And no, I don't want to critique your wonderfull work, but sshd probles should be treated with highest priority. Sincerely, Fabian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/634900/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
Dito. Very annoying after the restart of my server in an OpenVz container, and i have to write the support. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
Same here. Luckily I was able to fix it using the Plesk filesystem browser and editing the file. +1 for increasing importance. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
Same here with 10.04.02 in OpenVZ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
** Description changed: Binary package hint: upstart - /etc/init/ssh.conf uses oom never, which causes the job to start in an - OpenVZ container. + /etc/init/ssh.conf uses oom never, which causes the job failing to + start in an OpenVZ container. Host: - kernel: 2.6.32-5-openvz-amd64 (Debian testing) Container: openssh-server: 1:5.3p1-3ubuntu4 (Lucid) Upstart: 0.6.5-7 (Lucid) This is a known problem (mentioned on http://ubuntuforums.org/showpost.php?p=9170868postcount=2). What information is required to debug this? Some strace output? WORKAROUND: - comment the oom never line -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
I can also confirm this in my updated 10.04.2 install which runs in an OpenVZ container on a CentOS host. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
I just updated my 10.04 LTS to 10.04.1 and fell into this trap. It is very annoying and I think the importance should be increased. The problem is that the original /etc/init.d/ssh included a test for virtual environments (searching for some string in /proc/self/status, it's gone after the update, of course) and prevented oom manipulation in these environments. It seems that this test has not found its way into upstart when handling the oom keyword. In my case, I do not have any console access to the virtual environment. So I had absolutely no way of fixing this. Luckily, I had a very recent full backup and I could restore the system from the container management console. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/634900 Title: oom never makes ssh upstart job fail to start in OpenVZ container -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 634900] Re: oom never makes ssh upstart job fail to start in OpenVZ container
** Attachment added: Dependencies.txt https://bugs.launchpad.net/bugs/634900/+attachment/1565901/+files/Dependencies.txt ** Description changed: Binary package hint: upstart /etc/init/ssh.conf uses oom never, which causes the job to start in an OpenVZ container. Host: - - kernel: 2.6.32-5-openvz-amd64 (Debian testing) + - kernel: 2.6.32-5-openvz-amd64 (Debian testing) Container: openssh-server: 1:5.3p1-3ubuntu4 (Lucid) Upstart: 0.6.5-7 (Lucid) This is a known problem (mentioned on http://ubuntuforums.org/showpost.php?p=9170868postcount=2). What information is required to debug this? Some strace output? WORKAROUND: - - comment the oom never line - - ProblemType: Bug - DistroRelease: Ubuntu 10.10 - Package: openssh-server 1:5.5p1-4ubuntu3 - ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4 - Uname: Linux 2.6.35-20-generic i686 - NonfreeKernelModules: nvidia - Architecture: i386 - Date: Fri Sep 10 14:40:46 2010 - ProcEnviron: - LANGUAGE=de_DE:de:en_US:en_GB:en - PATH=(custom, user) - LANG=de_DE.UTF-8 - SHELL=/bin/zsh - SourcePackage: openssh + - comment the oom never line ** Tags added: lucid ** Tags removed: apport-bug maverick ** Changed in: upstart (Ubuntu) Status: New = Triaged ** Changed in: upstart (Ubuntu) Importance: Undecided = Medium -- oom never makes ssh upstart job fail to start in OpenVZ container https://bugs.launchpad.net/bugs/634900 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs