mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Revert "appliance: init: run ldconfig"
Running ldconfig adds about 100ms to the boot time. I would prefer
that we understood which libraries need ldconfig to be run, and fix
that. We could also consider running ldconfig in parallel, but since
it might be required by just about any binary that the init script
runs it's not clear what benefit that gives.
This reverts commit 66aa98265d.
This commit is contained in:
@@ -17,10 +17,6 @@ if [ ! -d /tmp ] || [ ! -d /var/tmp ]; then
|
||||
chmod 1777 /tmp /var/tmp
|
||||
fi
|
||||
|
||||
# Make sure to find all the libraries, also those in non-standard place
|
||||
# but with a proper ld.so configuration pointing at them
|
||||
ldconfig
|
||||
|
||||
# Try to print a stack trace for segfaults inside the appliance.
|
||||
for d in /lib64 /lib; do
|
||||
f=$d/libSegFault.so
|
||||
|
||||
Reference in New Issue
Block a user