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 634935 - rpmlint errors and warnings
Summary: rpmlint errors and warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ConsoleKit
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-17 11:49 UTC by Alexander Todorov
Modified: 2016-05-11 00:58 UTC (History)
2 users (show)

Fixed In Version: ConsoleKit-0.4.1-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-11 00:58:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0942 0 normal SHIPPED_LIVE ConsoleKit bug fix update 2016-11-24 23:09:27 UTC

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

Version-Release number of selected component (if applicable):
ConsoleKit-0.4.1-3.el6.x86_64.rpm

How reproducible:
Always

Steps to Reproduce:
1. run rpmlint -i *.rpm
2.
3.
  
Actual results (as shown by rpmlint):

ConsoleKit.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/ck-launch-session ['/usr/lib64']
The binary or shared library defines `RPATH'. Usually this is a bad thing
because it hardcodes the path to search libraries and so makes it difficult to
move libraries around.  Most likely you will find a Makefile with a line like:
gcc test.o -o test -Wl,--rpath.  Also, sometimes configure scripts provide a
--disable-rpath flag to avoid this.

ConsoleKit.x86_64: W: only-non-binary-in-usr-lib
There are only non binary files in /usr/lib so they should be in /usr/share.

ConsoleKit.x86_64: W: conffile-without-noreplace-flag /etc/ConsoleKit/seats.d/00-primary.seat
A configuration file is stored in your package without the noreplace flag. A
way to resolve this is to put the following in your SPEC file:
%config(noreplace) /etc/your_config_file_here

ConsoleKit.x86_64: W: non-conffile-in-etc /etc/dbus-1/system.d/ConsoleKit.conf
A non-executable file in your package is being installed in /etc, but is not a
configuration file. All non-executable files in /etc should be configuration
files. Mark the file as %config in the spec file.

ConsoleKit.x86_64: W: log-files-without-logrotate /var/log/ConsoleKit
This package contains files in /var/log/ without adding logrotate
configuration for them.

ConsoleKit.x86_64: W: dangerous-command-in-%post chmod

Comment 1 RHEL Program Management 2011-01-07 15:52:52 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 2 Michal Sekletar 2015-10-14 09:34:08 UTC
Should be easy fix. Granting devel_ack.

Comment 6 errata-xmlrpc 2016-05-11 00:58:42 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.

https://rhn.redhat.com/errata/RHBA-2016-0942.html


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