Bug 1087698 - iscsi denials preventing baremetal instances to boot on virt-builder built images
Summary: iscsi denials preventing baremetal instances to boot on virt-builder built im...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-15 06:01 UTC by Richard Su
Modified: 2014-05-01 22:29 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.12.1-158.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-01 22:29:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
audit.log from undercloud instance (698.78 KB, text/x-log)
2014-04-15 06:31 UTC, Richard Su
no flags Details
custom policy to allow baremetal instances to boot (796 bytes, application/x-compressed-tar)
2014-04-15 06:33 UTC, Richard Su
no flags Details

Description Richard Su 2014-04-15 06:01:47 UTC
Description of problem:
When the instack undercloud cloud is built using virt-builder, baremetal instances do not boot up properly because of iscsi avc denials

When the instack undercloud cloud is built using a Fedora 20 live cd, iscsi avc denials do not occur.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.12.1-153.fc20.noarch
selinux-policy-3.12.1-153.fc20.noarch

How reproducible:
always

Steps to Reproduce:
Build and deploy instack undercloud using this guide https://github.com/agroup/instack-undercloud/blob/master/README-virt.md
Choose package install.

Actual results:
baremetal instances do not boot up. avc denials attached.

Expected results:
baremetal instances should boot with no avc denials.

Additional info:
Attached audit.log and custom policies to work around the issue.

Comment 1 Richard Su 2014-04-15 06:31:43 UTC
Created attachment 886356 [details]
audit.log from undercloud instance

Comment 2 Richard Su 2014-04-15 06:33:52 UTC
Created attachment 886357 [details]
custom policy to allow baremetal instances to boot

Comment 3 Miroslav Grepl 2014-04-15 07:03:16 UTC
commit 614675e48460790b2c20a6566062ab1926678a9a
Author: Miroslav Grepl <mgrepl>
Date:   Tue Apr 15 09:03:01 2014 +0200

    Allow iscsid to handle own unit files

commit ab64b4c70bbac155d47323d6a4469be3590468b1
Author: Miroslav Grepl <mgrepl>
Date:   Tue Apr 15 09:01:41 2014 +0200

    Add iscsi_systemctl()

Comment 4 Fedora Update System 2014-04-25 12:43:34 UTC
selinux-policy-3.12.1-158.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-158.fc20

Comment 5 Fedora Update System 2014-04-26 09:24:13 UTC
Package selinux-policy-3.12.1-158.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-158.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5660/selinux-policy-3.12.1-158.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-05-01 22:29:09 UTC
selinux-policy-3.12.1-158.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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