From a45221f297b27d666f35bd65065f7d6baed5ac24 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 26 Aug 2009 19:09:44 +0000 Subject: [PATCH] * Wed Aug 26 2009 Dan Walsh 2.0.71-11 - Add sandboxX --- policycoreutils.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/policycoreutils.spec b/policycoreutils.spec index 0369b61..08ddfbb 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -146,6 +146,7 @@ Group: System Environment/Base Requires: policycoreutils-python = %{version}-%{release} Requires: xorg-x11-server-Xephyr Requires: matchbox-window-manager +Requires(post): /sbin/chkconfig %description sandbox The policycoreutils-python package contains the scripts to create graphical sandboxes @@ -160,6 +161,15 @@ The policycoreutils-python package contains the scripts to create graphical sand [ -f /usr/share/selinux/devel/include/build.conf ] && /usr/bin/sepolgen-ifgen exit 0 +%post sandbox +if [ $1 -eq 1 ]; then + /sbin/chkconfig sanbox --add +fi +%preun sandbox +if [ $1 -eq 0 ]; then + /sbin/chkconfig sanbox --del +fi + %package newrole Summary: The newrole application for RBAC/MLS Group: System Environment/Base