Description of problem: The matchpathcon utility has problems when checking files in /tmp directory. Maybe a problem with filesystem in /tmp. Version-Release number of selected component (if applicable): libselinux-1.33.4-5.1.el5 How reproducible: always Steps to Reproduce: # touch /tmp/something.txt # ls -l /tmp/something.txt -rw-r--r-- 1 root root 0 Oct 7 04:37 /tmp/something.txt # matchpathcon /tmp/something.txt matchpathcon(/tmp/something.txt) failed: No such file or directory # matchpathcon -V /tmp/something.txt matchpathcon(/tmp/something.txt) failed: No such file or directory /tmp/something.txt has context root:object_r:tmp_t, should be # Actual results: Even if the file exists the utility shows "no such file or directory" message. Expected results: The utility should show the file context. Additional info:
Fixed in libselinux-1.33.4-5.5
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-2009-1241.html