-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Mon, 2018-01-29 at 18:49 +0000, Tomasz Kłoczko wrote:
On 29 January 2018 at 17:18, Florian Weimer
<fweimer(a)redhat.com> wrote:
> Igor committed a change to glibc so that from Fedora 28 going forward,
> glibc will run ldconfig after the transaction if any of the library
> directory trees was modified.
>
> This means that libraries which package the lib*.so.* symbolic links will
> no longer have to run ldconfig in %postin/%postun, and we can automate the
> creation of those symbolic links with a buildroot policy hook, see:
>
> <
https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/12>
>
> Packages which edit ld.so search paths will still have to run ldconfig in
> %postin/%postun, as before.
As now with file trigger changes are committed and new glibc packages will
be in rawhide repo it should be mass change removing all ldconfig execution
from **ALL** Fedora specs.
[tkloczko@domek SPECS.fedora]$ grep -e '^%post.*/sbin/ldconfig' * | awk
-F\. '{print $1}' | uniq | wc -l
3257
[tkloczko@domek SPECS.fedora]$ grep -e ' */sbin/ldconfig' * | awk -F\.
'{print $1}' | uniq | wc -l
3432
And as well:
[tkloczko@domek SPECS.fedora]$ grep -e '^Requires(post):.*/sbin/ldconfig' *
> wc -l
125
[tkloczko@domek SPECS.fedora]$ grep -e '^Requires(postun):.*/sbin/ldconfig'
* |wc -l
114
This needs to be removed as well. If not it will be like with for example
in hicolor-icon-theme.spec after remove %post/%postun/%postrans
with gtk-update-icon-cache execution still is possible to find in this spec:
Redmining you 1000th time, don't mix issues. This thread is **ONLY about
ldconfig**.
- --
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlpvb0YACgkQaVcUvRu8
X0wknxAAq3lIUPqHp86ANwS3fw3jlJBdCXjTNRVuxENg+1RsmC9ABNyxeig87o89
6t45hJSPA6Jq7w5DbTrNOm4Qpxw1ldRHeWxp6yxJw6qmmB8egPwrK20FzjQ1gELN
i+IoaQ2lu3aLS1VQBsEAiCYPco/Vw5JxRHge3AqzS4lS9VChH+wadfchjZAnWDv1
Q5etY2LP9P1qe0G0HnCKAPOQPQH4b0BAuRA6OTjaSRpahD/JKHsZDJHFOkVx9vEL
yshsAnwM2oiapUieytc1svEwQVd87DD/Wn3S0TbRynUALacz25X0xpfnRLwZLMBm
kiES8tCMBwesmoLwsuZhBSWM8VQYVqOfJ6EI1GRByj8p/tFMu44QduzgOqNJ8qKF
vyk0xJ0aTCXrux6Z42aPWBZJeQAz7TUHUeTUbyJxdeqPwZJkRx9vxgommcBIjN1u
P7sopGuFRLZfldut3DABtlwuiFDbQo4QZqPQaApLM6z4o7u5WURkLYvP9g1Qvuha
LLftGqm/JpOtNcLz2FbP+MP4aa8t5vky2TdwpBkKNv2DWcKu2XjeQm67GzA4Rp9N
kNzk39wEfECCL3hQN9/ah4MZzjb8DXbbXoPo/sIPOA8dQZFf84DxJXggLnzoiIW+
IpbJS+tjYKUt6bfsNKeVp3CA198YDhkjXTZlntKEXeTxCEumDRs=
=aJ8N
-----END PGP SIGNATURE-----