Bug 1032757

Summary: keepalived init script doesn't support reload
Product: Red Hat Enterprise Linux 6 Reporter: Joseph W. Breu <joseph.breu>
Component: keepalivedAssignee: Ryan O'Hara <rohara>
Status: CLOSED NOTABUG QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-11 16:23:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joseph W. Breu 2013-11-20 18:45:24 UTC
Description of problem:
keepalived init script should support reload

Version-Release number of selected component (if applicable):
keepalived-1.2.7


the init script has a function for reload that sends SIGHUP.  The conditional for reload calls rh_status_q || exit 7 instead of the reload.

Comment 2 Ryan O'Hara 2013-11-20 19:01:34 UTC
I'm not sure I understand. The way I read the init script, "service keepalived reload" does call the reload function:

case "$1" in
    ...
    reload)
        rh_status_q || exit 7
        $1 # <-- call reload function
        ;;

Comment 3 Joseph W. Breu 2013-11-20 19:03:16 UTC
you are correct and I missed that.  closing the bug