[Pkg-libvirt-commits] [libguestfs] 82/156: appliance: init: run ldconfig

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:26:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 51cee797eaec0fdcc7edca4ea7cd3013b7391008
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue Jul 15 11:06:32 2014 +0200

    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.
    
    (cherry picked from commit 66aa98265dd215dcd4c717e7ef6845fbac859e54)
---
 appliance/init | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/appliance/init b/appliance/init
index b407bf9..0ac7fbf 100755
--- a/appliance/init
+++ b/appliance/init
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list