[Pkg-haproxy-maintainers] Bug#726323: haproxy doesn't start on boot due to missing IPv6 address on interface

Apollon Oikonomopoulos apoikos at gmail.com
Mon Oct 14 16:19:46 UTC 2013


Hi Philipp,

On 16:07 Mon 14 Oct     , Philipp Kolmann wrote:
> * haproxy doesn't start due to IPv6 host address not set when haproxy is starting.
>   I have IPv6 running in production and when haproxy tries to start, it needs
>   the host IPv6 address to configure the stick-table. This fails, and haproxy
>   fails to start.

This is strange. Is 2001:629:1005:30::11:80 the address we're talking 
about, or is it another one in the global configuration? Does it happen 
to be a VRRP address configured using keepalived?  

>   my fast-solution is now to add a "sleep 10" to the top of the init.d file,
>   but I think a more proper solution would be better.

(As a side-node, it would probably be better to do this modification in
/etc/default/haproxy, which is already sourced early enough, and also check
that $1 = "start" :-).

Regards,
Apollon



More information about the Pkg-haproxy-maintainers mailing list