Skip to content

Consider adding a directory in /usr for ld.so.conf

Task Info (Flyspray)
Opened By Vicki Pfau (Archaemic)
Task ID 80273
Type Feature Request
Project Arch Linux
Category Packages: Core
Version None
OS All
Opened 2023-11-17 01:25:10 UTC
Status Assigned
Assignee Sébastien Luttringer (seblu)
Assignee freswa (frederik)

Details

Currently, ldconfig will read a configuration from /etc/ld.so.conf, which includes everything in /etc/ld.so.conf.d/*. Since some packages, such as fakeroot, install intended-to-be-immutable configuration files in /etc/ld.so.conf.d, this can lead to issues with A/B filesystem setups like SteamOS, when one system installs e.g. fakeroot and then the other tries to re-install it. Since the contents of this file are meant to be system managed, adding a system-specific version in e.g. /usr/share/ld.so.conf.d, akin to how systemd, dbus, etc, handle this separation of user and system managed configuration files, and including that from /etc/ld.so.conf would allow a cleaner separation of the A and B partitions.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information