From patchwork Fri Apr 25 03:05:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kinglong Mee X-Patchwork-Id: 4057461 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C2E0B9F1F4 for ; Fri, 25 Apr 2014 03:05:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7E6E20383 for ; Fri, 25 Apr 2014 03:05:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 119BB20382 for ; Fri, 25 Apr 2014 03:05:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750773AbaDYDF2 (ORCPT ); Thu, 24 Apr 2014 23:05:28 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:39724 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbaDYDF1 (ORCPT ); Thu, 24 Apr 2014 23:05:27 -0400 Received: by mail-pa0-f41.google.com with SMTP id fa1so2615807pad.14 for ; Thu, 24 Apr 2014 20:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Bpv1kHqm6qwmC8z+r7VbYB1kKQHEHNJwB6pXT9b+74k=; b=aw/X6l/ZIB3SsPYi9Oq3xRgHkIHI+u7YVYvonLEqtH1BenGi+FG3WQxy0DkXEI/qEt s6W+955eCOjmqS+vAhiPddl5tkmQLu9xPmkuYSlCziFGtHx2PZdD38NIaUcoj8NrkVSu LRTBeQzeAa5IXFpuq5K2zxcN+2JShYaCeawHYSNksL52rVgvlWrVVj7xQKAWtwE/2TLs +lZgmbtagBnVyrMIk8Um6rFWfxcaa9CHEMXwzuOcC2bCg+eGwkldEZsYG/tOmu6vSZ5/ WWuRHtoD4U2BrHOBEI8RbT2uW0L9P00yuRAomYt+0fQiTySo2myhgLqK63DS+qDMfrAQ kRKA== X-Received: by 10.66.227.193 with SMTP id sc1mr4584882pac.102.1398395126529; Thu, 24 Apr 2014 20:05:26 -0700 (PDT) Received: from [192.168.0.102] ([110.190.116.5]) by mx.google.com with ESMTPSA id el14sm29920876pac.31.2014.04.24.20.05.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 20:05:25 -0700 (PDT) Message-ID: <5359D0EE.7030408@gmail.com> Date: Fri, 25 Apr 2014 11:05:18 +0800 From: Kinglong Mee User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Steve Dickson , linux-nfs@vger.kernel.org Subject: [PATCH nfs-utils/systemd] systemd: add PATH for finding systemctl Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 The 1.3.0 release adds a call to systemctl fails for it's in /usr/bin. [root@localhost nfs-utils]# start-statd /usr/sbin/start-statd: line 9: systemctl: command not found Statd service already running! Reported-by: Allan Duncan Signed-off-by: Kinglong Mee --- utils/statd/start-statd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/statd/start-statd b/utils/statd/start-statd index cde3583..8ac3798 100644 --- a/utils/statd/start-statd +++ b/utils/statd/start-statd @@ -4,7 +4,7 @@ # /var/run/rpc.statd.pid). # It should run statd with whatever flags are apropriate for this # site. -PATH=/sbin:/usr/sbin +PATH="/sbin:/usr/sbin:/bin:/usr/bin" if systemctl start statd.service then : else