> Date: Wed, 27 Mar 2013 14:29:10 -0400 > From: "Cliff McDiarmid" <[email protected]> > To: "akhiezer" <[email protected]>, > "BLFS Support List" > <[email protected]> > Subject: Re: [blfs-support] Autofs problem on LFS7.2 > > > Date: Mon, 25 Mar 2013 16:17:33 +0000 > > > From: [email protected] (akhiezer) > > > To: BLFS Support List <[email protected]> > > > 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. > > 'automount -v -f -d /etc/auto.master' gave: > > Starting automounter version 5.0.7, master map /etc/auto.master > using kernel protocol version 5.02 > lookup_nss_read_master: reading master file /etc/auto.master > parse_init: parse(sun): init gathered global options: (null) > lookup_read_master: lookup(file): read entry /testautomount > master_do_mount: mounting /testautomount > automount_path_to_fifo: fifo name /run/autofs.fifo-testautomount > lookup_nss_read_map: reading map file /etc/auto.testautomount > parse_init: parse(sun): init gathered global options: (null) > mounted indirect on /testautomount with timeout 300, freq 75 seconds > st_ready: st_ready(): state = 0 path /testautomount > > Then after approx. 1min > > st_expire: state 1 path /testautomount > expire_proc: exp_proc = 3060792128 path /testautomount > expire_cleanup: got thid 3060792128 path /testautomount stat 0 > expire_cleanup: sigchld: exp 3060792128 finished, switching from 2 to 1 > st_ready: st_ready(): state = 2 path /testautomount > > However, when inserting the usbstick and try and list any contents, it is > only on > > /testautomount, i.e. the dir. sandisk is not available and can not be created: > > mkdir: cannot create directory '/testautomount/sandisk': Permission > denied. > > I only get the following again > $ > total 4 > drwxr-xr-x 2 root root 4096 Mar 23 09:38 ./ > drwxr-xr-x 2 root root 4096 Mar 23 09:38 ../ >
With automount not running, remove the empty dir (iff it's empty) /testautomount , and retry the 'automount -v -f -d /etc/auto.master', see if it auto-generates the whole path '/testautomount/sandisk', shows the contents of the usbstick ok under '/testautomount/sandisk', and then when you exit automount, does it remove the entire path '/testautomount/sandisk' ? ((The version here is 5.0.5 (not 5.0.6 like I said a day or so ago - was in the middle of cross-checking versions and got momentarily cross-wired) and it doesn't need kerberos.)) rgds, akh -- -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
