Package: rstatd Version: 4.0.1-4 Severity: grave Tags: patch Justification: renders package unusable
A machine running kernel 3.x an the rpc.rstatd does not reply to any
rup or rusers request from remote or even from local host. This
renders the package unusable.
In syslog I can see
rpc.rstatd: dummy function, should never be called!
The problem is in getdata.c, were a function get_diskXX is called
depending on the version of the kernel (e.g. get_disk24, get_disk26)
For a 3.X kernel no function is defined. The attached patch calls the
get_disk26 function for every 3.x kernel. This works nicely, since the
same interface is used for getting the disks statistics.
rstatd.patch
Description: Binary data
-- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rstatd depends on: ii libc6 2.13-23 ii netbase 4.47 ii openbsd-inetd [inet-superserver] 0.20091229-1 ii rpcbind [portmap] 0.2.0-7 ii update-inetd 4.41 rstatd recommends no packages. rstatd suggests no packages. -- no debconf information -- regards Thomas

