From 900e37a07e9b1e9d230579e32002a768c2b0ea38 Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Tue, 2 Feb 2016 11:02:20 +0800 Subject: [PATCH] - fix systemd unit dependencies and update portmap to rpcbind in Requires. --- am-utils.spec | 8 ++++++-- amd.service | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/am-utils.spec b/am-utils.spec index ae0b566..0e9768c 100644 --- a/am-utils.spec +++ b/am-utils.spec @@ -2,7 +2,7 @@ Summary: Automount utilities including an updated version of Amd Name: am-utils Version: 6.2.0 %define upstream_version 6.2 -Release: 6%{?dist} +Release: 8%{?dist} License: BSD Epoch: 5 Group: System Environment/Daemons @@ -28,7 +28,7 @@ BuildRequires: texinfo BuildRequires: gcc BuildRequires: m4 -Requires: portmap +Requires: rpcbind Requires: grep Requires: gawk Requires: findutils @@ -190,6 +190,10 @@ fi %{_libdir}/libamu.so* %changelog +* Tue Feb 2 2016 Ian Kent - 5:6.2.0-8 +- fix systemd unit dependencies. +- Update Requires: portmap to Requires: rpcbind. + * Tue Feb 2 2016 Ian Kent - 5:6.2.0-6 - fix permissions on amd.service and amd.conf. diff --git a/amd.service b/amd.service index b078c9e..0ca9365 100644 --- a/amd.service +++ b/amd.service @@ -1,6 +1,7 @@ [Unit] Description=automount daemon that mounts devices and NFS hosts on demand -After=syslog.target network.target +After=syslog.target network.target network-online.target rpcbind.service +Wants=network-online.target rpcbind.service [Service] EnvironmentFile=-/etc/sysconfig/amd