Package: man-db Version: 2.5.7-2 Severity: normal Tags: patch please also check for linux-vserver virtual environment in all man-db cronjobs by also checking for "VxID".
> # cat /proc/self/status |grep VxID > VxID: 98 proposed patch attached. thanks, raoul
diff -r 39976f82c887 cron.daily/man-db --- a/cron.daily/man-db Wed Apr 28 16:31:55 2010 +0200 +++ b/cron.daily/man-db Wed Apr 28 16:34:14 2010 +0200 @@ -6,7 +6,7 @@ iosched_idle= # Don't try to change I/O priority in a vserver or OpenVZ. -if ! grep -q 'envID:.*[1-9]' /proc/self/status && \ +if ! grep -q '(VxID|envID):.*[1-9]' /proc/self/status && \ ([ ! -d /proc/vz ] || [ -d /proc/bc ]); then dpkg_version="$(dpkg-query -W -f '${Version}' dpkg)" if dpkg --compare-versions "$dpkg_version" ge 1.15.0; then diff -r 39976f82c887 cron.weekly/man-db --- a/cron.weekly/man-db Wed Apr 28 16:31:55 2010 +0200 +++ b/cron.weekly/man-db Wed Apr 28 16:34:14 2010 +0200 @@ -6,7 +6,7 @@ iosched_idle= # Don't try to change I/O priority in a vserver or OpenVZ. -if ! grep -q 'envID:.*[1-9]' /proc/self/status && \ +if ! grep -q '(VxID|envID):.*[1-9]' /proc/self/status && \ ([ ! -d /proc/vz ] || [ -d /proc/bc ]); then dpkg_version="$(dpkg-query -W -f '${Version}' dpkg)" if dpkg --compare-versions "$dpkg_version" ge 1.15.0; then