Package: tiger
Version: 1:3.2.3-4
Severity: normal

Hi,

Tiger reports that

NEW: --WARN-- [dev003w] File /dev/sndstat is a regular file in a device 
directory.
NEW: --WARN-- [dev003w] File /dev/stderr is a regular file in a device 
directory.

while

$ ls -l /dev/sndstat /dev/std*
lrwxrwxrwx 1 root root 24 Feb 23 18:46 /dev/sndstat -> /proc/asound/oss/sndstat
lrwxrwxrwx 1 root root 15 Feb 23 18:46 /dev/stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Feb 23 18:46 /dev/stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Feb 23 18:46 /dev/stdout -> /proc/self/fd/1

On the other hand, only /dev/stdout is present in EXPECTEDFILES in 
check_devices.
I'm not sure which part of this is intentional, but the [ -f "$file" ] check
follows symbolic links, so the emitted warning above is rather misleading.
What's more, this check depends on the standard file descriptors of the checker
(whether its stdin/stdout/stderr is a terminal or redirected to some file),
which further obscures the situation.

I recommend moving the explicit symlink check to the front to combat this
issue.
-- 
Thanks,
Feri.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to