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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content