Hello, I read the bug report to bug 36123 and found the
following comment: --- * Move NFS mounting to an if-up.d
script, to make sure we try to patch from Ubuntu.
Modified to rewrite mountnfs.sh instead of renaming it to
waitnfs.sh. (Closes: #360123) --- I found out, that the mountnfs script is run each
time a network interface came up, but not after all network interfaces came up. To investigate, I added a line showing the ifconfig
output to /etc/network/if-up.d/mountnfs and found out, that mountnfs is called
first after lo and eth0 came up, but I needed the alias interface eth0:0 to
reach the nfs server. The result is mountnfs will try indefinitely to mount
the nfs share, because the needed alias interface is not yet up, so the network
could not be reached. Solution: In my opinion, mountnfs should only be
called once after *all* network
interfaces, for which auto is set in /etc/network/interfaces, came up, not
after each new interface which came up. In my case, I worked after I moved to /etc/network/if-up.d/mountnfs
to to /etc/network/mountnfs and added “post-up /etc/network/mountnfs”
to eth0:0 in /etc/network/interface. FYI: The problem still exists in initscripts version 2.86.ds1-20 Cheers, -- infoServe GmbH T: (0681) 8 80 08 - 59 |