Description of problem: In 'Fedora release 18 (Spherical Cow)'; Upgradation of rpm package selinux-policy-targeted to rpm version 3.11.1-67.fc18.noarch gives the following output " selinux-policy-targeted-3.11.1-67.fc18.noarch *********************** restorecon: lstat(/home/*/.cache) failed: No such file or directory restorecon: lstat(/home/*/.config) failed: No such file or directory " ls -al /home/ total 8 drwxr-xr-x. 2 root root 4096 Jul 19 2012 . dr-xr-xr-x. 18 root root 4096 Jan 22 11:25 .. Version-Release number of selected component (if applicable): 3.11.1-67.fc18.noarch How reproducible: In fresh,minimal installation of 'Fedora release 18 (Spherical Cow)'; upgrade the selinux-policy-targeted rpm. Steps to Reproduce: 1.drf upgrade selinux-policy-targeted Actual results: restorecon: lstat(/home/*/.cache) failed: No such file or directory restorecon: lstat(/home/*/.config) failed: No such file or directory Expected results: restorecon should not access non-existent files. Hence; no such failed message will appear during upgradation. Additional info: Only root user exists on this freshly installed minimal installation of 'Fedora release 18 (Spherical Cow)' sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 28
Basically this is not a fail. It is a correct output of restorecon on non-existing dirs. I am fixing the spec file to hide it.
selinux-policy-3.11.1-74.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-74.fc18
Package selinux-policy-3.11.1-74.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-74.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1693/selinux-policy-3.11.1-74.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-74.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.