Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 118540 - lpadmin doesn't complain when provided bogus ppd file
lpadmin doesn't complain when provided bogus ppd file
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: cups (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2004-03-17 11:24 EST by Joshua Jensen
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-06-25 06:26:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joshua Jensen 2004-03-17 11:24:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040204

Description of problem:
This command should throw an error:

/usr/sbin/lpadmin -p kprinter -v <whatever> -D "Kprinter GUI" -E -L
<whatever> -m xyz123

There is no ppd description file called xyz123, yet the printer entry
is still created in CUPS' printer.conf file.  However, there is no
corresponding ppd file created in /etc/cups/ppd.

This causes GNOME to say, whenever bringing up a GNOME print window:

"GnomePrintCupsPlugin-WARNING **: The CUPS printer kprinter could not
be created

Model not found, discarding config"

lpadmin should complain about xyz123 not being found, instead of
silently mis-configuring cups by only providing a partially correct setup.

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

How reproducible:

Steps to Reproduce:
Command giving above

Additional info:
Comment 1 Joshua Jensen 2004-06-15 14:35:06 EDT
Any progress on this?  This shouldn't be too hard to fix
Comment 2 Tim Waugh 2004-06-25 06:26:48 EDT
This works correctly (i.e. gives an error) with cups-1.1.20, as found
in Fedora Core 2.  This fix will be included in a future version of
Red Hat Enterprise Linux.

Thanks for your report.
Comment 3 Joshua Jensen 2004-06-25 11:08:45 EDT
Thanks Tim!

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