Your message dated Sat, 14 Feb 2015 08:03:35 +0300
with message-id <[email protected]>
and subject line Bug#760985: fixed in strace 4.8-1
has caused the Debian Bug report #760985,
regarding strace: can fail with "command not found" because stat() returns
EOVERFLOW on 64-bit inode numbers
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
760985: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760985
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: strace
Version: 4.5.20-2.3
On 32-bit systems, strace is not compiled with -D_FILE_OFFSET_BITS=64
(and the essential message of this bug-report is that ALL programs
that use stat() in any way whatsoever should always be compiled with
this define).
As a result, stat() can fail with EOVERFLOW for the absurd reason that
the inode number of the stat()ed file is greater than (1<<31)-1.
This occurs, in particular, on XFS filesystems of over 1TB in size
(when using 256-byte inodes), according to <URL:
http://xfs.org/docs/xfsdocs-xml-dev/XFS_User_Guide/tmp/en-US/html/ch06s06.html
>. Under these circumstances (when running a 32-bit userland on a
64-bit Linux kernel), strace will, for certain files, fail with the
error message "command not found" even though the file exists, simply
because the st_ino field of the stat result structure cannot be
represented in the 32-bit API.
This is not a purely theoretical fear: I just spent a considerable
time pulling my hair trying to understand why strace was telling me a
file did not exist when evidently it did.
Solution: compile strace with -D_FILE_OFFSET_BITS=64 so as to make
ino_t 64-bit wide. The same argument applies to every program that
makes use of stat() at some point. (I think this should be a Debian
policy of some kind, but I don't know where these should be submitted.
Please enlighten me.)
--
David A. Madore
( http://www.madore.org/~david/ )
--- End Message ---
--- Begin Message ---
Source: strace
Source-Version: 4.8-1
--- End Message ---