Why the named.run file is not populating even though the permissions and ownership are correct?

Solution Unverified - Updated -

Issue

  • There are three RHEL servers functioning as DNS servers. In the named.conf file on all three, there are added statements to enable logging for bind. The server does not create the expected log file /var/named/chroot/var/named/data/named.run. It was also tried to manually create the log file, but it is not being updated.

This is the statement from the named.conf file:

logging {
        channel default_debug {
                file "data/named.run";
                print-time yes;
                print-category yes;
                print-severity yes;
                severity dynamic;
        };
};

Environment

  • Red Hat Enterprise Linux
  • Bind
  • Selinux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.