= Proposed Self Contained Change: Removing ldconfig scriptlets = https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets Change owner(s): * Igor Gnatenko <ignatenkobrain AT fedoraproject DOT org,> * Neal Gompa <ngompa13 AT gmail DOT com> For many years, package maintainers were required to write scriptlets which call ldconfig in %post/%postun if they package shared libraries. == Detailed Description == Since time immemorial, Red Hat/Fedora packagers have been required to add a stanza to spec files for packages containing libraries to update the ldconfig cache. %post -p /sbin/ldconfig %postun -p /sbin/ldconfig To say this is annoying is to put it mildly. However, there was no standard mechanism to make this boilerplate go away. Now with RPM 4.13+, we should change this to file triggers and make all of that go away. With this change, these scriptlets can be removed and ldconfig would be run just once per transaction. If your package places shared libraries in special locations referenced by ld.so.conf, you still need to run ldconfig manually. For those who concerned about whether this is self-contained or system-wide change: there is no overhead if packagers don't remove ldconfig scriptlets in time, so completion doesn't depend whether packagers remove them or not. We are just making it possible. == Scope == * Proposal owners: Make sure that DSO symlinks are being packagedcommit, add transaction filetriggers to glibccommit + commit. * Other developers: Package maintainers are advised to remove ldconfig scriptlets in order to achieve benefits specified above. * Release engineering: #7284: https://pagure.io/releng/issue/7284 * List of deliverables: N/A (not a System Wide Change) * Policies and guidelines: Packaging guidelines need to be updated to reflect reality. * Trademark approval: N/A (not needed for this Change) -- Jan Kuřík Platform & Fedora Program Manager Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx