[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#579347: marked as done (unset SSHD_OOM_ADJUST for linux-vserver)



Your message dated Tue, 27 Apr 2010 09:23:06 +0100
with message-id <20100427082306.GP12396@riva.ucam.org>
and subject line Re: Bug#579347: unset SSHD_OOM_ADJUST for linux-vserver
has caused the Debian Bug report #579347,
regarding unset SSHD_OOM_ADJUST for linux-vserver
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
579347: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579347
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openssh-server
Version: 1:5.3p1-3
Severity: normal
Tags: patch

please also check for linux-vserver virtual environment in
/etc/init.d/ssh by also grepping for "VxID" and unsetting
SSHD_OOM_ADJUST accordingly.

> # cat /proc/self/status |grep VxID
> VxID: 98

proposed patch attached.

thanks,
raoul
diff -r 19b1559beaa3 init.d/ssh
--- a/init.d/ssh	Tue Apr 27 09:50:23 2010 +0200
+++ b/init.d/ssh	Tue Apr 27 10:00:49 2010 +0200
@@ -25,7 +25,7 @@
 
 # Are we in a virtual environment that doesn't support modifying
 # /proc/self/oom_adj?
-if grep -q 'envID:.*[1-9]' /proc/self/status; then
+if egrep -q '(VxID|envID):.*[1-9]' /proc/self/status; then
     unset SSHD_OOM_ADJUST
 fi
 

--- End Message ---
--- Begin Message ---
Source: openssh
Source-Version: 1:5.4p1-1

On Tue, Apr 27, 2010 at 10:02:00AM +0200, Raoul Bhatia [IPAX] wrote:
> please also check for linux-vserver virtual environment in
> /etc/init.d/ssh by also grepping for "VxID" and unsetting
> SSHD_OOM_ADJUST accordingly.

This is no longer relevant as of 5.4p1.

  * Remove SSHD_OOM_ADJUST configuration.  sshd now unconditionally makes
    itself non-OOM-killable, and doesn't require configuration to avoid log
    spam in virtualisation containers (closes: #555625).

Regards,

-- 
Colin Watson                                       [cjwatson@debian.org]


--- End Message ---

Reply to: