Bug#386959: [Pkg-sysvinit-devel] Bug#386959: initscripts: mountnfs.sh
is broken : unable to mount nfs directories at boot
Lecouteux Benjamin
assyrium at gmail.com
Mon Sep 11 17:04:52 UTC 2006
Petter Reinholdtsen a écrit :
> Please send messages to the bug tracking system, and not only to me.
>
> [Benjamin Lecouteux]
>
>> The issue is appeared at the boot of computer. The system was
>> locking in the nfs mount sequence. After that, all my nfs
>> directories were not available.
>>
>
> Right. I misread this to talk about the shutdown sequence, not the
> boot. If the NFS directories are not mounted as they should during
> boot, there must be some bug in here. :)
>
>
>> When I start manually "/etc/init.d/mountnfs.sh start", there
>> was no action. But if I type "mount my_nfs_directory" there is no
>> problem. In a second time, I have copied the mountnfs.sh from testing in
>> my /etc/init.d/ and the problem was solved. However, there is no error
>> message when the mount fail. I think it's not the same problem that bug
>> #386893. I will be able to look at this evening more in detail what is
>> origin of the problem (I did not seek).
>>
>
> The NFS mounting system was changed now, to wait for the network to
> start before trying to mount NFS directories. This was changed to
> solve the long-standing problem with mountnfs.sh running before the
> network was ready. So the NFS mounting is to be done by
> /etc/network/if-up.d/mountnfs, and /etc/init.d/mountnfs.sh waits for
> this to happen. Is there something with your setup that would make
> the if-up.d/mountnfs script fail?
>
> Friendly,
>
I have tested the /etc/network/if-up.d/mountnfs script : it works fine.
I think you're right, there is a issue in my boot sequence setup. Sorry
for false alert.
More information about the Pkg-sysvinit-devel
mailing list