Le mardi 18 août 2009 à 14:56 +1200, Francois Marier a écrit :
> Package: rkhunter
> Version: 1.3.4-6
> Severity: normal
> Tags: patch
> 
> Certain security frameworks (e.g. grsecurity) prevent programs from reading 
> /proc/kallsyms.
> 
> The file exists but it returns error when you try to read from it. I end up 
> receiving
> these emails every day:
[...]
> 
> I have attached a patch which disables this check (as if /proc/kallsyms was 
> missing) if
> the "file" is not readable.

What about simply changing the test call as follows:

-        elif [ -f "${RKHROOTDIR}/proc/kallsyms" ]; then
+        elif [ -r "${RKHROOTDIR}/proc/kallsyms" ]; then

Given your explanations, I would say it should work, would you please
test?

Cheers,
Julien




--
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