summaryrefslogtreecommitdiffstats
path: root/ipapython/platform/fedora16/selinux.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython/platform/fedora16/selinux.py')
-rw-r--r--ipapython/platform/fedora16/selinux.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipapython/platform/fedora16/selinux.py b/ipapython/platform/fedora16/selinux.py
index cf71a38e4..4ecafdc5e 100644
--- a/ipapython/platform/fedora16/selinux.py
+++ b/ipapython/platform/fedora16/selinux.py
@@ -1,4 +1,5 @@
# Author: Alexander Bokovoy <abokovoy@redhat.com>
+from ipaplatform.paths import paths
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
@@ -19,8 +20,8 @@
from ipapython.platform import redhat
-def restore_context(filepath, restorecon='/usr/sbin/restorecon'):
+def restore_context(filepath, restorecon=paths.RESTORECON):
return redhat.restore_context(filepath, restorecon)
-def check_selinux_status(restorecon='/usr/sbin/restorecon'):
+def check_selinux_status(restorecon=paths.RESTORECON):
return redhat.check_selinux_status(restorecon)