Bug 1260835
Summary: | cimserver is blocked by SELinux | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Shanzhi Yu <shyu> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | dyuan, gklein, lvrabec, mgrepl, mmalik, mzhan, plautrba, pvrabec, ssekidde |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.13.1-81.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 02:22:03 UTC | Type: | Bug |
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: | 1152104 |
Description
Shanzhi Yu
2015-09-08 02:24:52 UTC
# yum -y -q install selinux-policy-devel # cat bz1260835.te module bz1260835 1.0; require { type pegasus_t; type qemu_exec_t; class file getattr; } allow pegasus_t qemu_exec_t:file getattr; # make -f /usr/share/selinux/devel/Makefile Compiling targeted bz1260835 module /usr/bin/checkmodule: loading policy configuration from tmp/bz1260835.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/bz1260835.mod Creating targeted bz1260835.pp policy package rm tmp/bz1260835.mod.fc tmp/bz1260835.mod # semodule -i bz1260835.pp # Does it work in enforcing mode now? Are there any other AVCs? Hi Milos, Seem it work for me. # getenforce Enforcing # CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests libvirt-cim -v KVM localhost -g ComputerSystem -t 03_defineVS.py Starting test suite: libvirt-cim Testing KVM hypervisor -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- Could we get AVC from permissive mode? Thank you. 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://rhn.redhat.com/errata/RHBA-2016-2283.html |