Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2223710yba; Fri, 10 May 2019 08:08:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS4jJyZOvfuv18FovobrelX7+tCC1+HgEfbfWU/rZgN0mJK4x60K/XjzVt2sFgkBAI2B7m X-Received: by 2002:aa7:8252:: with SMTP id e18mr14733215pfn.105.1557500911595; Fri, 10 May 2019 08:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557500911; cv=none; d=google.com; s=arc-20160816; b=JABDz5JYx5WlFyS03wMG71L6eUkdugaydQdagUTzzbFLEkrLw6NA3gTx58mSfW9O3k nCjY6J3gE+KK3DgJstHzK0u8ImICsDRJyEeVRfkVwegKRtK1yeu2IefnkEw6UMAqHZYy jJxy8yWyS39QYB8HEQFEYYDDYUg7qr8cqMkiy0wRL7Y4kzvLj9YP/nmVdL1T8j/kKpDg 82c7LtDYd318ZlZ9cGPX4c3FcExFyMZHUtzZujds0XlqcQJLkQiQGV6sHts7DoHR84SX sJDCa9Jo78eR8ie0uiKK3HQqkFgy/+nmINj02UNK9LyAX2lveqQSi0QODE0HydDrVh4X Ev+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:to:from:subject; bh=A5Zbid+Aq8Xm4lyyKv8Yya9h3U34dL/jeBWaS9NKGD8=; b=ICv6OTe0jGXcSlXYJjR2lVfEiZde2xcPggpgWYDomx/x2KRPnrmOleyex8lkOvznHH ghFbcmGNaaevgPc6pPCLuYrXTuVRjX9QDQzSSWcfz+6eaA3lC3y24RroFMFyjww+CO2q kTiaOD+V7PFAB4lG5nqsONB6NljdNx0GtrBcVkSJM4VH+5kMJZHW+6K44h6st/9SGJsv QD+ZTuI+zW5MLQKVt0CMW0fTX2Uyuo7dMXBVg0QI6dHNXv5k7JVxI21vRU1wAWBJMNPa PXaj/G1FE9lQHnDiBeJGarcgz8rqhacuRAVLz0paHecCeP7QvSfbeORTNFBpv/6ELxvn 8WgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k2si7560453pfo.198.2019.05.10.08.07.40; Fri, 10 May 2019 08:08:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727453AbfEJPHV (ORCPT + 99 others); Fri, 10 May 2019 11:07:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35424 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727346AbfEJPHU (ORCPT ); Fri, 10 May 2019 11:07:20 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7E52C307D852; Fri, 10 May 2019 15:07:20 +0000 (UTC) Received: from madhat.boston.devel.redhat.com (madhat.boston.devel.redhat.com [10.19.60.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3021461983; Fri, 10 May 2019 15:07:20 +0000 (UTC) Subject: Re: [PATCH] nfs-utils: Change /var/run -> /run in systemd service files From: Steve Dickson To: Orion Poplawski , "linux-nfs@vger.kernel.org" References: <6a9ffa7d-f711-026f-d9f7-a680a86c553a@nwra.com> <29ea93aa-9f20-9d09-c135-99f5976704db@RedHat.com> Message-ID: <6e64dc54-b230-b513-c3cd-06ec8710d5d5@RedHat.com> Date: Fri, 10 May 2019 11:07:19 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Fri, 10 May 2019 15:07:20 +0000 (UTC) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 5/9/19 1:25 PM, Steve Dickson wrote: > > > On 5/8/19 12:02 PM, Orion Poplawski wrote: >> On 5/8/19 9:54 AM, Steve Dickson wrote: >>> >>> >>> On 5/8/19 10:58 AM, Orion Poplawski wrote: >>>> This fixes: >>>> >>>> /usr/lib/systemd/system/nfs-blkmap.service:10: PIDFile= references path below >>>> legacy directory /var/run/, updating /var/run/blkmapd.pid → /run/blkmapd.pid; >>>> please update the unit file accordingly. >>> Shouldn't the apps also be updated? I know there is a symbolic >>> link... but just for completeness the pid files in both apps >>> should be updated as well. >>> >>> steved. >> >> I thought about that - but was concerned about legacy systems that still use >> /var/run. > Any idea how long the symlink will be around? But I do see your point. > > steved. > >> >>>> >>>> Signed-off-by: Orion Poplawski >>>> --- >>>> systemd/nfs-blkmap.service | 2 +- >>>> systemd/rpc-statd.service | 2 +- >>>> 2 files changed, 2 insertions(+), 2 deletions(-) Committed.... steved. >>>> >>>> diff --git a/systemd/nfs-blkmap.service b/systemd/nfs-blkmap.service >>>> index 2bbcee6..6aa45ba 100644 >>>> --- a/systemd/nfs-blkmap.service >>>> +++ b/systemd/nfs-blkmap.service >>>> @@ -9,7 +9,7 @@ PartOf=nfs-utils.service >>>> >>>> [Service] >>>> Type=forking >>>> -PIDFile=/var/run/blkmapd.pid >>>> +PIDFile=/run/blkmapd.pid >>>> ExecStart=/usr/sbin/blkmapd >>>> >>>> [Install] >>>> diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service >>>> index 3e92cf7..095629f 100644 >>>> --- a/systemd/rpc-statd.service >>>> +++ b/systemd/rpc-statd.service >>>> @@ -13,5 +13,5 @@ IgnoreOnIsolate=yes >>>> [Service] >>>> Environment=RPC_STATD_NO_NOTIFY=1 >>>> Type=forking >>>> -PIDFile=/var/run/rpc.statd.pid >>>> +PIDFile=/run/rpc.statd.pid >>>> ExecStart=/usr/sbin/rpc.statd >>>> -- >>>> 1.8.3.1 >>>> >> >>