Red Hat Bugzilla – Bug 130421
should run "restorecon $FONT_UNIX_DIR" for SE Linux
Last modified: 2007-11-30 17:10:47 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)
Description of problem:
After creating $FONT_UNIX_DIR the start script should run:
text -s /sbin/restorecon && /sbin/restorecon $FONT_UNIX_DIR
This will set the SE Linux context of the new directory to the correct type.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Boot SE Linux and run "ls -ldZ /tmp/.font-unix", observe that the context is system_u:object_r:initrc_tmp_t not system_u:object_r:xfs_tmp_t .
Added to 6.8.0-5 in CVS, will appear in rawhide after FC3t2.
*** Bug 130969 has been marked as a duplicate of this bug. ***
I've updated the fix for this to move the call to restorecon down
after the chmod/chown as the patch in bug 130969 does, in case
chmod/chown cause problems after restorecon, just to be safe.
This new fix will be in 6.8.0-6