[PATCH v7 1/1] ldconfig: add --install option

Andreas K. Huettel dilfridge@gentoo.org
Tue Jul 14 09:47:09 GMT 2026


Am Dienstag, 14. Juli 2026, 03:01:42 Japanische Normalzeit schrieb DJ Delorie:
> Florian Weimer <fweimer@redhat.com> writes:
> >> It's small, well-separated, and doesnt affect existing operation. So yeah, I
> >> dont see any problems.
> >>
> >> Mostly I don't fully understand the use case yet, but that may be a problem 
> >> behind *my* keyboard and is irrelevant for the release... 
> >> Is the source file supposed to come from the live system (since it needs to 
> >> know all installed libraries)? or from some other magic source?
> >
> > I think this needs a NEWS entry.  The dynamic linker keeps
> > /etc/ld.so.cache mapped continuously, so if you use cp to copy the
> > cache, it's more likely that it will lead to crashes because the size of
> > the mapping does not match the file contents.
> >
> > Using ldconfig --install avoids that because doesn't overwrite the file
> > in place.  Using rsync (without --inplace) or GNU install would be fine,
> > too.
> 
> Andreas,
> 
> Does this answer your concerns?  Is it still OK to push, or do you now
> request changes or a NEWS entry?

I'm fine with it as it is, please push it.

NEWS is nice but optional, maybe subsequently per extra commit.

> 
> 


-- 
PD Dr. Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260714/59fc0ac0/attachment.sig>


More information about the Libc-alpha mailing list