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 -- [email protected]
Internet Systems Consortium
-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list.

Reply via email to