> In the HAProxy configuration i'm using the FQDN name, and it seems
> HAProxy is just using the short hostname.
This seems to be true indeed, "localpeer" default value is retrieved
thanks to gethostname() in haproxy

However, since no obvious changes around "localpeer" handling occurred
between 2.4.15 and 2.4.22 it looks like your previous system (ubuntu
18.04) behaved differently and used to return "s017.domain.local" with
gethostname() and 'hostname' command (without the -f)

(Please note that hostname command relies on uname() internally, and not
on gethostname(), but the manual confirms that hostname command without
arguments "will print the name of the system as returned by the
gethostname(2) function.")

Could you confirm?

Thanks

Reply via email to