~alpine/users

2 2

isc dhcp server with ldap crashes when DDNS is on

Details
Message ID
<CAJaGSvmxC09YxCFh-FTae5a3Z8HJNKsiMtbS26bbK3NLGkCn3g@mail.gmail.com>
DKIM signature
missing
Download raw message
Hello,
It seems that there is a bug in dhcpd + musl ?  ...
when "ddns-update-style interim;" is on

I've tried to run it with and without the ldap backend but I get the
same error.

dhcpd service crashes and dmesg shows something like
dhcpd[7523]: segfault at 3 ip 00007f3f93784118 sp 00007ffeec735be0
error 4 in ld-musl-x86_64.so.1[7f3f93779000+47000]

I've upgraded all alpine box to 3.12
and installed the relevant packages.

Regards,
Harry!
Details
Message ID
<2129815.kA8iipvtqG@localhost>
In-Reply-To
<CAJaGSvmxC09YxCFh-FTae5a3Z8HJNKsiMtbS26bbK3NLGkCn3g@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Hello,

On Monday, June 15, 2020 9:18:59 AM MDT Freemail HArry wrote:
> Hello,
> It seems that there is a bug in dhcpd + musl ?  ...
> when "ddns-update-style interim;" is on
> 
> I've tried to run it with and without the ldap backend but I get the
> same error.
> 
> dhcpd service crashes and dmesg shows something like
> dhcpd[7523]: segfault at 3 ip 00007f3f93784118 sp 00007ffeec735be0
> error 4 in ld-musl-x86_64.so.1[7f3f93779000+47000]

This is due to a null-pointer dereference inside dhcpd code.  It is most 
likely unrelated to musl.

In past experience, I've noted that dhcpd is somewhat fragile with 
misconfiguration.  Most likely that is what is happening here.

If you are certain your configuration is good, please report a bug -- we can 
build a new dhcpd package with debug symbols, which can be used with gdb to 
ascertain why it is crashing.

Ariadne
Details
Message ID
<CAJaGSvkSJiv5Na6ShREk+SaySQR7BG3bseeMvj=wBVk2G0cVuQ@mail.gmail.com>
In-Reply-To
<2129815.kA8iipvtqG@localhost> (view parent)
DKIM signature
missing
Download raw message
Thanks for your reply!

For your and whomever is interested  information...

After receiving your mail  I switched for testing purposes  to a
debian stretch install
isc-dhcp-server-ldap          4.3.5-3+deb9u1      amd64

Same LDAP backend
Same config !

Runs perfect !
updates perfect forward and reverse zones, never crashes!

So as far as I can tell there is a problem indeed on alpine or musl or
whatever!
Regards,
Harry
Reply to thread Export thread (mbox)