Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Willy Tarreau
On Thu, Jun 10, 2021 at 04:40:47AM +0200, Miroslav Zagorac wrote: > On 06/10/2021 04:20 AM, Willy Tarreau wrote: > > Thank you Miroslav. Just to be sure, is this in anyway related to the > > fix or not ? We need to make sure that we maintain a smooth upgrade > > path for those who provide packages.

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Miroslav Zagorac
On 06/10/2021 04:20 AM, Willy Tarreau wrote: Thank you Miroslav. Just to be sure, is this in anyway related to the fix or not ? We need to make sure that we maintain a smooth upgrade path for those who provide packages. I'll retag your patch as BUG/MEDIUM as it really addresses an initialization

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Willy Tarreau
On Thu, Jun 10, 2021 at 02:56:46AM +0200, Miroslav Zagorac wrote: > I forgot to mention that one should take the latest version of the > opentracing c wrapper (it is now 1.1.0). > > https://github.com/haproxytech/opentracing-c-wrapper Thank you Miroslav. Just to be sure, is this in anyway related

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Miroslav Zagorac
I forgot to mention that one should take the latest version of the opentracing c wrapper (it is now 1.1.0). https://github.com/haproxytech/opentracing-c-wrapper -- Zaga What can change the nature of a man?

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Miroslav Zagorac
On 06/09/2021 11:46 AM, Miroslav Zagorac wrote: On 06/09/2021 09:10 AM, Willy Tarreau wrote: Hi Miroslav, On Mon, Jun 07, 2021 at 04:55:21PM +0200, Miroslav Zagorac wrote: ... In fact, the only access to these files is achieved only once at the beginning of the HAProxy process, in the initiali

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Miroslav Zagorac
On 06/09/2021 09:10 AM, Willy Tarreau wrote: Hi Miroslav, On Mon, Jun 07, 2021 at 04:55:21PM +0200, Miroslav Zagorac wrote: ... In fact, the only access to these files is achieved only once at the beginning of the HAProxy process, in the initialization of threads. After this initialization, no

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-09 Thread Willy Tarreau
Hi Miroslav, On Mon, Jun 07, 2021 at 04:55:21PM +0200, Miroslav Zagorac wrote: > From 4bbbe5fd3e66a37ec9703723ba22b742e7926a07 Mon Sep 17 00:00:00 2001 > From: Miroslav Zagorac > Date: Mon, 7 Jun 2021 16:21:31 +0200 > Subject: [PATCH] BUG/MINOR: opentracing: fixed files existence che

Re: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-07 Thread Miroslav Zagorac
2021 16:21:31 +0200 Subject: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode If the 'chroot' keyword is used in the HAProxy configuration file, HAProxy reports an error when initializing the OpenTracing API library. The problem is that HAProxy also executes

[PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode

2021-06-07 Thread Miroslav Zagorac
00:00:00 2001 From: Miroslav Zagorac Date: Mon, 7 Jun 2021 16:21:31 +0200 Subject: [PATCH] BUG/MINOR: opentracing: fixed files existence check in chroot mode If the 'chroot' keyword is used in the HAProxy configuration file, HAProxy reports an error when initializing the OpenTracing AP