GNU bug report logs - #32520
26.1; problem with CIFS mounts

Previous Next

Package: emacs;

Reported by: emacs <at> martins.cc

Date: Fri, 24 Aug 2018 16:26:01 UTC

Severity: minor

Tags: notabug

Found in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: emacs <at> martins.cc
Cc: 32520 <at> debbugs.gnu.org
Subject: bug#32520: 26.1; problem with CIFS mounts
Date: Fri, 24 Aug 2018 22:31:51 +0300
> From: emacs <at> martins.cc
> Date: Fri, 24 Aug 2018 09:24:45 -0700
> 
> I automount windows shares under a common mountpoint, say /cifs.
> 
> When I cd to or references something like:
>   /cifs/<host>/<share>/path/to/file_or_dir
> the windows share is mounted on
>   /cifs/<host>/<share>
> and the process can get to .../path/to/file_or_dir.
> 
> When I visit one of those directories with emacs 26 (maybe
> also files on that share), I get a bunch of syslog warnings
> from the CIFS subsystem.
> 
> Sometimes they just say:
> 
>   [608270.512407] CIFS VFS: BAD_NETWORK_NAME: \\host\.dir-locals-2.el
>   [608270.512744] CIFS VFS: cifs_mount failed w/return code = -2
>   [608270.517939] CIFS VFS: BAD_NETWORK_NAME: \\host\.dir-locals.el
>   [608270.518326] CIFS VFS: cifs_mount failed w/return code = -2

I guess Emacs tries to go up the directory tree too far, it should
stop at /cifs/<host>/<share/.  But how should it know it isn't
supposed to go up from /cifs/<host>/<share/ ?

> It is clogging my syslog with bogus messages, as I do visit
> lots of files and directories on remote windows share every
> day.

Does it cause any other trouble?




This bug report was last modified 6 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.