[systemd-devel] Running ldconfig at boot

Florian Weimer fweimer at redhat.com
Fri May 20 12:01:29 UTC 2016


The default systemd configuration runs ldconfig at boot.  Why?

Most deployments of systemd appear to be dynamically linked, so if the 
ld.so caches are corrupted, you will never get to the point where you 
can run ldconfig.

Running ldconfig too early tends to cause problems because the file 
system might not have been set up completely, and the cache does not 
match what the system administrator has configured.

Florian


More information about the systemd-devel mailing list