-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glibc: include ld.so.conf.d/* to build ld cache
This commit adds a configuration file for ldconfig to read additional configurations from /etc/ld.so.conf, which will be created at runtime by the tmpfilesd daemon. There are packages that create `ldconfig.d/*.conf` files using a tmpfilesd file to cache additional libraries, thus `ldconfig.service` has to run after the tmpfilesd daemon creates the files. Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
- Loading branch information
1 parent
998e642
commit 27e43df
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
f /etc/ld.so.conf 0644 root root - | ||
C /etc/ld.so.conf 0644 root root - | ||
f /etc/ld.so.cache 0644 root root - | ||
d /etc/ld.so.conf.d/ 0644 root root - | ||
d /run/cache/ldconfig 0700 root root - | ||
f /run/cache/ldconfig/aux-cache 0600 root root - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ld.so.conf.d/*.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[Unit] | ||
# Run `ldconfig.service` after `tmpfilesd`, since `ldconfig` will attempt to | ||
# read files from `/etc/ld.so.conf.d`, which are created by `tmpfilesd` | ||
After=systemd-tmpfiles-setup.service |