mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
appliance: init: run ldconfig
Run ldconfig early in the init script, so libraries outside standard library paths but with a proper ld.so configuration file pointing at them can be found.
This commit is contained in:
@@ -10,6 +10,10 @@ RUNLEVEL=S
|
||||
PREVLEVEL=N
|
||||
export RUNLEVEL PREVLEVEL
|
||||
|
||||
# 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