From: Jeff Moyer Subject: Re: Problems with Autofs and .hidden files Date: Mon, 01 Oct 2007 10:34:02 -0400 Message-ID: References: <200709291742.54831.lists@fabis-site.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200709291742.54831.lists@fabis-site.net> (Fabian Steiner's message of "Sat\, 29 Sep 2007 17\:42\:54 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Fabian Steiner Cc: autofs@linux.kernel.org Fabian Steiner writes: > Hello! > > We are using autofs in order to mount the user's home drive via NFS after= a > successfull login authenticated by ldap. > > /etc/auto.master looks like this: > > # AUOTOFS-MAPPING > /home/schueler =A0/etc/auto.schueler > /home/lehrer =A0 =A0/etc/auto.lehrer > /home/maerkte =A0 /etc/auto.maerkte > > /etc/auto.schueler has the following content (the same also applies for t= he > other files): > > * =A0 =A0 =A0 -fstype=3Dnfs,rw,hard,intr,nodev,nosuid,exec,acl =A0 =A0 = =A0 =A0 = > server.domain.de:/home/schueler/& > > Generally speaking this setup works like a charm but from time to time we > encounter the following messages in syslog: > > Sep 24 16:46:57 server mountd[8818]: authenticated mount request from > client.domain.de:559 for /home/schueler/.directory (/home/schueler) > Sep 24 16:46:57 server mountd[8818]: can't stat exported > dir /home/schueler/.directory: No such file or directory > > Our investigations show that these messages are probably to be created > whenever a user tries to access /home/schueler by using Konqueror or > Nautilus. The file .directory doesn't exist, however, and that's why these > messages appaer. Normalley, this wouldn't be a severe problem but the > entire is completely slowed down so that another kind of error occurs: > > Sep 24 16:47:00 server mountd[8818]: refused mount request from > client.domain.de for /home/schueler/.directory (/home/schueler): illegal > port 48337 > > Does anybody know this issue and could provide any hints how to solve it? Negative lookup caching will help this. I'm not sure whether/when that went into the kernel. Ian? -Jeff