Just brought up a rawhide machine and wanted to try out the new file context equivalency functionality. Unfortunately it repeatably backtraces: # semanage fcontext -a -e /var/lib/mysql /local/mysql/db Traceback (most recent call last): File "/usr/sbin/semanage", line 513, in <module> process_args(sys.argv[1:]) File "/usr/sbin/semanage", line 404, in process_args OBJECT.add_equil(target, equil) File "/usr/lib64/python2.6/site-packages/seobject.py", line 1485, in add_equil self.commit() File "/usr/lib64/python2.6/site-packages/seobject.py", line 1474, in commit os.chmod(tmpfile, os.stat(subs_file)[stat.ST_MODE]) OSError: [Errno 2] No such file or directory: '/etc/selinux/targeted/contexts/files/file_contexts.subs' Indeed, that file doesn't exist, though files_contexts.subs.tmp does exist. It contains one line: /local/mysql/db /var/lib/mysql policycoreutils-2.0.62-12.2.fc11.x86_64 is installed; everything's up to date with what's in rawhide and F11 updates.
Please try policycoreutils-2.0.62-12.4.fc11.x86_64 in updates-testing or policycoreutils-2.0.62-12.5.fc11.x86_64 in koji. If these work for you I will ask to have them pushed into the final release.
I can verify that 2.0.62-12.5.fc11.x86_64 from updates-testing solves the problem.
I have asked to have this pushed into the current release.