Allow aux_cache_file open()ing to fail silently even in the chroot mode.
commit6db52fbb272979bdcd5d5dd7ab187e1893eda9e3
authorPetr Baudis <pasky@suse.cz>
Mon, 22 Nov 2010 17:47:57 +0000 (22 12:47 -0500)
committerUlrich Drepper <drepper@redhat.com>
Mon, 22 Nov 2010 17:47:57 +0000 (22 12:47 -0500)
treee702a7e6080373fe24580e1474df4296bc1b75f1
parenteaca75697fdc5c21195935eca2f0b149a75c0316
Allow aux_cache_file open()ing to fail silently even in the chroot mode.

The aux_cache fix of bug 11149 introduced a new bug - normally,
ldconfig -r never cares if the auxiliary cache is not available and
that is not a fatal problem, however this is not the case in case
of ldconfig -r when executed as non-root. In that case, ldconfig -r
fails hard unless var/cache/ldconfig/ exists within the chroot. This
patch fixes that.

Conflicts:

ChangeLog
ChangeLog
elf/ldconfig.c