diff --git a/ypbind.service b/ypbind.service index 40cd3af..1cb8a00 100644 --- a/ypbind.service +++ b/ypbind.service @@ -5,7 +5,8 @@ After=syslog.target network.target rpcbind.service [Service] EnvironmentFile=-/etc/sysconfig/network EnvironmentFile=-/etc/sysconfig/ypbind -ExecStartPre=/usr/lib/ypbind/ypbind-pre-setdomain ; /usr/sbin/setsebool allow_ypbind=1 +ExecStartPre=-/usr/lib/ypbind/ypbind-pre-setdomain +ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1 ExecStart=/usr/sbin/ypbind -f $OTHER_YPBIND_OPTS ExecStopPost=/usr/sbin/setsebool allow_ypbind=0 ; /usr/lib/ypbind/ypbind-post-waitbind diff --git a/ypbind.spec b/ypbind.spec index af11896..802588d 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: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: System Environment/Daemons Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2 @@ -107,6 +107,9 @@ fi %doc README NEWS COPYING %changelog +* Tue Jun 07 2011 Honza Horak - 3:1.33-3 +- Fixed ypbind.service when selinux is disabled + * Wed May 10 2011 Honza Horak - 3:1.33-2 - Added /etc/sysconfig/network to systemd service file