BIND 9.14.0: unable to set effective uid to 0: Operation not permitted

Anand Buddhdev anandb at ripe.net
Tue Apr 2 18:25:38 UTC 2019


On 02/04/2019 17:12, Tony Finch wrote:

Hi Tony,

> I have not noticed these errors on my toy server. I had a look at the code
> and I thought Stephan's explanation was correct. My guess is that he is
> starting named without root privileges, so it is unable to switch back and
> forth between users when it is starting up. It switches users so files
> are created with the correct privileges, and as Stephan said, that is when
> the warnings are emitted. It might be a combination of starting as an
> unprivileged user and also providing the -u command line option.

On my CentOS 7 test server, I start BIND 9.14.0 as root, like this:

named -f -u named

or

named -g -u named

It still emits those warnings.

Regards,
Anand


More information about the bind-users mailing list