On 5/16/2010 1:36 PM, Carlos E. R. wrote:
On Sunday, 2010-05-16 at 12:54 -0700, Marc Chamberlin wrote:
On 5/5/2010 1:54 PM, Carlos E. R. wrote:
Carlos - Thanks for your response... I took a bit of time to try an chase down an answer to your questions, so I temporarily reconfigured my system back to using fstab to mount the network drive...
I think you can use the "nofail" option in fstab, so that the mount process will not halt. Or perhaps, "noauto", which makes it not even attempt to mount it. But then, the "nfs" client service script will not attempt to mount it either. My guess is that it might suceed with "nofail". I'm not sure. Or perhaps there is an option to tell the initial mount not to try mount remote filesystems (it is made this early because a system may need to mount /usr remotely).
Neither the "nofail" nor the "noauto" options corrected the delay of getting the second network interface started.
And you are right, network service starts after "local_fs". However, there is a "remote_fs", which I'm not sure which script provides. The idea would be to make sure that the script providing "remote_fs" has as as "Required-Start" full network.
Ah, it is defined in /etc/insserv.conf (man 8 insserv):
# # All remote filesystems are mounted (note in some cases /usr may # be remote. Most applications that care will probably require # both $local_fs and $remote_fs) # $remote_fs $local_fs +nfs +smbfs
So, it is "nfs". And it is in the required start:
# Provides: nfs # Required-Start: $network $portmap
Now, when service "network" succeeds, is your second interface up?
I tried to instrument the network startup script in init.d and discovered a hitch... The network is started up before the syslog daemon, therefore I cannot get it to record what is happening when the script is ran, during boot up... ( I was using the -xv option for bash, embedded echo statements, and an ifconfig at then end of the "start" section) And syslog is defined as being dependent on network... I am afraid I do not know enough about Linux to figure out how to instrument the start up of the network daemon during the early phases of boot up.. so will need some help to accomplish that in order to answer your question...
Are you sure your eth1 is listed as "MANDATORY"? I think it is here:
/etc/sysconfig/network/config:MANDATORY_DEVICES=""
Yes, both eth0 and eth1 are specified as mandatory.... Marc...