On Tue, Oct 20, 2015 at 10:54:58AM +0200, Lukas Tribus wrote:
> > Dear Willy,
> >
> > Thank you for your insights. As you advised, below is the output of
> > haproxy -f ?cfg -db -V.
> 
> Can you run this through strace (strace haproxy -f ?cfg -db -V) and
> provide the output.
> 
> Also, if you have the strace output of a successful startup of 1.5.14 for
> comparison, that would be very helpful as well.

Yes definitely. Actually I'm seeing one difference between the two versions,
it's the introduction of namespaces in 1.6.0. If it was built with support
for namespaces and they are not supported in the operating system, I'm not
seeing how my_socketat() can recover in case setns() returns -1, which
happens when default_namespace = -1, which is the default case before
initialization :

#ifdef CONFIG_HAP_NS
        if (default_namespace < 0 ||
            (ns && setns(ns->fd, CLONE_NEWNET) == -1))
                return -1;
#endif

That said we're not seeing any error there so I'm having doubts. Let's wait
for strace output then.

Willy


Reply via email to