/run/named permission denied
Colin Vidal
colin at isc.org
Wed Jun 3 07:50:55 UTC 2026
Hi,
> In named.conf In Alma Linux 9 Bind 9.20.23 Stable version, I set this directive:
> pid-file "/run/named/named.pid";
>
> /var/named is mounted as root:root so there is no permission to write
> pid file to /var/named
> infact I see "permission denied" in messages file.
>
> /run/named is temporary file system, how can I force it to create It
> with named:named permission ?
>
> What do you suggest me ?
Are you starting named as root? (Passing -u <user> enable named to switch to "user" after doing some operations that might requiring privileged user like listening on ports < 1024 or writing the .pid file.)
Perhaps something related to an SELinux labeling issue?
--
Colin Vidal -- colin at isc.org
Internet Systems Consortium
More information about the bind-users
mailing list