Bug 448088 - inn should own /usr/lib/news/bin and /usr/lib/news/bin/auth/{resolv,passwd} directories
Summary: inn should own /usr/lib/news/bin and /usr/lib/news/bin/auth/{resolv,passwd} d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: inn
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 445005
TreeView+ depends on / blocked
 
Reported: 2008-05-23 13:09 UTC by Milan Zázrivec
Modified: 2013-04-12 19:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-15 15:00:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0917 0 normal SHIPPED_LIVE inn bug fix update 2008-10-15 15:00:24 UTC

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


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