On Sat, Jul 09, 2022 at 01:46:03PM +0200, Vincent Bernat wrote:
> On 7/9/22 10:55, Willy Tarreau wrote:
> > On Sat, Jul 09, 2022 at 12:03:02AM +0200, Vincent Bernat wrote:
> > > The error when not running as root is expected. However, the fact it does
> > > not work on boot, then works after is odd. Can you share a minimal
> > > configuration file which exhibits this issue?
> > 
> > That's very strange, it sounds as if the service was not started as
> > root. Was there any change in ubuntu 22 regarding the definition of
> > what user a service starts under ?
> 
> We did some debugging off-list and the IP addresses were handled by
> keepalived and ip_nonlocal_bind sysctl was not enabled.

Ah OK, that indeed totally makes sense in this case. Thanks for the
update!

That makes me think that maybe we could provide a diagnostic here. When
we fail to bind to an ip:port, we could retry with ip:0 and see if we
face the same error. If so we could indicate that the IP isn't present,
this would be helpful in such situations.

Willy

Reply via email to