Lustre mount with SELinux in enforcing causes avc denial messages

Solution Verified - Updated -

Issue

  • With SELinux in enforcing mode, lustre filesystems are mounted and labelled as below.

            system_u:object_r:unlabeled_t
    
  • This causes various access denied errors, such as,

    avc:  denied  { associate } for  pid=7360 comm="touch" name="xxxx" scontext=user_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem
    

Environment

  • Red Hat Enterprise Linux 5

  • selinux-policy-targeted-2.4.6-137.1.el5

  • selinux-policy-2.4.6-137.1.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.