diff --git a/filesystem.spec b/filesystem.spec index d334928..d07279f 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -1,7 +1,7 @@ Summary: The basic directory layout for a Linux system Name: filesystem Version: 3.2 -Release: 24%{?dist} +Release: 25%{?dist} License: Public Domain URL: https://fedorahosted.org/filesystem Group: System Environment/Base @@ -139,6 +139,16 @@ posix.symlink("../run", "/var/run") posix.symlink("../run/lock", "/var/lock") return 0 +%posttrans +#we need to restorecon on some dirs created in %pretrans or by other packages +restorecon /var/run 2>/dev/null >/dev/null || : +restorecon /var/lock 2>/dev/null >/dev/null || : +restorecon -r /usr/lib/debug/ 2>/dev/null >/dev/null || : +restorecon /sys 2>/dev/null >/dev/null || : +restorecon /boot 2>dev/null >/dev/null || : +restorecon /proc 2>dev/null >/dev/null || : +restorecon /dev 2>dev/null >/dev/null || : + %files -f filelist %defattr(0755,root,root,-) %dir %attr(555,root,root) / @@ -245,6 +255,10 @@ return 0 /var/yp %changelog +* Thu Mar 13 2014 Ondrej Vasik - 3.2-25 +- /var/run has incorrect selinux context after installation + to disk image (#1034922) + * Fri Jan 10 2014 Ondrej Vasik - 3.2-24 - refresh the list of lang-exceptions from rawhide repo