Bug 1071706 - docker's global requirements were not met: type/attribute unconfined_t
Summary: docker's global requirements were not met: type/attribute unconfined_t
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-03 01:45 UTC by d. johnson
Modified: 2014-03-21 09:26 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.12.1-135.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-21 09:26:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description d. johnson 2014-03-03 01:45:06 UTC
Description of problem:

The Docker module requires unconfined_t.

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

selinux-policy-targeted-3.12.1-122.fc20.noarch
selinux-policy-targeted-3.12.1-127.fc20.noarch

How reproducible:

100%

Steps to Reproduce:
1. semanage module -d unconfined
2. semanage module -d unconfineduser
3. semanage port -a -t ssh_port_t -p tcp 8222

Actual results:

# semanage port -a -t ssh_port_t -p tcp 8222
libsepol.print_missing_requirements: docker's global requirements were not met: type/attribute unconfined_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
ValueError: Could not commit semanage transaction

Expected results:

Should work without error.

Additional info:

semanage -o /tmp/policy.txt includes these:

login -a -s staff_u -r 's0-s0:c0.c1023' %wheel
login -a -s user_u -r 's0' __default__
login -a -s sysadm_u -r 's0-s0:c0.c1023' root
login -a -s system_u -r 's0-s0:c0.c1023' system_u
login -a -s xguest_u -r 's0' xguest
user -a -L s0 -r s0 -R 'xguest_r' xguest_u
module -d unconfined
module -d unconfineduser

Comment 1 Miroslav Grepl 2014-03-03 08:42:02 UTC
commit 1696dec874424ffcf89dc895a4025d1acf25027b
Author: Miroslav Grepl <mgrepl>
Date:   Mon Mar 3 09:41:44 2014 +0100

    Make docker_transition_unconfined as optional boolean

Comment 2 Fedora Update System 2014-03-12 07:20:51 UTC
selinux-policy-3.12.1-135.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-135.fc20

Comment 3 Fedora Update System 2014-03-13 05:11:47 UTC
Package selinux-policy-3.12.1-135.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-135.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3813/selinux-policy-3.12.1-135.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-03-21 09:26:23 UTC
selinux-policy-3.12.1-135.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.