RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1378235 - SELinux denies the start of a virtual machine called "power"
Summary: SELinux denies the start of a virtual machine called "power"
Keywords:
Status: CLOSED DUPLICATE of bug 1375462
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-21 21:31 UTC by Robert Locke
Modified: 2016-11-10 10:16 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-22 11:21:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robert Locke 2016-09-21 21:31:20 UTC
Description of problem:
Unable to start a virtual machine named "power"

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

How reproducible:
every time

Steps to Reproduce:
1. virsh start power

Actual results:
SELinux denial

Two curiosities:
1) The file /run/systemd/system/machine-qemu...power.scope has a context of power_unit_file_t rather than systemd_unit_file_t - this was also true in 7.2.
2) In 7.2 the virtual machine started just fine.
3) In 7.3 the virtual machine fails to start.

Expected results:
Virtual machine starts

Additional info:
type=USER_AVC msg=audit(1474491931.610:376): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { start } for auid=n/a uid=0 gid=0 path="/run/systemd/system/machine-qemu\x2d3\x2dpower.scope" cmdline="/usr/lib/systemd/systemd-machined" scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:object_r:power_unit_file_t:s0 tclass=service  exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1474491931.612:377): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { status } for auid=n/a uid=0 gid=0 path="/run/systemd/system/machine-qemu\x2d3\x2dpower.scope" cmdline="/usr/lib/systemd/systemd-machined" scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:object_r:power_unit_file_t:s0 tclass=service  exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'

Comment 2 Michal Sekletar 2016-09-22 07:50:54 UTC
This looks like the selinux-policy problem.

Comment 3 Milos Malik 2016-09-22 08:23:33 UTC
I believe this bug is a duplicate of BZ#1375462.

Comment 4 Lukas Vrabec 2016-09-22 11:21:18 UTC
Agree with Milos. Closing this issue.

*** This bug has been marked as a duplicate of bug 1375462 ***


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