[blfs-support] Autofs problem on LFS7.2

Cliff McDiarmid cliffhanger at gardener.com
Thu Mar 28 11:04:48 PDT 2013


> ----- Original Message -----
> From: lfs65 at cruziero.com
> Sent: 03/28/13 09:28 AM
> To: BLFS Support List
> Subject: Re: [blfs-support] Autofs problem on LFS7.2
> 
> > Date: Thu, 28 Mar 2013 04:05:59 -0400
> > From: "Cliff McDiarmid" <cliffhanger at gardener.com>
> > To: "akhiezer" <lfs65 at cruziero.com>,
> > "BLFS Support List"
> > <blfs-support at linuxfromscratch.org>
> > Subject: Re: [blfs-support] Autofs problem on LFS7.2
> >
> .
> .
> >
> > > > Right.  I've recompiled autofs(had to include MIT Kerberos)and the results were intially promising.
> >
> .
> .
> > You may be right about Kerbos, I seem to remember getting round that originally and not compiling against it.
> >
> 
> 
> OK: so at this stage I'd recompile the 'patch-reverted' autofs-5.0.7 - i.e. use 
> the version where you have got that 'LIBTIRPC' block of code commented-out - and 
> follow the same steps as you did originally, but for the './configure ...' 
> cmdline _add_ the '--without-hesiod' option.

I've now recompiled 'patch-reverted' autofs-5.0.7 without MIT Kerberos.  Sadly this has made no difference.
When I plug in the usbstick the 'testautomount' dir. is created, but not 'sandisk'.

'ls -laF /testautomount/sandisk' gives:

ls: cannot access /testautomount/sandisk: No such file or directory

'ls -laF /testautomount' gives:

total 4
drwxr-xr-x  2 root root    0 Mar 28 17:41 .
drwxr-xr-x 26 root root 4096 Mar 28 17:41 ..

When the usbstick is plugged, autofs spits the following again:

handle_packet: type = 3
handle_packet_missing_indirect: token 1, name sandisk, request pid 1997
attempting to mount entry /testautomount/sandisk
lookup_mount: lookup(program): looking up sandisk
lookup(program): lookup for sandisk failed
dev_ioctl_send_fail: token = 1
failed to mount /testautomount/sandisk
st_expire: state 1 path /testautomount
expire_proc: exp_proc = 3063610176 path /testautomount
expire_cleanup: got thid 3063610176 path /testautomount stat 0
expire_cleanup: sigchld: exp 3063610176 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /testautomount
st_expire: state 1 path /testautomount
expire_proc: exp_proc = 3063610176 path /testautomount
expire_cleanup: got thid 3063610176 path /testautomount stat 0
expire_cleanup: sigchld: exp 3063610176 finished, switching from 2 to 1
st_ready: st_ready(): state = 2 path /testautomount

> At this stage, I'd say you don't need to uninstall kerberos: but I'd suggest 
> ensuring it is not running; stop it via '/etc/rc.d/init.d/krb5 stop' (or similar) 
> and verify via ps that none of its components are running, and stop them if they 
> are; it may be useful if necessary to refer to the list of programs in the 
> 'Short Descriptions' section at the foot of the page 
> 'http://www.linuxfromscratch.org/blfs/view/svn/postlfs/mitkrb.html', as a 
> guide/checklist.
> 
> 
> rgds,
> akh

thanks

MAC



More information about the blfs-support mailing list