Bug 1436750 - 'ostree admin unlock' mounts an overlay with the incorrect SELinux label
Summary: 'ostree admin unlock' mounts an overlay with the incorrect SELinux label
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ostree
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1436751
TreeView+ depends on / blocked
 
Reported: 2017-03-28 14:38 UTC by Micah Abbott
Modified: 2017-06-09 19:01 UTC (History)
2 users (show)

Fixed In Version: ostree-2017.6-2.fc25 ostree-2017.6-2.fc26
Clone Of:
: 1436751 (view as bug list)
Environment:
Last Closed: 2017-05-19 23:04:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Micah Abbott 2017-03-28 14:38:56 UTC
Downstream version of this issue:

https://github.com/ostreedev/ostree/issues/762

ls -aldZ /usr
drwxr-xr-x. root root unconfined_u:object_r:tmp_t:s0   /usr

I think we need to get the label of /usr and then pass context=system_u:object_r:usr_t:s0 to mount().

Comment 1 Fedora Update System 2017-05-18 01:09:53 UTC
ostree-2017.6-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f78f83e0dc

Comment 2 Fedora Update System 2017-05-18 01:10:29 UTC
ostree-2017.6-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bf36a5ebd6

Comment 3 Fedora Update System 2017-05-18 19:04:13 UTC
ostree-2017.6-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f78f83e0dc

Comment 4 Fedora Update System 2017-05-18 23:35:33 UTC
ostree-2017.6-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bf36a5ebd6

Comment 5 Fedora Update System 2017-05-19 23:04:14 UTC
ostree-2017.6-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-06-09 19:01:00 UTC
ostree-2017.6-2.fc26 has been pushed to the Fedora 26 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.