This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
ld-linux.so.2 keep /etc/ld.so.cache mapped
- To: miquels@cistron.nl (Miquel van Smoorenburg)
- Subject: ld-linux.so.2 keep /etc/ld.so.cache mapped
- From: Andreas Jaeger <jaeger@gnu.org>
- Date: Wed, 23 Sep 1998 15:06:43 -0400
- Cc: libc-hacker@gnu.org
- Newsgroups: xlists.libc-hacker
- References: <6ub5lc$t07$1@Q.cistron.nl>
Miquel van Smoorenburg writes:
> Is there any reason why ld-linux.so.2 keeps /etc/ld.so.cache mapped?
Yes, your version of glibc is too old ;-)
> If /etc/ld.so.cache is deleted (by ldconfig) then init and other
> long running processes will have this file mapped. Which gives a
> fsck error after reboot ..
>
> glibc 2.0.7t-1 (debian version number).
Andreas
P.S.:
1998-08-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/dl-cache.c: Move static variable cache and
cachesize to toplevel.
(_dl_unload_cache): New function.
* elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
* elf/rtld.c (dl_main): Unload map file before jumping to user
code.