Bug 1032757 - keepalived init script doesn't support reload
Summary: keepalived init script doesn't support reload
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: keepalived
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ryan O'Hara
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 18:45 UTC by Joseph W. Breu
Modified: 2013-12-11 16:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-11 16:23:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.