Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 188101 - Can't share a loopback mounted ISO
Can't share a loopback mounted ISO
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Russell Coker
Depends On:
  Show dependency treegraph
Reported: 2006-04-05 21:17 EDT by Chris Adams
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-21 14:02:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Adams 2006-04-05 21:17:30 EDT
I'm trying to loopback mount an ISO image and then share it via HTTP.  This
needs the public_content_t type, so I tried to mount like:

 mount -t iso9660 -o context=system_u:object_r:public_content_t,ro,loop

That gives me (from dmesg):

ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
SELinux: security_context_to_sid(system_u:object_r:public_content_t) failed for
(dev loop0, type iso9660) errno=-22

Am I doing something wrong or is this a bug?

I thought I'd try to learn about the new modular SELinux, but I couldn't figure
out how to build a module to do that.
Comment 1 Chris Adams 2006-04-21 14:02:00 EDT
This appears to be working after updating to kernel-2.6.16-1.2096_FC5.
Comment 2 Paul Howarth 2006-05-03 12:03:42 EDT
This might actually be a duplicate of Bug #186915.

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