Bug 636144 - RFE: static labelling: support dynamically resource labelling with static VM labels
Summary: RFE: static labelling: support dynamically resource labelling with static VM ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: libvirtTodoSecurity
TreeView+ depends on / blocked
 
Reported: 2010-09-21 15:03 UTC by Daniel Berrangé
Modified: 2011-07-07 14:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-07 14:39:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2010-09-21 15:03:10 UTC
Description of problem:
A VM with a static security labels will not dynamically relabel resources. It needs to be possible to use a static label with dynamic labelling to enable sensible usage with NFS / clustered filesystems.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2011-07-07 14:39:31 UTC
commit 6321fd979851a29da974823dddd6b2a4a7e43f83
Author: Daniel P. Berrange <berrange>
Date:   Fri Jun 24 10:21:33 2011 +0100

    Allow for resource relabelling with static labels
    
    Add a new attribute to the <seclabel> XML to allow resource
    relabelling to be enabled with static label usage.
    
      <seclabel model='selinux' type='static' relabel='yes'>
        <label>system_u:system_r:svirt_t:s0:c392,c662</label>
      </seclabel>


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