Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-17 Thread Alexander Kanavin
This brings me to a question. Should we replace dhcp with kea? https://www.isc.org/kea/ Alex On Sat, 13 Jun 2020 at 10:31, Vyacheslav Yurkov wrote: > On 13.06.2020 02:41, Khem Raj wrote: > > I think it would be good to share if we can. Shipping two versions of > bind > > libraries is less than

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-13 Thread Vyacheslav Yurkov
On 13.06.2020 02:41, Khem Raj wrote: I think it would be good to share if we can. Shipping two versions of bind libraries is less than ideal, have you explored disabling threading in the bind recipe and see if named is happy with that ? Yes, I have. It partially solves the issue. At least DHCP d

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-12 Thread Khem Raj
On Wednesday, June 10, 2020 9:36:52 AM PDT Vyacheslav Yurkov wrote: > On 10.06.2020 17:05, Richard Purdie wrote: > > You seem to disable parallel make yet no mention of that in the log? > > Right, I forgot to mention that in the commit message. Building bind at > 'compile' stage breaks parallel ma

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Vyacheslav Yurkov
On 10.06.2020 19:42, Adrian Bunk wrote: Right, but I don't think there's a way to build two configurations out of one recipe, isn't it? It is possible. More common is sharing the sources between two (or more) recipes with an .inc file. That's not really what I had in mind. That would result in t

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Adrian Bunk
On Wed, Jun 10, 2020 at 06:31:55PM +0200, Vyacheslav Yurkov wrote: > On 10.06.2020 18:07, Adrian Bunk wrote: > > On Wed, Jun 10, 2020 at 04:35:20PM +0200, Vyacheslav Yurkov wrote: > > > ... > > > BIND9 libraries support a lot of options specifically geared towards > > > optimizing DNS operations, m

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Vyacheslav Yurkov
On 10.06.2020 17:05, Richard Purdie wrote: You seem to disable parallel make yet no mention of that in the log? Right, I forgot to mention that in the commit message. Building bind at 'compile' stage breaks parallel make. I assume that can be addressed, but I'd need to take a look at how to set

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Vyacheslav Yurkov
On 10.06.2020 18:07, Adrian Bunk wrote: On Wed, Jun 10, 2020 at 04:35:20PM +0200, Vyacheslav Yurkov wrote: ... BIND9 libraries support a lot of options specifically geared towards optimizing DNS operations, many of which do not play nicely with ISC DHCP's "architecture". It isn't necessarily pr

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Adrian Bunk
On Wed, Jun 10, 2020 at 04:35:20PM +0200, Vyacheslav Yurkov wrote: >... > BIND9 libraries support a lot of options specifically geared towards > optimizing DNS operations, many of which do not play nicely with > ISC DHCP's "architecture". It isn't necessarily practical to build > those libraries f

Re: [OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Richard Purdie
On Wed, 2020-06-10 at 16:35 +0200, Vyacheslav Yurkov wrote: > From: Vyacheslav Yurkov > > ISC DHCP should link against BIND9 libraries, which are tailored > specifically for DHCP. BIND9 package in Yocto core layer has > different > configuraiton, in particular it has threads and epoll enabled. >

[OE-core] [PATCH] dhcp: use included bind version

2020-06-10 Thread Vyacheslav Yurkov
From: Vyacheslav Yurkov ISC DHCP should link against BIND9 libraries, which are tailored specifically for DHCP. BIND9 package in Yocto core layer has different configuraiton, in particular it has threads and epoll enabled. ISC DHCP isn't a multi-threaded application, running it with bind9 librar