Bug 1178208
| Summary: | [f21] wrong selinux contexts after atomic upgrade | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dusty Mabe <dustymabe> |
| Component: | ostree | Assignee: | Colin Walters <walters> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | agrimm, jzb, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ostree-2014.13-2.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1164058 | Environment: | |
| Last Closed: | 2015-01-13 00:05:18 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: | |||
|
Description
Dusty Mabe
2015-01-02 21:30:29 UTC
Should be fixed by https://bugzilla.gnome.org/show_bug.cgi?id=742289 This regression has been sitting around a while. There were two factors conspiring to hide it: 1) Modern SELinux (RHEL7 era) supports kernel filename-based labeling defaults, so if e.g. you create "sysctl.conf" in a directory of type etc_t, it's labeled system_conf_t. So many of the labels were right due to that. 2) All of *my* Atomic usage is ssh pubkey based, I don't use passwords, so the permissions on /etc/shadow didn't matter. Building for rawhide in http://koji.fedoraproject.org/koji/taskinfo?taskID=8520347 I'd like to wait until the patch has review upstream before submitting to F21 updates. ostree-2014.13-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ostree-2014.13-2.fc21 I accidentally cloned 11178208 from 164058. This was a mistake. Package ostree-2014.13-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ostree-2014.13-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0285/ostree-2014.13-2.fc21 then log in and leave karma (feedback). ostree-2014.13-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. To correctly clean up from this issue: 1) "atomic upgrade" to the latest (2015-01-14 or newer) 2) reboot 3) restorecon -R -v /etc/ |