Package: ipvsadm
Version: 1:1.28-3+b1
When invoking /etc/init.d/ipvsadm with appropriate
/etc/default/ipvsadm configuration, the sync daemons are not started.
Following errors are printed
Jan 03 16:07:24 server ipvsadm[31118]: Starting IPVS Connection
Synchronization Daemon: masterTry `/sbin/ipvsadm -h' or '/sbin/ipvsadm
--help' for more information.
Jan 03 16:07:24 server ipvsadm[31118]: backupTry `/sbin/ipvsadm -h'
or '/sbin/ipvsadm --help' for more information.
Jan 03 16:07:24 server ipvsadm[31118]: failed!
They are caused by the errors in init script.
Lines
$IPVSADM --syncid $SYNCID --start-daemon $DAEMON --mcast-interface \
$IFACE --syncid $SYNCID || log_end_msg 1
should be changed to
$IPVSADM --start-daemon $DAEMON --mcast-interface \
$IFACE --syncid $SYNCID || log_end_msg 1
The another error is related to not processed IPVSADM_CONFIG file. It
is defined, but not executed and thus not effective.
Line
[ -f "${IPVSADM_CONFIG}" ] && . "${IPVSADM_CONFIG}"
should be put after variable initializations.
Also rewrite to systemd service file will be useful.
Peter