Hello everyone. 
I also tested proposed package and it works fine for me on Xenial. 
Checked "master", "backup", "both", "none" daemon mode:

root@test_lvs:~# echo -e "AUTO="true"\nDAEMON="master"\nIFACE="eth0"" > 
/etc/default/ipvsadm
root@test_lvs:~# systemctl restart ipvsadm ; ps aux  | grep ipvs
root      3135  0.0  0.0      0     0 ?        S    05:22   0:00 [ipvs-m:0:0]
root      3138  0.0  0.0  12944  1012 pts/0    S+   05:22   0:00 grep 
--color=auto ipvs
root@test_lvs:~# journalctl -u ipvsadm | tail -n 10
May 29 05:21:44 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:22:14 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:22:14 test_lvs systemd[1]: Starting LSB: ipvsadm daemon...
May 29 05:22:14 test_lvs ipvsadm[3126]:  * Clearing the current IPVS table...
May 29 05:22:14 test_lvs ipvsadm[3126]:    ...done.
May 29 05:22:14 test_lvs ipvsadm[3126]:  * Loading IPVS configuration...
May 29 05:22:14 test_lvs ipvsadm[3126]:    ...done.
May 29 05:22:14 test_lvs ipvsadm[3126]:  * Starting IPVS Connection 
Synchronization Daemon master
May 29 05:22:14 test_lvs ipvsadm[3126]:    ...done.
May 29 05:22:14 test_lvs systemd[1]: Started LSB: ipvsadm daemon.
root@test_lvs:~# systemctl stop ipvsadm
root@test_lvs:~# echo -e "AUTO="true"\nDAEMON="backup"\nIFACE="eth0"" > 
/etc/default/ipvsadm
root@test_lvs:~# systemctl restart ipvsadm ; ps aux  | grep ipvs
root      3166  0.0  0.0      0     0 ?        S    05:22   0:00 [ipvs-b:0:0]
root      3169  0.0  0.0  12944   988 pts/0    S+   05:22   0:00 grep 
--color=auto ipvs
root@test_lvs:~# journalctl -u ipvsadm | tail -n 10
May 29 05:22:25 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:22:42 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:22:42 test_lvs systemd[1]: Starting LSB: ipvsadm daemon...
May 29 05:22:42 test_lvs ipvsadm[3156]:  * Clearing the current IPVS table...
May 29 05:22:42 test_lvs ipvsadm[3156]:    ...done.
May 29 05:22:42 test_lvs ipvsadm[3156]:  * Loading IPVS configuration...
May 29 05:22:42 test_lvs ipvsadm[3156]:    ...done.
May 29 05:22:42 test_lvs ipvsadm[3156]:  * Starting IPVS Connection 
Synchronization Daemon backup
May 29 05:22:42 test_lvs ipvsadm[3156]:    ...done.
May 29 05:22:42 test_lvs systemd[1]: Started LSB: ipvsadm daemon.
root@test_lvs:~# echo -e "AUTO="true"\nDAEMON="both"\nIFACE="eth0"" > 
/etc/default/ipvsadm
root@test_lvs:~# systemctl stop ipvsadm
root@test_lvs:~# systemctl restart ipvsadm ; ps aux  | grep ipvs
root      3201  0.0  0.0      0     0 ?        S    05:23   0:00 [ipvs-m:0:0]
root      3203  0.0  0.0      0     0 ?        S    05:23   0:00 [ipvs-b:0:0]
root      3206  0.0  0.0  12944   968 pts/0    S+   05:23   0:00 grep 
--color=auto ipvs
root@test_lvs:~# journalctl -u ipvsadm | tail -n 10
May 29 05:23:10 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:23:14 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:23:14 test_lvs systemd[1]: Starting LSB: ipvsadm daemon...
May 29 05:23:14 test_lvs ipvsadm[3191]:  * Clearing the current IPVS table...
May 29 05:23:14 test_lvs ipvsadm[3191]:    ...done.
May 29 05:23:14 test_lvs ipvsadm[3191]:  * Loading IPVS configuration...
May 29 05:23:14 test_lvs ipvsadm[3191]:    ...done.
May 29 05:23:14 test_lvs ipvsadm[3191]:  * Starting IPVS Connection 
Synchronization Daemon master
May 29 05:23:14 test_lvs ipvsadm[3191]:    ...done.
May 29 05:23:14 test_lvs systemd[1]: Started LSB: ipvsadm daemon.
root@test_lvs:~# systemctl stop ipvsadm
root@test_lvs:~# echo -e "AUTO="true"\nDAEMON="none"\nIFACE="eth0"" > 
/etc/default/ipvsadm
root@test_lvs:~# systemctl restart ipvsadm ; ps aux  | grep ipvs
root      3238  0.0  0.0  12944   984 pts/0    S+   05:24   0:00 grep 
--color=auto ipvs
root@test_lvs:~# journalctl -u ipvsadm | tail -n 10
May 29 05:23:47 test_lvs ipvsadm[3213]:    ...done.
May 29 05:23:47 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:24:05 test_lvs systemd[1]: Stopped LSB: ipvsadm daemon.
May 29 05:24:05 test_lvs systemd[1]: Starting LSB: ipvsadm daemon...
May 29 05:24:05 test_lvs ipvsadm[3227]:  * Clearing the current IPVS table...
May 29 05:24:05 test_lvs ipvsadm[3227]:    ...done.
May 29 05:24:05 test_lvs ipvsadm[3227]:  * Loading IPVS configuration...
May 29 05:24:05 test_lvs ipvsadm[3227]:    ...done.
May 29 05:24:05 test_lvs ipvsadm[3227]:  * ipvsadm is not configured to run. 
Please edit /etc/default/ipvsadm
May 29 05:24:05 test_lvs systemd[1]: Started LSB: ipvsadm daemon.

Package version:
# apt-cache policy ipvsadm
ipvsadm:
  Installed: 1:1.28-3ubuntu0.16.04.1
  Candidate: 1:1.28-3ubuntu0.16.04.1
  Version table:
 *** 1:1.28-3ubuntu0.16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:1.28-3 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

# lsb_release -rd
Description:    Ubuntu 16.04.6 LTS
Release:        16.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830033

Title:
  Connection synchronization daemon fails at start due to a bug in
  launch script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/1830033/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to