[Bug 806284] [NEW] nfs-kernel-server fails: hostname "has non-inet addr" on boot, before eth0 comes up
John Gilmore
806284 at bugs.launchpad.net
Wed Jul 6 02:32:43 UTC 2011
Public bug reported:
I upgraded my server to Natty and now the two directories that this
server exports to various other machines on the network, do not get
exported during an ordinary bootup. However, after startup, if I run
"exportfs -av" on them, they export just fine.
/var/log/syslog shows:
Jul 5 16:17:54 om exportfs[1585]: name1.frob.com has non-inet addr
Jul 5 16:17:54 om exportfs[1585]: last message repeated 3 times
Jul 5 16:17:54 om exportfs[1585]: name2.frob.com has non-inet addr
Jul 5 16:17:54 om exportfs[1585]: name2.frob.com has non-inet addr
(I've replaced the actual names with name1.frob.com and name2.frob.com).
The problem appears to occur because NetworkManager is still in the
process of bringing up the network interface (according to other
interleaved syslog reports). These hostnames need DNS from another
server to resolve them.
The root cause of the problem appears to be that Natty doesn't make the
nfs-kernel-server service wait until the first Ethernet comes up. Thus,
nfs-kernel-service can't resolve domain names in the /etc/exports file,
and it produces this very confusing message and doesn't actually export
the filesystems.
Ubuntu release: 11.04 (natty)
Version of nfs-utils: Installed: 1:1.2.2-4ubuntu5
Related programs: upstart, NetworkManager
** Affects: nfs-utils (Ubuntu)
Importance: Undecided
Status: New
** Tags: upstart
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/806284
Title:
nfs-kernel-server fails: hostname "has non-inet addr" on boot, before
eth0 comes up
Status in “nfs-utils” package in Ubuntu:
New
Bug description:
I upgraded my server to Natty and now the two directories that this
server exports to various other machines on the network, do not get
exported during an ordinary bootup. However, after startup, if I run
"exportfs -av" on them, they export just fine.
/var/log/syslog shows:
Jul 5 16:17:54 om exportfs[1585]: name1.frob.com has non-inet addr
Jul 5 16:17:54 om exportfs[1585]: last message repeated 3 times
Jul 5 16:17:54 om exportfs[1585]: name2.frob.com has non-inet addr
Jul 5 16:17:54 om exportfs[1585]: name2.frob.com has non-inet addr
(I've replaced the actual names with name1.frob.com and
name2.frob.com).
The problem appears to occur because NetworkManager is still in the
process of bringing up the network interface (according to other
interleaved syslog reports). These hostnames need DNS from another
server to resolve them.
The root cause of the problem appears to be that Natty doesn't make
the nfs-kernel-server service wait until the first Ethernet comes up.
Thus, nfs-kernel-service can't resolve domain names in the
/etc/exports file, and it produces this very confusing message and
doesn't actually export the filesystems.
Ubuntu release: 11.04 (natty)
Version of nfs-utils: Installed: 1:1.2.2-4ubuntu5
Related programs: upstart, NetworkManager
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/806284/+subscriptions
More information about the foundations-bugs
mailing list