Bug 448088

Summary: inn should own /usr/lib/news/bin and /usr/lib/news/bin/auth/{resolv,passwd} directories
Product: Red Hat Enterprise Linux 5 Reporter: Milan Zázrivec <mzazrivec>
Component: innAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: rvokal, syeghiay
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: 2008-10-15 15:00:42 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: 445005    

Description Milan Zázrivec 2008-05-23 13:09:19 UTC
Description of problem:
inn package should own following directories:
/usr/lib/news/bin
/usr/lib/news/bin/auth/resolv
/usr/lib/news/bin/aith/passwd

Currently inn owns files under them, not the directories themselves.
This setup leads to these directories being mislabeled (selinux contexts).

Version-Release number of selected component (if applicable):
inn-2.4.3-6.fc6 / RHEL5.2 GA

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL5.2, inn package included, selinux enabled
2. # rpm -qf /usr/lib/news/bin /usr/lib/news/bin/auth/resolv \
     /usr/lib/news/bin/auth/passwd
3. # ls -dZ /usr/lib/news/bin /usr/lib/news/bin/auth/resolv \
     /usr/lib/news/bin/auth/passwd
4. # matchpathcon /usr/lib/news/bin /usr/lib/news/bin/auth/resolv \
     /usr/lib/news/bin/auth/passwd
  
Actual results:
# rpm -qf /usr/lib/news/bin /usr/lib/news/bin/auth/resolv \
/usr/lib/news/bin/auth/passwd
file /usr/lib/news/bin is not owned by any package
file /usr/lib/news/bin/auth/resolv is not owned by any package
file /usr/lib/news/bin/auth/passwd is not owned by any package
# ls -dZ /usr/lib/news/bin /usr/lib/news/bin/auth/resolv \
/usr/lib/news/bin/auth/passwd
drwxr-xr-x  root root system_u:object_r:lib_t:s0       /usr/lib/news/bin
drwxr-xr-x  root root system_u:object_r:lib_t:s0       /usr/lib/news/bin/auth/passwd
drwxr-xr-x  root root system_u:object_r:lib_t:s0       /usr/lib/news/bin/auth/resolv
# matchpathcon /usr/lib/news/bin /usr/lib/news/bin/auth/resolv \
/usr/lib/news/bin/auth/passwd
/usr/lib/news/bin       system_u:object_r:bin_t:s0
/usr/lib/news/bin/auth/resolv   system_u:object_r:bin_t:s0
/usr/lib/news/bin/auth/passwd   system_u:object_r:bin_t:s0

Additional info:
Low priority, unlikely to cause any harm.

Comment 1 Ondrej Vasik 2008-07-10 16:12:08 UTC
Thanks for report, actually more dirs should be owned by quota. All fixed in
rawhide, inn-2.4.5-2.fc10.

Comment 2 Ondrej Vasik 2008-07-10 16:12:53 UTC
sorry, I meant inn of course (faster fingers than brain).

Comment 3 RHEL Program Management 2008-07-21 23:02:02 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 5 Ondrej Hudlicky 2008-08-26 14:04:31 UTC
QA_ACK+ FAST5.3

Comment 11 errata-xmlrpc 2008-10-15 15:00:42 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-2008-0917.html