From: Dennis Jacobfeuerborn <dennisml@conversis.de>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: linux-nfs@vger.kernel.org
Subject: Re: NFS server startup hangs for 60 seconds
Date: Thu, 18 Jun 2015 20:07:34 +0200 [thread overview]
Message-ID: <558308E6.2040802@conversis.de> (raw)
In-Reply-To: <20150618180141.GA21212@fieldses.org>
On 18.06.2015 20:01, J. Bruce Fields wrote:
> On Thu, Jun 18, 2015 at 01:48:25PM +0200, Dennis Jacobfeuerborn wrote:
>> Hi,
>> when I start nfs-server.service on a CentOS 7 system it takes 60 seconds
>> until the nfsd finally is up.
>
> How exactly are you testing that? (What are you using to decide when
> nfsd is up?)
>
The nfsd processes show up in the ps output.
After some digging I finally found that the reason for this is a buggy
systemd unit file in RHEL/CentOS 7.
This is a bug in nfs-server.service and he fix is to copy
nfs-server.service to /etc/systemd/system and replace all occurrences of
"rpcbind.target" with "rpcbind.service".
See this bug for reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1171603
Regards,
Dennis
prev parent reply other threads:[~2015-06-18 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 11:48 NFS server startup hangs for 60 seconds Dennis Jacobfeuerborn
2015-06-18 17:13 ` Dennis Jacobfeuerborn
2015-06-18 18:04 ` J. Bruce Fields
2015-06-18 18:01 ` J. Bruce Fields
2015-06-18 18:07 ` Dennis Jacobfeuerborn [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=558308E6.2040802@conversis.de \
--to=dennisml@conversis.de \
--cc=bfields@fieldses.org \
--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