Re: Re: ldconfig -X in scriptlets?

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

 



On Thu, Aug 06, 2009 at 11:39:41AM +0300, Axel Thimm wrote:
> > ldconfig has -X option which disables the symlink modifications, so
> > I'd like to propose adding the option to recommended %post (and
> > possibly also %postun) scriptlet to avoid such surprises.
> > 
> > Comments?
> 
> What would create the symlinks, if ldconfig -X is used everywhere?

rpm should do that as symlinks are packaged. If applications suddenly fail
to start we know there is a packaging bug. Ideally ldconfig wouldn't
touch packaged libraries at all and just update ld.so.cache.

Adding -X only to packages that need it won't help much though. I
didn't realize that to avoid the unexpected symlink modifications all
packages would have to use -X because in a transaction all %post
scripts are executed before old files are removed.

-- 
Miroslav Lichvar

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux