Bug 738914

Summary: print null job with lpr makes job stay in queue forever even though ErrorPolicy is set to abort-job
Product: Red Hat Enterprise Linux 6 Reporter: jas
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: urgent    
Version: 6.0CC: azelinka, jpopelka, jwest, pknirsch, prc, psklenar
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cups-1.4.2-45.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:13:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jas 2011-09-16 02:11:06 UTC
Description of problem:

We just recently upgraded to 6.. Our print server hasn't been updated to 6, and is still using an old LPRng print server at this point.  However, all of our clients are using CUPS.  If a student types "lpr -P<printer>" hits enter, then hits CTRL-D, the job stays in the queue:

prt is ready
Rank    Owner   Job     File(s)                         Total Size
1st     bob     5       (stdin)                         0 bytes

The job is never spooled to the server.

cups error log displays this error twice per minute forever:

E [15/Sep/2011:04:37:13 -0400] [Job 28] Remote host did not accept data file (2)

The queue is setup as with "ErrorPolicy abort-job".

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

1:1.4.2-35.el6_0.1

Steps to Reproduce:
1. lpr
2. CTRL-D
 
Expected results:

Since "ErrorPolicy abort-job" is set, job should disappear from queue and be gone forever.

Additional info:

I know that CUPS probably won't do this for CUPS run queues, but the fact that it knows there is an error, abort-job is set, and it doesn't abort seems like there is an error present.

Comment 11 errata-xmlrpc 2012-06-20 13:13:29 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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2012-0818.html