Dennis Jacobfeuerborn
2015-Jun-16 02:34 UTC
[CentOS] nfs-server.service start delayed 60 seconds asking for password?
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? Regards, Dennis
Dennis Jacobfeuerborn
2015-Jun-18 18:04 UTC
[CentOS] nfs-server.service start delayed 60 seconds asking for password?
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