Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 447376

Summary: pm-utils should own /usr/lib/pm-utils directory
Product: Red Hat Enterprise Linux 5 Reporter: Milan Zázrivec <mzazrivec>
Component: pm-utilsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: ltroan, rvokal, zcerza
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:46:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 432382, 445005    

Description Milan Zázrivec 2008-05-19 18:25:27 UTC
Description of problem:
pm-utils package should own /usr/lib/pm-utils directory. Currently it owns
everything under /usr/lib/pm-utils, not the directory itself. This setup
leads to mislabeled /usr/lib/pm-utils directory.

Version-Release number of selected component (if applicable):
pm-utils-0.99.3-6.el5.19

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL5.2, pm-utils package included, selinux enabled.
2. # rpm -qf /usr/lib/pm-utils
3. # setfiles -vqn /etc/selinux/targeted/contexts/files/file_contexts \
   /usr/lib/pm-utils

Actual results:
# rpm -qf /usr/lib/pm-utils
file /usr/lib/pm-utils is not owned by any package
# setfiles -vqn /etc/selinux/targeted/contexts/files/file_contexts \
  /usr/lib/pm-utils
setfiles:  relabeling /usr/lib/pm-utils/bin from system_u:object_r:lib_t:s0 to
system_u:object_r:bin_t:s
  
Additional info:
Low priority thing, unlikely to cause any harm.

Comment 1 RHEL Program Management 2008-06-02 19:58:37 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Phil Knirsch 2008-06-13 13:29:11 UTC
Simple fix, granting Devel ACK.

Read ya, Phil

Comment 4 Zack Cerza 2008-09-30 18:36:58 UTC
Verified with pm-utils-0.99.3-7.el5

Comment 6 errata-xmlrpc 2009-01-20 20:46:29 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-2009-0073.html