• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved /etc/named.conf: permission denied

Erwan

Regular Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
Obsidian v18.0.50
Hi all,

When setting up a new instance, everything works fine... except Bind which fails.

In the /var/log/syslog file, i've this:
open: /etc/named.conf: permission denied
named[33696]: loading configuration: permission denied
named[33696]: exiting (due to fatal error)
systemd[1]: named.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: named.service: Failed with result 'exit-code'.
kernel: [73566.183889] audit: type=1400 audit(1678803291.528:63): apparmor="DENIED" operation="open" profile="named" name="/mnt/disk/var/named/run-root/etc/named.conf" pid=33696 comm="named" requested_mask="r" denied_mask="r" fsuid=110 ouid=0


I can access to /etc/named.conf:
# ls -l /etc/na*
lrwxrwxrwx 1 root root 34 Mar 13 12:17 /etc/named.conf -> /var/named/run-root/etc/named.conf

Do you have an idea of the problem?
Thank you.

Erwan
 
Back
Top