> ----- Original Message ----- > From: [email protected] > Sent: 04/02/13 10:41 PM > To: BLFS Support List > Subject: Re: [blfs-support] Autofs problem on LFS7.2 > > > Date: Tue, 02 Apr 2013 18:19:44 -0400 > > From: "Cliff McDiarmid" <[email protected]> > > To: "akhiezer" <[email protected]>, > > "BLFS Support List" > > <[email protected]> > > Subject: Re: [blfs-support] Autofs problem on LFS7.2 > > > . > . > > > > I will sort it and try to get the summary right. Could this whole thing > > come down to permissions? > > > > > It might: but recall that there were also error messages, at two separate > stages, > that looked like they were (in the first case) kerberos-/hesiod- related, and > (in > the second case) libtirpc- related; and it was only when we by-passed _those_ > error-messages, that we could get as far as seeing the permissions-related > error-messages. > > With the map permissions held at 0644, one would want to test the re-compile > with/without the hesiod and libtirpc configure options, and with/without the > commenting-out of that block of libtirpc code, per the test-sequence in > earlier > note. I think that there _is_ very likely an issue with the libtirpc stuff; > and _maybe_ - though less likely at this stage - with the kerberos-/hesiod- > stuff.
With the map permissions held at 0644, I have retested with the following results. They seem to suggest that the libtirpc code is indeed important and that only when autofs is compiled '--without-libtirpc', or the revelant code compiled out, that autofs works as it should. 1) ./configure --prefix=/ --mandir=/usr/share/man \ --without-systemd --with-libtirpc --with-hesiod (openldap & sasl are NOT installed) Then restarted with 'automount -v -f -d /etc/auto.master' 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) open_mount:244: parse(sun): cannot open mount module nfs (//lib/autofs/mount_nfs.so: undefined symbol: auth_put) lookup(file): failed to open parse context no mounts in table Autofs does not work 2) ./configure --prefix=/ --mandir=/usr/share/man \ --without-systemd --without-libtirpc --without-hesiod Restarted 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 /media master_do_mount: mounting /media automount_path_to_fifo: fifo name /run/autofs.fifo-media lookup_nss_read_map: reading map file /etc/auto.misc parse_init: parse(sun): init gathered global options: (null) mounted indirect on /media with timeout 300, freq 75 seconds st_ready: st_ready(): state = 0 path /media ghosting enabled Autofs works 3) ./configure --prefix=/ --mandir=/usr/share/man \ --without-systemd --with-libtirpc --with-hesiod - with code commented OUT Restarted 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 /media master_do_mount: mounting /media automount_path_to_fifo: fifo name /run/autofs.fifo-media lookup_nss_read_map: reading map file /etc/auto.misc parse_init: parse(sun): init gathered global options: (null) mounted indirect on /media with timeout 300, freq 75 seconds st_ready: st_ready(): state = 0 path /media ghosting enabled Autofs works. 4) ./configure --prefix=/ --mandir=/usr/share/man \ --without-systemd --with-libtirpc --with-hesiod. (same as in 1) above) - with code PRESENT Restarted 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) open_mount:244: parse(sun): cannot open mount module nfs (//lib/autofs/mount_nfs.so: undefined symbol: auth_put) lookup(file): failed to open parse context no mounts in table Autofs does not work. regards Cliff -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
