[Pkg-libvirt-commits] [libguestfs] 02/266: appliance: init: run ldconfig

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:30 UTC 2014


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

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 66aa98265dd215dcd4c717e7ef6845fbac859e54
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.
---
 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