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

Bug#473573: openssh-server: oom_adj tweak in init.d prevents upgrade inside vserver

Package: openssh-server
Version: 1:4.7p1-6
Severity: normal


The recently introduced OOM tweak with /proc/processnumber/oom_adj does not seem to be valid for SSH servers running inside a vserver if I get it right.

This results in upgrade being impossible :

Setting up openssh-server (1:4.7p1-6) ...
Restarting OpenBSD Secure Shell server: sshd.
/etc/init.d/ssh: line 78: /proc/22772/oom_adj: Operation not permitted
invoke-rc.d: initscript ssh, action "restart" failed.
dpkg: error processing openssh-server (--configure):
 subprocess post-installation script returned error exit status 1

Maybe this code should execute without any failure to block the whole init.d script to fail, thus allowing to still upgrade (and run) sshd in vservers ?

Hope this helps,

Best regards,

PS.: reporting from a testing host, but found the problem on a unstable vserver guest
-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-server depends on:
ii  adduser               3.106              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.20             Debian configuration management sy
ii  dpkg                  package maintenance system for Deb
ii  libc6                 2.7-6              GNU C Library: Shared libraries
ii  libcomerr2            1.40.8-2           common error description library
ii  libkrb53              1.6.dfsg.3~beta1-4 MIT Kerberos runtime libraries
ii  libpam-modules         Pluggable Authentication Modules f
ii  libpam-runtime         Runtime support for the PAM librar
ii  libpam0g             Pluggable Authentication Modules l
ii  libselinux1           2.0.59-1           SELinux shared libraries
ii  libssl0.9.8           0.9.8g-8           SSL shared libraries
ii  libwrap0              7.6.dbs-14         Wietse Venema's TCP wrappers libra
ii  lsb-base              3.1-24             Linux Standard Base 3.1 init scrip
ii  openssh-client        1:4.7p1-5          secure shell client, an rlogin/rsh
ii  zlib1g                1:  compression library - runtime

Versions of packages openssh-server recommends:
ii  xauth                         1:1.0.3-1  X authentication utility

-- debconf information excluded

Reply to: