Sepolixy should not throw an exception on an SELinux disabled machine

- Switch from using console app to using pkexec, so we will work better
with policykit.
- Add missing import to fix system-config-selinux startup
- Add comment to pamd files about pam_rootok.so
- Fix sepolicy generate to not comment out the first line
This commit is contained in:
Dan Walsh 2013-02-21 20:06:41 +01:00
parent 92a9b8454b
commit 8779e924e9

View File

@ -256,6 +256,7 @@ rm -rf %{buildroot}
%{_bindir}/semodule_package
%{_bindir}/semodule_unpackage
%config(noreplace) %{_sysconfdir}/sestatus.conf
%config(noreplace) %{_sysconfdir}/pam.d/newrole
# selinux-policy Requires: policycoreutils, so we own this set of directories and our files within them
%{_mandir}/man5/selinux_config.5.gz
%{_mandir}/man5/sestatus.conf.5.gz