Bug#419195: [Pkg-sysvinit-devel] Bug#419195: initscripts:
if-up.d/mountnfs should only run after all interfaces have been
brought up at boot; hangs boot
Julien BLACHE
jblache at debian.org
Sun Apr 15 15:14:14 UTC 2007
Petter Reinholdtsen <pere at hungry.com> wrote:
Hi,
> I agree that it is not optimal at the moment, but mounting NFS
> directories after ifup solve other problems without known workarounds.
The problem is that it's not run *after* ifup, it's run after an
interface has been brought up, which is quite different when you're
calling ifup -a as the initscript does.
Maybe ifupdown should be fixed to run the if-up.d scripts only after
it's brought up all the interfaces.
>> The line in fstab looks like:
>> 10.0.1.3:/export/foobar /mnt/foobar nfs rw,hard,intr 0 0
>
> You can also avoid the problem by adding 'bg' to the option list,
> ending up with an entry like this:
>
> 10.0.1.3:/export/foobar /mnt/foobar nfs rw,hard,intr,bg 0 0
I'll try that next time I'll reboot this machine, but I really do not
like that situation at all.
Moreover, there's exactly 0 lines about this in initscripts'
README.Debian, and this appears to be a somewhat known problem...
JB.
--
Julien BLACHE <jblache at debian.org> | Debian, because code matters more
Debian & GNU/Linux Developer | <http://www.debian.org>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
More information about the Pkg-sysvinit-devel
mailing list