From patchwork Thu Jun 25 15:16:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Dickson X-Patchwork-Id: 6675981 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 04FF5C05AC for ; Thu, 25 Jun 2015 15:16:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3145220623 for ; Thu, 25 Jun 2015 15:16:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99BF1206DB for ; Thu, 25 Jun 2015 15:16:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751717AbbFYPQZ (ORCPT ); Thu, 25 Jun 2015 11:16:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40599 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbbFYPQY (ORCPT ); Thu, 25 Jun 2015 11:16:24 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 5558C37C385 for ; Thu, 25 Jun 2015 15:16:24 +0000 (UTC) Received: from smallhat.boston.devel.redhat.com (vpn-56-13.rdu2.redhat.com [10.10.56.13]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5PFGNsD010112 for ; Thu, 25 Jun 2015 11:16:23 -0400 From: Steve Dickson To: Linux NFS Mailing list Subject: [PATCH] nfs-server: Use rpcbind.service instead of rpbind.target Date: Thu, 25 Jun 2015 11:16:21 -0400 Message-Id: <1435245381-25085-1-git-send-email-steved@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP To trigger the systemd socket activation support in rpcbind, nfs-service needs to Requires/After rpcbind.service instead of rpbind.target Signed-off-by: Steve Dickson --- systemd/nfs-server.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service index db801cb..12b02f2 100644 --- a/systemd/nfs-server.service +++ b/systemd/nfs-server.service @@ -1,13 +1,13 @@ [Unit] Description=NFS server and services DefaultDependencies=no -Requires= network.target proc-fs-nfsd.mount rpcbind.target +Requires= network.target proc-fs-nfsd.mount rpcbind.service Requires= nfs-mountd.service Wants=rpc-statd.service nfs-idmapd.service Wants=rpc-statd-notify.service After= local-fs.target -After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service +After= network.target proc-fs-nfsd.mount rpcbind.service nfs-mountd.service After= nfs-idmapd.service rpc-statd.service Before= rpc-statd-notify.service