Bug 833871
Summary: | Disk mounted via nautilus got all labels screwed up. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Simo Sorce <ssorce> |
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | davidz, dwalsh, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-20 15:17:26 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
Simo Sorce
2012-06-20 13:53:32 UTC
Additional note. This bug may have been triggered by a yum update that upgraded the selinux policy and relataed packages at the same time the disk was mounted. So it may 'just' be an rpm upgrade bug, still shouldn't happen, as people may have automatic updates enabled and be working with mounted disks at the same time. Looks like /run/media should be excluded from relabeling unless explicitly asked for by the admin. Fixed in selinux-policy-3.10.0-133.fc17 We had proper labeling of /media but when it moved to /run/media we did not change the labels, With the label change it should block a relabel of content under /run/media. What happens if I mount at disk at /Stuff (via /etc/fstab). Will that get relabeled too? If you mount a disk at a random location it and tell the system to fix labels it will change the labels. We do keep /mnt, /media and /tmp from doing this. /Stuff and its children would change to default_t. You can mount a directory with a context mount and this will prevent this from happening. A random directory in / is unlikely to get relabeled by the update process, but if you did a touch /.autorelabel or restorecon -R -v / It will get relabeled. policycoreutils-2.1.12-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/policycoreutils-2.1.12-4.fc17 Package policycoreutils-2.1.12-4.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.12-4.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16848/policycoreutils-2.1.12-4.fc17 then log in and leave karma (feedback). Package policycoreutils-2.1.12-5.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.12-5.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16848/policycoreutils-2.1.12-5.fc17 then log in and leave karma (feedback). policycoreutils-2.1.12-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |