On Mon, Aug 27, 2012 at 10:55 PM, Ian Kent <raven@xxxxxxxxxx> wrote: > On Mon, 2012-08-27 at 08:46 -0300, Leonardo Chiquitto wrote: >> On Sun, Aug 26, 2012 at 11:58 PM, Ian Kent <raven@xxxxxxxxxx> wrote: >> > On Fri, 2012-08-24 at 13:27 -0300, Leonardo Chiquitto wrote: >> >> Hello, >> >> >> >> [This bug was found and fixed by Werner Fink <werner@xxxxxxx>, I'm just the >> >> messenger.] >> >> >> >> When the extension of the map file name is equal to the map type name, >> >> the automounter will fail to parse the master map. >> >> >> >> How to reproduce: >> >> >> >> # cat /etc/auto.master >> >> /media/autofs file:/etc/autofs.file --timeout=5 --ghost >> >> # cat /etc/auto.file >> >> test server:/nfs >> > >> > I can't reproduce this with the current source and I can't see any >> > relevant patches in the last couple of versions that might have changed >> > it. >> >> Strange. I tried some variations here and discovered that you must use >> a mount point with a long name: >> >> /a-long-directory-name/autofs file:/etc/auto.file --timeout=5 --ghost >> >> Aug 27 08:42:39 lotus automount[23185]: lookup_nss_read_map: reading >> map file /etc/auto.rect >> Aug 27 08:42:39 lotus automount[23185]: lookup(file): file map >> /etc/auto.rect missing or not readable >> Aug 27 08:42:39 lotus automount[23185]: do_read_map: lookup module file failed >> >> Makes any difference in your setup? > > Yep, I can reproduce that. > > > Try this patch. Hello Ian, The patch works fine here. Thanks, Leonardo -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html