CUPS in RHEL does not recognize changes to /etc/resolv.conf until CUPS restarted

Solution Verified - Updated -

Issue

If we start CUPS and then then change /etc/resolv.conf by replacing the nameserver line with a new one, CUPS will continue to use the old entry until it is restarted. Running CUPS with the wrong nameservers (depending on the network environment) can cause CUPS to run very slowly as to be unusable.

Environment

  • Red Hat Enterprise Linux (RHEL) 7.3
  • Common Unix Printing System (CUPS) 1.6.3

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