Remove shutdown policy. Shutdown is now a symlink to systemctl.
This commit is contained in:
parent
c1f199109a
commit
3460d4cd12
@ -1300,13 +1300,6 @@ setroubleshoot = module
|
||||
#
|
||||
shorewall = module
|
||||
|
||||
# Layer: admin
|
||||
# Module: shutdown
|
||||
#
|
||||
# Policy for shutdown
|
||||
#
|
||||
shutdown = module
|
||||
|
||||
# Layer: apps
|
||||
# Module: slocate
|
||||
#
|
||||
|
@ -1775,13 +1775,6 @@ sge = module
|
||||
#
|
||||
shorewall = module
|
||||
|
||||
# Layer: admin
|
||||
# Module: shutdown
|
||||
#
|
||||
# Policy for shutdown
|
||||
#
|
||||
shutdown = module
|
||||
|
||||
# Layer: apps
|
||||
# Module: slocate
|
||||
#
|
||||
|
@ -252,7 +252,7 @@ fi;
|
||||
. %{_sysconfdir}/selinux/config; \
|
||||
if [ -e /etc/selinux/%2/.rebuild ]; then \
|
||||
rm /etc/selinux/%2/.rebuild; \
|
||||
(cd /etc/selinux/%2/modules/active/modules; rm -f amavis.pp clamav.pp gnomeclock.pp matahari.pp xfs.pp kudzu.pp kerneloops.pp execmem.pp openoffice.pp ada.pp tzdata.pp hal.pp hotplug.pp howl.pp java.pp mono.pp moilscanner.pp gamin.pp audio_entropy.pp audioentropy.pp iscsid.pp polkit_auth.pp polkit.pp rtkit_daemon.pp ModemManager.pp telepathysofiasip.pp ethereal.pp passanger.pp qpidd.pp pyzor.pp razor.pp pki-selinux.pp phpfpm.pp consoletype.pp ctdbd.pp fcoemon.pp isnsd.pp l2tp.pp ) \
|
||||
(cd /etc/selinux/%2/modules/active/modules; rm -f shutdown.pp amavis.pp clamav.pp gnomeclock.pp matahari.pp xfs.pp kudzu.pp kerneloops.pp execmem.pp openoffice.pp ada.pp tzdata.pp hal.pp hotplug.pp howl.pp java.pp mono.pp moilscanner.pp gamin.pp audio_entropy.pp audioentropy.pp iscsid.pp polkit_auth.pp polkit.pp rtkit_daemon.pp ModemManager.pp telepathysofiasip.pp ethereal.pp passanger.pp qpidd.pp pyzor.pp razor.pp pki-selinux.pp phpfpm.pp consoletype.pp ctdbd.pp fcoemon.pp isnsd.pp l2tp.pp ) \
|
||||
/usr/sbin/semodule -B -n -s %2; \
|
||||
else \
|
||||
touch /etc/selinux/%2/modules/active/modules/sandbox.disabled \
|
||||
|
Loading…
Reference in New Issue
Block a user