[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#495946: initramfs-tools: potential race condition between nfsmounts in fstab and network interfaces



On Thu, Aug 21, 2008 at 03:16:06PM +0100, Matthew Macdonald-Wallace wrote:
> Package: initramfs-tools
> Version: 0.85i
> Severity: important
> 
> 
> On a server with three e1000-based cards, I have configured eth0 and 
> then bond0 which uses eth1 and eth2.
> 
> I have an NFS share that requires mounting on boot and uses the network 
> attached to the bonded interface.
> 
> If eth0 is listed first in the /etc/network/interfaces file, the system 
> tries to mount the share before bond0 is brought up and times out as a 
> result (although the timeout appears to be 7 minutes, not 180 seconds).
> 
> If I place the "auto bond0" statement as the first statement in the 
> file, the system works without issue.
> 
> This issue can be replicated using SAMBA in place of NFS and is present 
> after a base install with only a few more packages (such as ifenslave) 
> installed.
> 
> I realise that this may not be an initramfs issue, however I am unable 
> to track it down any further.  Please feel free to move to a more 
> appropriate package if you think it may be required.
> 
> Matt

please file relevant info, like
cat /etc/network/interfaces
cat /etc/udev/rules.d/70-persistent-net.rules

and relevant nfs setup.

-- 
maks



Reply to: