[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unbound-service-type
From: |
Josua Stingelin |
Subject: |
Re: unbound-service-type |
Date: |
Sun, 20 Feb 2022 18:06:01 +0100 |
Hi Ludo,
Thank you for your reply!
> I’d recommend passing the config file directly, as in:
>
> "-c" #$(local-file "unbound.conf")
Doing that now.
> > However when I add these to my operating-system configuration, and copy the
> > configuration file using the etc-service-type it doesn't run on start.
>
> Do you have additional info as to why it doesn’t start? Perhaps error
> messages in /var/log/messages or something?
Turns out unbound segfaults when chrooting to a read-only directory. And if one
doesn't explicitly turn off the chroot it tries to chroot to
"<binary directory>/../etc" (or something similar).
unbound[1407]: segfault at ffffffffffffffb8 ip 00007fd6498ecd67 sp
00007fffa4366550 error 5 in libc-2.33.so[7fd64984f000+141000]
Should I report this upstream - or is this considered a configuration issue?
I've gotten the service up and running. Going to try and generate the
configuration file based on the scheme configuration next.
Thank you for your help and sorry for posting pre-maturely. I suppose searching
a bit longer would have gotten me on track anyway.
Kind Regards,