linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Kinglong Mee <kinglongmee@gmail.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH nfs-utils/systemd] systemd: add PATH for finding systemctl
Date: Fri, 25 Apr 2014 10:30:41 -0400	[thread overview]
Message-ID: <535A7191.3030405@RedHat.com> (raw)
In-Reply-To: <5359D0EE.7030408@gmail.com>



On 04/24/2014 11:05 PM, Kinglong Mee wrote:
> 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 <amd1234@fastmail.com.au>
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Committed... Thanks!

steved.

> ---
>  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
> -- 1.9.0
> 

      reply	other threads:[~2014-04-25 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25  3:05 [PATCH nfs-utils/systemd] systemd: add PATH for finding systemctl Kinglong Mee
2014-04-25 14:30 ` Steve Dickson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535A7191.3030405@RedHat.com \
    --to=steved@redhat.com \
    --cc=kinglongmee@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).