[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
Fixed in karmic (and maverick has this built into sshd upstream in such a way as to avoid this class of problem entirely). I'll open a hardy task, though, in case we have time to deal with that. openssh (1:5.1p1-6) unstable; urgency=low * Open /proc/self/oom_adj with O_RDONLY or O_WRONLY as necessary, rather than O_RDWR. * Disable OOM adjustment for vserver/OpenVZ (thanks, Karl Chen; closes: #511771). * Add ufw integration (thanks, Didier Roche; see https://wiki.ubuntu.com/UbuntuFirewall#Integrating%20UFW%20with%20Packages; LP: #261884). * Add a comment above PermitRootLogin in sshd_config pointing to README.Debian. * Check if delgroup is present in openssh-client.postrm (closes: #530501). * Build with -fPIC on mips/mipsel (thanks, Luk Claes; closes: #531942). * Remove /var/run/sshd from openssh-server package; it will be created at run-time before starting the server. * Use invoke-rc.d in openssh-server's if-up script. -- Colin Watson Fri, 05 Jun 2009 11:56:03 +0100 ** Changed in: openssh (Ubuntu) Status: Confirmed => Fix Released ** Also affects: openssh (Ubuntu Hardy) Importance: Undecided Status: New ** Changed in: openssh (Ubuntu Hardy) Status: New => Triaged ** Changed in: openssh (Ubuntu Hardy) Importance: Undecided => Medium -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
Adding an explicit "Listen" directive to the sshd config ensured that sshd would restart upon reboot. -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
This still happens about 50% of the time when restarting the ssh server. Version in hardy is unchanged from last comment. This may be pretty serious as it may have been the root cause I was unable to reach my vServer yesterday after a reboot. sshd wasn't running. -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
still occurs for me on hardy 1:4.7p1-8ubuntu1.2 -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
** Changed in: openssh (Ubuntu) Status: New => Confirmed ** Changed in: openssh (Ubuntu) Importance: Undecided => Medium -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
I can confirm this. -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
** Changed in: openssh (Ubuntu) Status: Incomplete => New -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
** Changed in: openssh (Debian) Status: Unknown => Fix Released -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
yes, I was amazed by that, too. But I do have the latest hardy version. And the fix to /etc/init.d/ssh is also in place. # dpkg -l openssh-server Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=-=-== ii openssh-server1:4.7p1-8ubuntu1 secure shell server, an rshd replacement # grep true /etc/init.d/ssh log_end_msg 1 || true printf '%s' "$SSHD_OOM_ADJUST" >"/proc/$PID/oom_adj" || true -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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
[Bug 220272] Re: [hardy] restart of ssh server fails in vserver
What version of openssh-server do you have installed now? We already have the fix for the Debian bug report you linked to, so I'm puzzled that this is recurring. ** Changed in: openssh (Ubuntu) Assignee: (unassigned) => Colin Watson (kamion) Status: New => Incomplete -- [hardy] restart of ssh server fails in vserver https://bugs.launchpad.net/bugs/220272 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