Description of problem: xm_t is not able to search dirs with autofs_t. This prevents virtual machines from being stored on an automounted filesystem. Can you add the following to the policy? fs_search_auto_mountpoints(xm_t) Version-Release number of selected component (if applicable): selinux-policy-2.4.6-279.el5 How reproducible: Steps to Reproduce: 1. coming soon 2. 3. Actual results: Expected results: Additional info: This custom module is a current workaround: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ module mysemanage 1.0.1; require { type xm_t; type autofs_t; type file_t; class dir search; } #============= xm_t ============== allow xm_t autofs_t:dir search; allow xm_t file_t:dir search; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Added to selinux-policy-2.4.6-281.el5.noarch
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, the "xm_t" domain was not allowed to search directories with the "autofs_t" security context. Consequent to this, virtual machines could not be stored on automatically mounted file systems. With this update, the SELinux rules have been adjusted to permit such search, so that the virtual machines can now be stored on an automatically mounted file system as expected.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0026.html