heartbeat doesn't install any shared libraries so there is no need
to call ldconfig in these scripts.

This problem was flagged by lintian, for more information see:
http://lintian.debian.org/tags/postinst-has-useless-call-to-ldconfig.html
http://lintian.debian.org/tags/postrm-has-useless-call-to-ldconfig.html

Signed-off-by: Simon Horman <ho...@verge.net.au>

Index: heartbeat-3.0.really.3.0.2.rc2/debian/heartbeat.postinst
===================================================================
--- heartbeat-3.0.really.3.0.2.rc2.orig/debian/heartbeat.postinst       
2010-02-04 10:45:02.000000000 +0900
+++ heartbeat-3.0.really.3.0.2.rc2/debian/heartbeat.postinst    2010-02-04 
10:45:28.000000000 +0900
@@ -65,8 +65,6 @@ case "$1" in
         fi
        update-rc.d heartbeat start 75 2 3 4 5 . stop 05 0 1 6 . >/dev/null || 
true
 
-       ldconfig
-
        if which invoke-rc.d >/dev/null 2>&1; then
                invoke-rc.d heartbeat start || true
        else
Index: heartbeat-3.0.really.3.0.2.rc2/debian/heartbeat.postrm
===================================================================
--- heartbeat-3.0.really.3.0.2.rc2.orig/debian/heartbeat.postrm 2010-02-04 
10:45:02.000000000 +0900
+++ heartbeat-3.0.really.3.0.2.rc2/debian/heartbeat.postrm      2010-02-04 
10:45:37.000000000 +0900
@@ -20,7 +20,6 @@ set -e
 # for details, see /usr/doc/packaging-manual/
 
 if [ "$1" = "remove" ]; then
-        ldconfig
        update-rc.d -f heartbeat remove >/dev/null
        rm -f /var/lib/heartbeat/fifo
 fi

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to