Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532060 - net-fs/nfs-utils-1.2.9 - exportfs: Failed to resolve p01.fir.local -//- /etc/init.d/nfs: line 48: 1754 Killed ${exportfs} -r
Summary: net-fs/nfs-utils-1.2.9 - exportfs: Failed to resolve p01.fir.local -//- /etc/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 13:21 UTC by Cedric Sodhi
Modified: 2015-03-01 11:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (3TRY2JV.txt,4.36 KB, text/plain)
2014-12-10 13:56 UTC, Cedric Sodhi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Sodhi 2014-12-09 13:21:12 UTC
Network is configured statically over wired network, kernel is 3.14. rpc.mountd is started with "-d all" as through the conf.d/nfs configuration so that messages should go to syslog-ng's /var/log/messages.

nfs is in runlevel default

Client ins Fedora 20.

NFS is running after the system has booted. However, any attempts to mount the share from the client fail with "Access denied". rpcinfo -p <server> reports nfs v3 and v4 running as it should.

There are absolutely no messages indicating any client attempting to connect in the syslog.

After /etc/init.d/nfs restart, everything works normal until the next reboot.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-09 14:50:53 UTC
Please post your `emerge --info' output in a comment.
Comment 2 Cedric Sodhi 2014-12-10 13:56:11 UTC
Created attachment 391364 [details]
emerge --info output
Comment 3 Cedric Sodhi 2014-12-10 15:22:48 UTC
After enabling logging RC Start, I have the following in the rc.log

 * Exporting NFS directories ...
exportfs: Failed to resolve p01.fir.local
/etc/init.d/nfs: line 48:  1754 Killed                  ${exportfs} -r
 [ !! ]
Comment 4 SpanKY gentoo-dev 2015-02-24 15:54:11 UTC
(In reply to Cedric Sodhi from comment #3)

exportfs timed out because your network wasn't fully up.  the init script then killed it to prevent the system from hanging.  you need to make sure the network is fully functional before launching nfs.
Comment 5 Cedric Sodhi 2015-03-01 11:53:18 UTC
Couldn't NFS keep "retrying" in the background? Network is in rc default as it would be on pretty much every normal box, but this surely isn't the normal behaviour one would like to have.

So I propose that either something is wrong with the rc dependencies or the script should rather (and preferably) keep spinning in the background and try to resolve until the network is up.

In any case, the current situation can hardly be called "working fine" for a pretty normal setup, in my opinion.