How can I configure SELinux to permit Apache to serve the contents of a loopback-mounted ISO image?

Updated -

By default, the contents of a loopback-mounted ISO has the SELinux security context of system_u:object_r:iso9660_t. This prevents applications like Apache from serving the ISO's contents because the Apache policy expects a security context of system_u:object_r:httpd_sys_content_t.

Since the loopback-mounted ISO is mounted read only, you are not allowed to run c...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content