In RHEL, "lpstat -o" and the Web UI are showing "unknown" or "withheld" for some print jobs

Solution Verified - Updated -

Issue

  • Running lpstat -o as root results in:

    # lpstat -o
    printer9-2709           lp               32768   Fri Nov  2 16:26:30 2018
    

    but running as a non-root user, the command results in:

    $ lpstat -o
    printer9-2709           unknown          32768   Fri Nov  2 16:26:30 2018
    
  • The Web user interface jobs listing, "Unknown" is shown in the Name column and the User column only lists "Withheld". For example:

    Screenshot showing "Unknown" and "Withheld" for the Name and User columns.
    Screenshot showing "Unknown" and "Withheld" for the Name and User columns.

Environment

  • Red Hat Enterprise Linux (RHEL) 7 and 8
  • Common Unix Printing System (CUPS) 1.6.3 and 2.2.6

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