From 768b9ce97dd69dd93d27b0e72187fb540a28f8e7 Mon Sep 17 00:00:00 2001 From: Eduardo Mayorga Date: Apr 30 2018 04:31:21 +0000 Subject: Add #111 'Removing ldconfig Scriptlets' --- diff --git a/en-US/developers/Development_Tools.adoc b/en-US/developers/Development_Tools.adoc index a10572c..68a0d0e 100644 --- a/en-US/developers/Development_Tools.adoc +++ b/en-US/developers/Development_Tools.adoc @@ -25,3 +25,13 @@ Compared to previous releases, the following changes have been made to the way p * On x86-64, binaries have been built in such a way that they will support Control Flow Enforcement Technology (CET) in the future. * On systems which support memory protection keys, lazy binding now uses a read-only GOT. * By default the toolchain generates PIE executables to further harden Fedora executables from attacks. + +[[sect-ldconfig-scriptlets]] +== Removing ldconfig Scriptlets + +Packages in Fedora repositories included calls to ldconfig in `%post` and `%postun` sections of the spec file if they package shared libraries. +With Fedora 28, packages can use _file triggers_, which allow faster installation of packages as `ldconfig` is run only once per transaction. + +NOTE: If your package places shared libraries in special locations referenced by `ld.so.conf`, you still need to run `ldconfig` manually. + +More information about this change can be found on related https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets[Fedora change page].