tags 511771 pending
thanks

On Wed, Jan 14, 2009 at 03:04:41AM -0800, Karl Chen wrote:
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487325
> (I guess the resolution of that bug report was for sshd to
> treat empty $SSHD_OOM_ADJUST the same as unset
> SSHD_OOM_ADJUST)
> 
> This patch to /etc/init.d/ssh turns off SSHD_OOM_ADJUST if
> attempting to write to oom_adj would just create useless log
> noise.
> 
> I got the detection method from
> http://osdir.com/ml/linux.openvz.user/2008-07/msg00045.html
> but there might be something better.  (I don't know why the
> openvz guest kernel doesn't just make oom_adj 0444 instead
> of 0644.)

Thanks; I've applied your patch (with minor modifications - I decided to
use 'unset' rather than setting the variable to the empty string) for my
next upload.

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to