Bug 1158248 - RFE: mqueue file system does not accept SELinux context=<label> mount options.
Summary: RFE: mqueue file system does not accept SELinux context=<label> mount options.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Mosnacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 23:59 UTC by Daniel Walsh
Modified: 2019-01-17 13:54 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Walsh 2014-10-28 23:59:14 UTC
Description of problem:

/dev/mqueue is a tmpfs file system, and it supports labeling, we want to label it within a docker container with the context="system_u:object_r:svirt_sandbox_file_t:s0" option

Comment 1 Daniel Walsh 2014-10-29 00:00:50 UTC
mount -t mqueue mqueue -o context="system_u:object_r:etc_t:s0" /dev/mqueue
mount: wrong fs type, bad option, bad superblock on mqueue,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

[180131.324270] SELinux: mount invalid.  Same superblock, different security settings for (dev mqueue, type mqueue)

Comment 2 Jaroslav Reznik 2015-03-03 16:26:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Justin M. Forbes 2015-10-20 19:35:20 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 22 kernel bugs.

Fedora 22 has now been rebased to 4.2.3-200.fc22.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 23, and are still experiencing this issue, please change the version to Fedora 23.

If you experience different issues, please open a new bug report for those.

Comment 4 Paul Moore 2015-10-20 21:39:17 UTC
Moving to Rawhide to avoid Fedora MASS BUG UPDATEs.


Note You need to log in before you can comment on or make changes to this bug.