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

Re: Bug#72140: Setting up libraries too slow

On Fri, 22 Sep 2000, Wichert Akkerman wrote:

> > Cache removals are handled the same way, if opening the library fails,
> > the entry is removed from the cache.

> That can't work, since only root can write the cache.

So what? If one cannot write the cache, the next process will run into the
same problem. The user won't notice that unless he/she/it runs
strace. On occasion, root may run a program and then the cache gets

> > Until then, we could call ldconfig nightly and/or add a setuid
> > wrapper program that allows a normal user to rebuild the cache if
> > he/she/it installed new libraries that mask distro provided libraries.

> Normal users should never need to rebuild the cache, and the cache is
> only updated (read: ldconfig is run) when you install or remove library
> package (and not for all packages as someone else said).

Yes they do, if they install software into /usr/local. This is a common
setup in university labs.


PGP public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: 10 62 F6 F5 C0 5D 9E D8  47 05 1B 8A 22 E5 4E C1
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

Reply to: