Bug 512301 - Multiple different specifications for /var/vdsm(/.*)?
Summary: Multiple different specifications for /var/vdsm(/.*)?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks: 549492
TreeView+ depends on / blocked
 
Reported: 2009-07-17 07:26 UTC by Milos Malik
Modified: 2012-10-15 14:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 549492 (view as bug list)
Environment:
Last Closed: 2009-09-02 07:58:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1242 0 normal SHIPPED_LIVE selinux-policy bug fix update 2009-09-01 08:32:34 UTC

Description Milos Malik 2009-07-17 07:26:17 UTC
Description of problem:
It seems that selinux-policy allows /var/vdsm(/.*)? files to have two different SELinux contexts. I believe that one of the contexts should be removed.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.4.6-252.el5
selinux-policy-2.4.6-252.el5
yum-3.2.22-20.el5

How reproducible:
always

Steps to Reproduce:
1. yum -y install <package>
2. look at the end of /var/log/messages
# semanage fcontext -l | grep vdsm
/var/vdsm(/.*)?                                    all files          system_u:object_r:qemu_var_run_t:s0 
/var/vdsm(/.*)?                                    all files          system_u:object_r:virt_var_lib_t:s0 

  
Actual results: 
Jul 17 03:16:21 hp-rx1620-01 : /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/vdsm(/.*)?  (system_u:object_r:virt_var_lib_t:s0 and system_u:object_r:qemu_var_run_t:s0). 
Jul 17 03:16:21 hp-rx1620-01 : /etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/vdsm(/.*)?  (system_u:object_r:virt_var_lib_t:s0 and system_u:object_r:qemu_var_run_t:s0). 
Jul 17 03:16:44 hp-rx1620-01 yum: Installed: selinux-policy-devel-2.4.6-252.el5.noarch

Expected results:
Jul 17 03:16:44 hp-rx1620-01 yum: Installed: selinux-policy-devel-2.4.6-252.el5.noarch

Additional info:
reproducible on all architectures

Comment 1 Daniel Walsh 2009-07-20 20:26:49 UTC
Fixed in selinux-policy-2.4.6-253.el5.src.rpm

Comment 4 Jay Turner 2009-07-21 13:43:54 UTC
Things seems lots happier on my system with 2.4.6-253.el5.  I received 12 of the messages between 06:51 and 07:45, upgraded to the new packages and haven't seen another message to this point (currently 09:43.)  Holding off marking as verified until some additional test results come in and the package itself is included in a build.

Comment 9 errata-xmlrpc 2009-09-02 07:58:57 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-1242.html


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