Harald Hoyer 55891e
From d619fb5e1c07f15eb6b9156a389fad85e2924e57 Mon Sep 17 00:00:00 2001
Harald Hoyer 55891e
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 55891e
Date: Fri, 19 Aug 2011 08:08:18 +0200
Harald Hoyer 55891e
Subject: [PATCH] dracut: unset LD_LIBRARY_PATH
Harald Hoyer 55891e
Harald Hoyer 55891e
LD_LIBRARY_PATH is not set in the initramfs, so it should not be set
Harald Hoyer 55891e
while finding our libraries.
Harald Hoyer 55891e
---
Harald Hoyer 55891e
 dracut |    1 +
Harald Hoyer 55891e
 1 files changed, 1 insertions(+), 0 deletions(-)
Harald Hoyer 55891e
Harald Hoyer 55891e
diff --git a/dracut b/dracut
Harald Hoyer 55891e
index cf27b23..dfa71a1 100755
Harald Hoyer 55891e
--- a/dracut
Harald Hoyer 55891e
+++ b/dracut
Harald Hoyer 55891e
@@ -265,6 +265,7 @@ fi
Harald Hoyer 55891e
 
Harald Hoyer 55891e
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
Harald Hoyer 55891e
 export PATH
Harald Hoyer 55891e
+unset LD_LIBRARY_PATH
Harald Hoyer 55891e
 
Harald Hoyer 55891e
 [[ $debug ]] && {
Harald Hoyer 55891e
     export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]}): ';