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 634931 - too many rpmlint errors and warnings
Summary: too many rpmlint errors and warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cups
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-17 11:40 UTC by Alexander Todorov
Modified: 2011-05-19 14:09 UTC (History)
4 users (show)

Fixed In Version: cups-1.4.2-37.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 14:09:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rpmlint-false.txt (false positives) (6.61 KB, text/plain)
2010-12-03 17:26 UTC, Tim Waugh
no flags Details
rpmlint-fixes.txt (things to fix) (11.68 KB, text/plain)
2010-12-03 17:26 UTC, Tim Waugh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0715 0 normal SHIPPED_LIVE cups bug fix update 2011-05-18 18:09:48 UTC

Description Alexander Todorov 2010-09-17 11:40:06 UTC
Description of problem:
rpmlint shows errors and warnings

Version-Release number of selected component (if applicable):
cups-1.4.2-35.el6.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
1. run rpmlint -i *.rpm
2.
3.
  
Actual results (as shown by rpmlint):
cups.x86_64: W: obsolete-not-provided LPRng
If a package is obsoleted by a compatible replacement, the obsoleted package
should also be provided in order to not cause unnecessary dependency breakage.
If the obsoleting package is not a compatible replacement for the old one,
leave out the Provides.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/es/class-added.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/set-printer-options-header.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ja/printer-jobs-header.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/command.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/es/set-printer-options-trailer.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ru/printers.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/eu/norestart.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ja/printer-modified.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/de/users.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ja/printer-configured.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ja/add-rss-subscription.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ru/printer-added.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/es/jobs-header.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/www/help/postscript-driver.html
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/de/samba-exported.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/ru/add-printer.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/www/help/translation.html
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/eu/pager.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/class-modified.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/eu/add-printer.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/es/subscription-added.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/de/class-modified.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/templates/printer-added.tmpl
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.

cups.x86_64: E: file-in-usr-marked-as-conffile /usr/share/cups/www/help/man-cupstestppd.html
A file in /usr is marked as being a configuration file. Store your conf files
in /etc/ instead.


... skip ....

cups.x86_64: E: non-standard-executable-perm /usr/lib/cups/filter/rastertolabel 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: W: devel-file-in-non-devel-package /usr/share/cups/ppdc/epson.h
A development file (usually source code) is located in a non-devel package. If
you want to include source code in your package, be sure to create a
development package.

cups.x86_64: E: non-standard-executable-perm /usr/lib/cups/filter/commandtopclx 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: E: non-standard-executable-perm /usr/bin/lprm.cups 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: E: non-standard-executable-perm /usr/bin/cupstestppd 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: E: non-standard-executable-perm /usr/lib/cups/backend/socket 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: E: non-standard-executable-perm /usr/lib/cups/daemon/cups-deviced 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: E: non-standard-executable-perm /usr/bin/lpq.cups 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

cups.x86_64: E: non-standard-executable-perm /usr/lib/cups/filter/bannertops 0555L
A standard executable should have permission set to 0755. If you get this
message, it means that you have a wrong executable permissions in some files
included in your package.

.... skip ....

1 packages and 0 specfiles checked; 689 errors, 17 warnings.

Comment 1 Tim Waugh 2010-09-17 12:04:46 UTC
Most/all of these are bogus as far as I can tell.

(This package did go through Package Wrangler, you know...)

Comment 2 Alexander Todorov 2010-09-17 12:17:21 UTC
I don't agree. 

For example: 
/usr/share/cups/www/help/man-cupstestppd.html

This is documentation file not config file. Should be marked appropriately. 

How about non standard permissions? Why use 555 instead of 755?

Comment 3 Tim Waugh 2010-09-17 13:06:21 UTC
(In reply to comment #2)
> /usr/share/cups/www/help/man-cupstestppd.html
> 
> This is documentation file not config file. Should be marked appropriately. 

This was intentionally changed to fix bug #441719 but perhaps more are marked than are necessary.

> How about non standard permissions? Why use 555 instead of 755?

CUPS uses the permissions bits to know whether it needs to drop privileges when running filters and backends.  Perhaps the 0200 bit ought to be set.

But things like this:

cups.x86_64: W: devel-file-in-non-devel-package /usr/share/cups/ppdc/epson.h
A development file (usually source code) is located in a non-devel package. If
you want to include source code in your package, be sure to create a
development package.

are incorrect.  It is not a development file.

Comment 6 Tim Waugh 2010-12-03 17:25:41 UTC
I've analysed the rpmlint messages for *.x86_64.rpm and split them into false-positives and things to fix.

Comment 7 Tim Waugh 2010-12-03 17:26:10 UTC
Created attachment 464617 [details]
rpmlint-false.txt (false positives)

Comment 8 Tim Waugh 2010-12-03 17:26:32 UTC
Created attachment 464618 [details]
rpmlint-fixes.txt (things to fix)

Comment 9 Tim Waugh 2010-12-06 11:52:20 UTC
Also:

cups.x86_64: E: non-readable /usr/sbin/cupsd 0500L

==> FIX

This is now being tracked in Fedora as bug #546004.

Comment 16 errata-xmlrpc 2011-05-19 14:09:31 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0715.html


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