Bug 3192

Summary: Don't Print RPM File
Product: [Retired] Red Hat Raw Hide Reporter: ohmori
Component: rhs-printfiltersAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-18 16:16:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description ohmori 1999-06-01 09:59:47 UTC
When print the RPM file (e.g. lpr foo.rpm), Nothing print
out.

But from the document
(/usr/doc/rhs-printfilters-1.53/README)
RPM files can be printed.

> If you have a PostScript printer, or have configured a
print filter
> using Ghostscript, then the following types of files can
be printed
> and they will be converted to PostScript automatically:
>
(snip)
> RPM


------- Email Received From  Norihito Ohmori <ohmori.ac.jp> 06/01/99 06:03 -------

Comment 1 Cristian Gafton 1999-06-16 15:42:59 UTC
is this still valid?

assigned to notting.

the patch sent has some security problems, but that would be the
general idea.

Comment 2 Bill Nottingham 1999-06-16 15:46:59 UTC
the fix is to actually fix RPM to work on queries
from standard input again...

Comment 3 Jeff Johnson 1999-06-18 00:24:59 UTC
Here's what works (rpm-3.0.2-0.3 but all rpm-3.0 should be same):

bash$ cat rpm-devel-3.0.2-0.3.sparc.rpm | rpm -qp -- -
rpm-devel-3.0.2-0.3
Broken pipe
krusty:/D/6.1/sparc 776 bash$

Comment 4 Bill Nottingham 1999-06-18 16:16:59 UTC
fixed in rhs-printfilters-1.55