Mailing List Archive

[lvs-users] [PATCH 1/1] ldirectord: Remove dependence on shellfuncs from /etc/init.d/ldirectord

/etc/init.d/ldirectord reads /etc/ha.d/shellfuncs and it causes an
error when "/etc/init.d/ldirectord start" without resource-agents RPM:
# /etc/init.d/ldirectord start
/etc/init.d/ldirectord: line 34: /etc/ha.d/shellfuncs: No such file or directory

There are two ways to fix this problem.
A) Install resource-agents RPM
B) Remove line 34 in /etc/ha.d/shellfuncs

/etc/init.d/ldirectord does not use functions in /etc/ha.d/shellfuncs,
and sometimes I want to use ldirectord without HA (Pacemaker,
Heartbeat, ... and resource-agents). So I think B is better.

Would you take a look at this patch?

Any comments are appreciated.


This allows /etc/init.d/ldirectord to run without resource-agents.

Signed-off-by: TATEISHI Katsuyuki <>
ldirectord/init.d/ | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/ldirectord/init.d/ b/ldirectord/init.d/
index 8f84b8d..9d8083e 100755
--- a/ldirectord/init.d/
+++ b/ldirectord/init.d/
@@ -31,8 +31,6 @@


-. @sysconfdir@/ha.d/shellfuncs
# Source function library.
[ -f /etc/rc.d/init.d/functions ]

Please read the documentation before posting - it's available at: mailing list -
Send requests to
or go to