Red Hat Bugzilla – Bug 1031046
Wrong selinux context on /mnt and /mnt/lost+found
Last modified: 2017-05-09 14:30:39 EDT
Description of problem:
On a fresh installed instance I perform restorecon command and it says that /mnt and /mnt/lost+found should have mnt_t instead of file_t label
restorecon reset /mnt context system_u:object_r:file_t:s0->system_u:object_r:mnt_t:s0
restorecon reset /mnt/lost+found context system_u:object_r:file_t:s0->system_u:object_r:mnt_t:s0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Launch instance
2. Add an ephemeral device
3. Wait until instance is created
4. Perform restorecon command on the instance
file_t label on /mnt and /mnt/lost+found
mnt_t label on /mnt and /mnt/lost+found
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
I'm not able to reproduce this on 6.9. It also looks like the default labeling has been updated to reflect mnt_t and lost_found_t as well.
drwx------. root root system_u:object_r:lost_found_t:s0 lost+found
drwxr-xr-x. root root system_u:object_r:mnt_t:s0 mnt
If there are still issues please feel free to reopen this bug.