On 10-06-2022 16:02, Reindl Harald wrote:
come on!
the OP clearly stated the only problem is the "PIDFile" line in the
systemd-unit and so what named writes or not is completly irrelevant
"PIDFile" for systemd has nothing to do with "pid-file" of named
:facepalm:
Indeed. I was led down the garden path. The PIDFile setting in the unit
file can be totally different from the pid-file option in bind.
Although, they should probably point to the same file.
Yet, the man page for systemd.service (5) states:
Usage of this option [PIDFile] is recommended for services where Type=
is set to forking.
So, it was probably just a simple misconfiguration and systemd applying
some of its "magic" to a non-existent file...
Anyway, in my case the PIDFile option is set, be it useful or not, and
SELinux is running in enforcing mode all without any issues.
-- Sandro
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from
this list
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users