From f5261c7ec6503eeda16f25f913ab3a722c9b42ab Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Wed, 10 Jun 2015 10:17:23 -0400 Subject: [PATCH] Make sure rpcbind.socket always gets enabled (bz 1214496) Signed-off-by: Steve Dickson --- rpcbind.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/rpcbind.spec b/rpcbind.spec index 58577ff..dd562ad 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,6 +1,6 @@ Name: rpcbind Version: 0.2.3 -Release: 0.0%{?dist} +Release: 0.1%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: BSD @@ -89,11 +89,7 @@ if [ -z "$rpcid" -o "$rpcid" != "32" ]; then fi %post -if [ $1 -eq 1 ] ; then - # Initial installation - /bin/systemctl enable rpcbind.socket -fi -%systemd_post rpcbind.service rpcbind.socket +/bin/systemctl enable rpcbind.socket >/dev/null 2>&1 || : %preun %systemd_preun rpcbind.service rpcbind.socket @@ -125,6 +121,9 @@ fi %{_unitdir}/rpcbind.socket %changelog +* Wed Jun 10 2015 Steve Dickson - 0.2.3-0.0 +- Make sure rpcbind.socket always gets enabled (bz 1214496) + * Tue Apr 28 2015 Steve Dickson - 0.2.3-0.0 - Updated to latest upstream release: 0.2.3 - Change RPCBDIR to be /tmp since that will exist after a