[ypbind] Don't turn off allow_ypbind SELinux boolean Resolves: #741141

Jan Horak hhorak at fedoraproject.org
Mon Sep 26 10:44:59 UTC 2011


commit e1739f9a434e754769395754bdd895e0bc5d4216
Author: Honza Horák <hhorak at redhat.com>
Date:   Mon Sep 26 12:44:23 2011 +0200

    Don't turn off allow_ypbind SELinux boolean
    Resolves: #741141

 ypbind.service |    1 -
 ypbind.spec    |    6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ypbind.service b/ypbind.service
index 91cce5c..5e2dd08 100644
--- a/ypbind.service
+++ b/ypbind.service
@@ -9,7 +9,6 @@ EnvironmentFile=-/etc/sysconfig/ypbind
 ExecStartPre=/usr/lib/ypbind/ypbind-pre-setdomain
 ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1 
 ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
-ExecStartPost=-/usr/sbin/setsebool allow_ypbind=0
 ExecStartPost=/usr/lib/ypbind/ypbind-post-waitbind
 
 [Install]
diff --git a/ypbind.spec b/ypbind.spec
index 6bc1b31..165a084 100644
--- a/ypbind.spec
+++ b/ypbind.spec
@@ -1,7 +1,7 @@
 Summary: The NIS daemon which binds NIS clients to an NIS domain
 Name: ypbind
 Version: 1.33
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
@@ -117,6 +117,10 @@ fi
 %doc README NEWS COPYING
 
 %changelog
+* Mon Sep 26 2011 Honza Horak <hhorak at redhat.com> - 3:1.33-7
+- Don't turn off allow_ypbind SELinux boolean
+  Resolves: #741141
+
 * Thu Sep 15 2011 Honza Horak <hhorak at redhat.com> - 3:1.33-6
 - Fixed systemd unit file
 - Log messages when starting ypbind service made more verbose


More information about the scm-commits mailing list