[CentOS] nfs-server.service start delayed 60 seconds asking for password?

Thu Jun 18 18:04:08 UTC 2015
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 16.06.2015 04:34, Dennis Jacobfeuerborn wrote:
> Hi,
> when I start nfs-server.service it takes 60 seconds until the nfsd
> finally is up. Looking at the process list I see a process
> 'systemd-tty-ask-password-agent' running which goes away after the 60
> seconds the startup requires.
> 
> Does anyone have an idea what the reason could be for this and how I can
> get rid of this delay?

For anyone who also runs into this:

This is a bug in nfs-server.service. This 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