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

"Andreas K. Huettel" <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Gentoo Linux
Message-ID <[email protected]>
Am Dienstag, 14. Juli 2026, 03:01:42 Japanische Normalzeit schrieb DJ Delorie:
> Florian Weimer <[email protected]> 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
[email protected]
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
signature.asc (application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmpWBZ0bFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJENwrFiFe1UEqZ3EQAI3Pl06R5yw3TNktGVIi
g5B4ZHVmoE12h1o2rNxdm7WyxB4tr0oiv38VtsJTB6B+MZVFg9U8mux8PMMTwrwz
QY5GFKr0+nws2Yj+XYzUJ5yDf9cIRYV3EROCk4QFI7IT4IyhhOT91yhA2WgOs17K
XTLGKI4alK1+8UuUgT63hSpJLGGeN0RrV4uo5aUmGnP6dQxjRSZQf0EYChxD6kYb
JI71d3oIcol3cYei3rq7eR8LiT8qiE/DMjCCEmFpVc34BtDnwHbkg+DnfHNL/Zqm
oWrjbaTfegnabpdKnrlfL5UDQ9g4FtPMT0ZTYOzY6E/Sxjh5vrpkiMF6Afd8CFYN
4pAim89d9LGNcY17gKXl0K9HLq6gpmsIeIrPxTDI62WOfzb4FeNwTVv3D12+0szG
rbQXQPogZ0dEJGkAOg286WknFZFgs3pf5tJ73XEe28WDM71PQQvIujKTTLgbsgAD
Gu+86K69cGPYHNrDXtdBhyv6vWQyQ1qmfm9dndm9ZewwcoNrc+vZsD0yNJwr+XSO
yM/ozFXh72juuw3LI0nLeVxhIwz4fRP4XwEMz8U55x1wIiKWWxkhAz/oQmyoqrrZ
zqvtPsT3DeLd0XZfThtj5BlvIhGBvPKVDa7HKbfuSyCDXx/dsVGOvZ4tdgk7BcAD
T1O3BcgkdXWtyL65yt2f88xc
=ZOuy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.