Pim van den Berg schrieb am Monday, den 25. November 2013: > Source: keepalived > Version: 1:1.2.9-1 > Tags: patch > > The patch to support libnl 3 is incomplete. > > In libnl 3 the return codes have changed. It currently results in weird > errors and unexpected behaviour. > > For example, when I add an ip + port to a virtual_server_group and > reload keepalived I get this message in /var/log/syslog: > > Keepalived_healthcheckers[11685]: IPVS: Memory allocation problem > > This message is based on return code 12 from "ipvs_update_dest(srule, > drule)" in keepalived/check/ipvswrapper.c, line 396. In libnl 3, return > code 12 is "NLE_OBJ_NOTFOUND" (previously "ENOENT"). ENOENT is expected > on line 397 in keepalived/check/ipvswrapper.c. The final result: > Keepalived fails to add the real_servers to this new IP. > > This is just 1 example. Probably there is more unexpected behaviour. I > also saw a message like "Keepalived_vrrp[11687]: IPVS: Too many links" > (return code 31) related to the lvs_sync_daemon_interface setting. In > libnl 3, return code 31 is "NLE_NODEV" (previously "ENODEV"). This makes > way more sense. So the message should be: "Keepalived_vrrp[11687]: IPVS: > No such device". > > An updated libnl3.patch is attached. This patch adds a function to > translate libnl 3 errors to sys errors. It also uses a FALLBACK_LIBNL1 > variable instead of LIBNL2 (got this from ipvsadm). Thanks! I'll add it as soon as possible.
Alex -- Alexander Wirt, formo...@formorer.de CC99 2DDD D39E 75B0 B0AA B25C D35B BC99 BC7D 020A -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org