From 902433e573fda8a3c559057070f245cf12cdaf6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Hor=C3=A1k?= Date: Fri, 30 Nov 2012 13:12:00 +0100 Subject: [PATCH] Move rpc.yppasswdd.env into /usr/libexec --- yppasswdd.service | 2 +- ypserv.spec | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/yppasswdd.service b/yppasswdd.service index 69d4a68..fd86796 100644 --- a/yppasswdd.service +++ b/yppasswdd.service @@ -9,7 +9,7 @@ NotifyAccess=all EnvironmentFile=-/etc/sysconfig/network EnvironmentFile=-/etc/sysconfig/yppasswdd ExecStartPre=/usr/libexec/yppasswdd-pre-setdomain -ExecStart=/usr/sbin/rpc.yppasswdd.env +ExecStart=/usr/libexec/rpc.yppasswdd.env [Install] WantedBy=multi-user.target diff --git a/ypserv.spec b/ypserv.spec index 02db898..b99e76b 100644 --- a/ypserv.spec +++ b/ypserv.spec @@ -130,7 +130,7 @@ EOF # (ETCDIR, PASSWDFILE and SHADOWFILE). The script ensures, that the # rpc.yppasswdd arguments are not used when the appropriate environment # variables are empty. -install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}/rpc.yppasswdd.env +install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/rpc.yppasswdd.env %post %if 0%{?systemd_post:1} @@ -214,6 +214,7 @@ NOPUSH=true make -eC /var/yp >&2 || : %changelog * Fri Nov 30 2012 Honza Horak - 2.29-5 - Build daemons and yppush with full relro +- Move rpc.yppasswdd.env into /usr/libexec * Fri Nov 09 2012 Honza Horak - 2.29-4 - Add missing break in switch