9.16.19 repeated crashes on FreeBSD 12.2-p6

Mark Andrews marka at isc.org
Fri Aug 13 06:38:47 UTC 2021



> On 13 Aug 2021, at 15:12, Randy Bush <randy at psg.com> wrote:
> 
>> Presumably you are running with `named -u`
> 
>    # grep named /etc/rc.conf
>    named_enable=YES
>    named_program=/usr/local/sbin/named
>    named_conf=/usr/home/dns/named.conf
>    named_chrootdir=""
>    named_chroot_autoupdate=NO
>    named_uid=bind
>    named_gid=bind
>    named_wait=YES
>    named_auto_forward=YES
>    named_flags="-u bind"
>    named_auto_forward_only=NO
> 
> named crashed
> 
>    # find / -name *.core
>    #
> 
> what am i misunderstanding?

Named calls set{re}uid(2), when running with `named -u`, which DISABLES core
dumps of the process unless the kernel has been told otherwise.  This has
to be done by the ADMINISTRATOR as it is a SYSTEM WIDE configuration knob.
There is no per process knob.

See the afore mentioned KB articles for how to do this.

> randy

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka at isc.org



More information about the bind-users mailing list