rndc can crash when standard file descriptors are closed
BIND 9.18.19:
We have received a report that when run in the background, for example, from a
script, rndc can crash.
"We tracked it down to an assert coming from libuv. It turns out that the way
we were calling it didn't pass open file descriptors for stdin or stderr. That
allowed user file descriptors to be created in that range, triggering the assert.
The fix was to make sure that we had open file descriptors for all 3, even if they
were tied to /dev/null. "
https://github.com/libuv/libuv/blob/v1.x/src/unix/core.c#L633C61-L633C61