Bug 1589591 - cups-driverd spams journal with bad driver information messages
Summary: cups-driverd spams journal with bad driver information messages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-10 21:55 UTC by Iestyn Elfick
Modified: 2018-07-09 08:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-09 08:48:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Iestyn Elfick 2018-06-10 21:55:06 UTC
Description of problem:
cups-driverd errors at startup

Version-Release number of selected component (if applicable):
28 (with or without updates)

How reproducible:
Easily, fresh install, out of the box.

Steps to Reproduce:
1. Fresh install of Fedora 28 (KDE / Cinnamon spins, others not tested)
2. Start cups.service

Actual results:
Hundreds of '[cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/....ppd.gz"!' are logged to the journal.

Expected results:
No errors...

Additional info:
Printing still seems to work.

Comment 1 Zdenek Dohnal 2018-06-11 16:16:37 UTC
Hi Iestyn,

thank you for reporting this issue! I'll look into it - it seems cups cannot read static ppds, which are gziped... and then recognizes them badly as .drv files, which causes the logs.

Comment 2 Fedora Update System 2018-06-12 13:57:19 UTC
cups-2.2.6-15.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5e48964321

Comment 3 Fedora Update System 2018-06-13 04:31:19 UTC
cups-2.2.6-15.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5e48964321

Comment 4 Iestyn Elfick 2018-06-13 19:48:05 UTC
The reason I reported this as a separate bug #1589593 (cupsd ignoring LogLevel)  was that I think the bad driver information files should be fixed. I agree the solution to the other bug stops the log being spammed with "bad driver" messages but these messages should not be produced in the first place (and would not be if the driver files themselves were corrected).

Comment 5 Iestyn Elfick 2018-06-13 20:07:02 UTC
I take that back, it seems the bad driver messages are no longer reported even with LogLevel debug or debug2, to file or to journald.

Comment 6 Zdenek Dohnal 2018-06-14 05:06:14 UTC
That's because the source of the logs https://bugzilla.redhat.com/show_bug.cgi?id=1590123 is fixed in the same update.

Comment 7 Iestyn Elfick 2018-06-14 18:13:52 UTC
Yes, understood. Don't have access to that bug so couldn't be sure. Thanks again, great work, much appreciated.

Comment 8 Fedora Update System 2018-06-14 19:17:01 UTC
cups-2.2.6-15.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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