|
From: | Glenn Morris |
Subject: | [bug-diffutils] bug#26155: Test brief-vs-stat-zero-kernel-lies fails if /proc/cmdline exists but is not readable |
Date: | Sun, 19 Mar 2017 19:01:36 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
This bug ended up in the wrong package due to missing line breaks. I've reassigned it to diffutils. address@hidden wrote: > Package: diffutilsVersion: 3.5HiThe test > tests/brief-vs-stat-zero-kernel-lies fails with cat: > /proc/cmdline: Permission deniedif /proc/cmdline exists but is not > readable. This is for example the case on a Linux kernel with > grsecurity patchset and option GRKERNSEC_PROC_USER enabled.The fix is > easy. The script tests/brief-vs-stat-zero-kernel-lies checks in line > 13 only for exists (test -f) of $boot (= > /proc/cmdline): test -f $boot || skip_ no $boot > filemaking it check for readability (test -r) solves the problem (as > the test is now correctly skipped): test -r $boot || > skip_ file $boot not readableKind regardsjulama
[Prev in Thread] | Current Thread | [Next in Thread] |