RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2084257 - ErrorPolicy documentation is incorrect
Summary: ErrorPolicy documentation is incorrect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cups
Version: 8.6
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Zdenek Dohnal
QA Contact: Petr Dancak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-11 18:26 UTC by Bryan Mason
Modified: 2022-11-08 12:30 UTC (History)
2 users (show)

Fixed In Version: cups-2.2.6-48.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 10:47:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pdancak: needinfo+
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github apple cups issues 5301 0 None closed Question/inconsistency about ErrorPolicy 2022-05-11 18:26:57 UTC
Red Hat Issue Tracker RHELPLAN-121771 0 None None None 2022-05-11 18:31:20 UTC
Red Hat Product Errata RHBA-2022:7716 0 None None None 2022-11-08 10:47:58 UTC

Description Bryan Mason 2022-05-11 18:26:58 UTC
Description of problem:

  cupsd.conf(5) includes:

    ErrorPolicy retry-this-job

  but that's incorrect.  The directive is "retry-current-job" not
  "retry-this-job".  It's not a huge deal but it occasionally causes
  confusion which results in a case being opened.

Version-Release number of selected component (if applicable):

  cups-2.2.6-44.el8.x86_64

How reproducible:

  100%

Steps to Reproduce:

  1. Run 'man cupsd.conf'

Actual results:

  Bad information

Expected results:

  Correct information

Additional info:

  Upstream:

    https://github.com/apple/cups/issues/5301
    https://github.com/apple/cups/commit/b95156d    
    https://github.com/OpenPrinting/cups/commit/b95156d

Comment 1 Zdenek Dohnal 2022-05-13 06:47:04 UTC
Hi Bryan,

thank you for reporting the issue!

I just checked the scheduler code to be sure - scheduler/conf.c:

1256   /*
1257    * Validate the default error policy...
1258    */
1259 
1260   if (strcmp(ErrorPolicy, "retry-current-job") &&
1261       strcmp(ErrorPolicy, "abort-job") &&
1262       strcmp(ErrorPolicy, "retry-job") &&
1263       strcmp(ErrorPolicy, "stop-printer"))
1264   {
1265     cupsdLogMessage(CUPSD_LOG_ALERT, "Invalid ErrorPolicy \"%s\", resetting to \"stop-printer\".", ErrorPolicy);
1266     cupsdSetString(&ErrorPolicy, "stop-printer");
1267   }

No "retry-this-job" there, so it is really manpage bug.

Since we will have an errata for RHEL 8.7.0, we can fix this as well.

There's no need for test for this issue.

Comment 12 errata-xmlrpc 2022-11-08 10:47:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (cups bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7716


Note You need to log in before you can comment on or make changes to this bug.