Page 1 of 1

autorun w/nfs broken 1.5.8

Posted: 14 Jul 2010, 23:21
by cschanzle
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. :-)

Re: autorun w/nfs broken 1.5.8

Posted: 14 Jul 2010, 23:57
by cschanzle
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.