autorun w/nfs broken 1.5.8

Topics about the networking software (ssh, nfs, samba, ...). No questions about network drivers there.
cschanzle
Posts: 11
Joined: 28 Sep 2009, 21:34

autorun w/nfs broken 1.5.8

Postby cschanzle » 14 Jul 2010, 23:21

trying to pxe-boot with:
ar_source=nfs://darkstar:/configs/scripts/autoruns autoruns=0
almost works, but it says:

fatal error: cannot mount (mount -t nfs darkstar:/configs/scripts/autoruns /var/autorun/mnt)
ERROR: autorun failed to start

When run manually:
mount.nfs: rpc.statd is not running but is required for remote locking
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

Adding '-o nolock' to the mount works.

Alternatively, run portmap (first), then rpc.statd; now mount (without -o nolock) works.

I think we need a better default. :-)

cschanzle
Posts: 11
Joined: 28 Sep 2009, 21:34

Re: autorun w/nfs broken 1.5.8

Postby cschanzle » 14 Jul 2010, 23:57

If I include on the boot line:
initscript=portmap:start initscript=rpc.statd:start

there is a minute-delay; the other console says:
sysresccd /etc/init.d/portmap[3442]: portmap: waiting for sysresccd (50 seconds)
...
41 seconds
...
32 seconds
...

Then my script runs.

As a side-issue, my script runs an ssh command on a remote fileserver to set up a listening mbuffer socket, but ssh is unable to interact with the console to get a password. Adding '-o stricthostkeychecking=no' got me further to accept the unknown remote host key, but ssh just blasted through password prompts, not interacting with the tty, and failing. Running the script on the console worked.


Return to “Networking (except PXE booting)”

Who is online

Users browsing this forum: No registered users and 2 guests