[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#493016: libc6: ldd doesn't work with ACLs



On Thu, Jul 31, 2008 at 01:03:19PM -0700, Jefferson Cowart wrote:
> $ sh -x /usr/bin/ldd pdficon
> + TEXTDOMAIN=libc
> + TEXTDOMAINDIR=/usr/share/locale
> + RTLDLIST='/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2'
> + warn=
> + bind_now=
> + verbose=
> + filename_magic_regex='((^|/)lib|.so$)'
> + test 1 -gt 0
> + case "$1" in
> + break
> + add_env='LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW='
> + add_env='LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out'
> + add_env='LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE='
> + test '' = yes
> + set -o pipefail
> + case $# in
> + single_file=t
> + result=0
> + for file in '"$@"'
> + test t = t
> + case $file in
> + file=./pdficon
> + test '!' -f ./pdficon
> + test -r ./pdficon

According to this debugging output, test -r thinks the file is not
readable, that's why ldd bails out with this error message.

To get more details, could you please run the following command and send
me the output?

  echo "test -r ./pdficon" | strace /bin/sh -x

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: