Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1538544 - Update selinux-policy for virt domains for container team
Update selinux-policy for virt domains for container team
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy (Show other bugs)
7.5
All Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Lukas Vrabec
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-25 04:24 EST by Daniel Walsh
Modified: 2018-04-10 08:50 EDT (History)
7 users (show)

See Also:
Fixed In Version: selinux-policy-3.13.1-188.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 08:49:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0763 None None None 2018-04-10 08:50 EDT

  None (edit)
Description Daniel Walsh 2018-01-25 04:24:54 EST
Currently we have to back port lots of changes to container-selinux for RHEL since the interfaces were updated in policy that has never made its way back into RHEL.  Container types are defined in virt.* policy.  They were defined with a bad name svirt_lxc_net_t and svirt_sandbox_file_t.  They were later updated to the much more understandable container_t and container_file_t.  Most documentation about SELinux in containers now refers to these new types, so it is confusing for users to have different types in RHEL/Centos then is in Fedora/Ubuntu ...

Updating the virt policy would have limited effect in that new fixes added to fedora would now be in effect for Virt bugs.
Comment 9 Daniel Walsh 2018-02-19 11:33:45 EST
This file should have been updated.
 cat /etc/selinux/targeted/contexts/lxc_contexts
process = "system_u:system_r:svirt_lxc_net_t:s0"
content = "system_u:object_r:virt_var_lib_t:s0"
file = "system_u:object_r:svirt_sandbox_file_t:s0"
sandbox_kvm_process = "system_u:system_r:svirt_qemu_net_t:s0"
sandbox_kvm_process = "system_u:system_r:svirt_qemu_net_t:s0"
sandbox_lxc_process = "system_u:system_r:svirt_lxc_net_t:s0"
Comment 12 errata-xmlrpc 2018-04-10 08:49:36 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0763

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