From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Don Allingham Newsgroups: gmane.emacs.bugs Subject: bug#34091: 25.2; save-buffer fails to save to an NFS drive in Emacs 25 Date: Tue, 15 Jan 2019 15:16:31 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001c5c18057f8684af" X-Trace: blaine.gmane.org 1547606544 17353 195.159.176.226 (16 Jan 2019 02:42:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 02:42:24 +0000 (UTC) To: 34091@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 16 03:42:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjb9n-0004PW-DT for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2019 03:42:19 +0100 Original-Received: from localhost ([127.0.0.1]:37558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjbBu-0006BD-Gw for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2019 21:44:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjbBg-0006AY-T2 for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 21:44:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjbBd-0002A7-2l for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 21:44:16 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjbBT-00025F-0g for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 21:44:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjbBS-000576-KD for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 21:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Don Allingham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Jan 2019 02:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34091 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154760658819579 (code B ref -1); Wed, 16 Jan 2019 02:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jan 2019 02:43:08 +0000 Original-Received: from localhost ([127.0.0.1]:60490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjbAZ-00055i-Al for submit@debbugs.gnu.org; Tue, 15 Jan 2019 21:43:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjX11-0007Lq-Rd for submit@debbugs.gnu.org; Tue, 15 Jan 2019 17:17:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gjX0u-0003rH-Fe for submit@debbugs.gnu.org; Tue, 15 Jan 2019 17:16:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjX0s-00032j-M6 for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 17:16:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjX0n-0003nb-Cl for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 17:16:48 -0500 Original-Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]:45864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjX0m-0003kT-Fv for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2019 17:16:44 -0500 Original-Received: by mail-oi1-x22c.google.com with SMTP id y1so3414265oie.12 for ; Tue, 15 Jan 2019 14:16:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YQcByVJy7my2GnSItjd7E+8rVarXTeGztCneGBDFW+E=; b=CG+aOVfnn1Kn+jEoDHprYJgNyzskK1fH7NZAABU7AbTjsrsRPBb3PEOZ0P0qx42LCy 9aighVWb7PHnjGGJmSp1vpJkWA3P2aDb5iYf16RMOe/XtZkgfSlZyW3Zett25eJyTrmF +T/LYbe9qxM5B73nqWhMpHflIfipvR7jR/wrR/pSgmdVK6m98/OuVIAkBrFZsjvnqxR4 baZom2oPINWG7aysIDUgIXtYoRP/7wJHbGfc/leGPIws2YlApPGCtg5Tn+FfnJPxKQzE QPbDH0tvInYpyvB8BZNm/GJa3Z5cFs6wW0xNhKuwQun/VASbILtUY7f6Y2rYXqUsLqee yXYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YQcByVJy7my2GnSItjd7E+8rVarXTeGztCneGBDFW+E=; b=R8KL8OQFCqghstnnjbsBoOBogL3pVzzuKUlQzXHSJrnFttRLldtgy2H+rb4k+Lijho 5NL/xgOdMeRf4F3QEqtS4IbZz17GftDAscKRlKmo4sw8ksk7clHsmKlmuT1QG4ldBSJT Zn54wQf088YJPyxEldWw9AZeDuxTdG87ykx2Gq393hFEY9nc0Pw8m26MkHIL8L4m57lg DOawE3Tr+XKvfwIZ181b2gCCNV/ISGyIyj41kz3jDfzzAnmAu9CETN3PNd55GEw/MjCj 8+YA4vjVXn9TqPWVJKxjlV3MIA957R1Yllgjr3DhDcWF6HwHlb1QX2a1DnQhU3E/D6Qg NJYA== X-Gm-Message-State: AJcUukdsIyqCflAF1GG5rXbmJg5pajgWiAFk24JSZ/4223fAaVYk0xdj AfVXKepFz3zuDn23pkiLTzoDXEv5ZZQ61BqqZYwSXg== X-Google-Smtp-Source: ALg8bN6QDS4cLRCwRXbVceor8l+mujXwx+ird/ihtxAHNDjmubXRaxNioih7DlO/q7VHdnKJ9Incgh2IsME37r56TvQ= X-Received: by 2002:aca:c0c6:: with SMTP id q189mr820117oif.226.1547590602347; Tue, 15 Jan 2019 14:16:42 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 15 Jan 2019 21:43:06 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154469 Archived-At: --0000000000001c5c18057f8684af Content-Type: text/plain; charset="UTF-8" If I open an existing file in Emacs 25 (and Emacs 24), modify it and attempt to save using C-x C-s (save-buffer), the file does not save. I get the message "Saving ...", but the file does not save and remains marked as modified. If I attempt to save it with C-x C-w (write-file), it prompts me for the name, and if I overwrite the file, it succeeds. At that point, I can use save-buffer successfully until I kill the buffer. This only happens on a NFS mounted drive. If I do the same operation on a local file system, it succeeds. The problem does not occur with Emacs 23 on the same NFS file system and the same host machine. This problem occurs with a direct NFS mount, or with autofs automounting the NFS partition. The mount command shows the following setup for the automouted NFS partition. lco-cssg-nas-17:/export/volDH00/dona on /home/dona type nfs (rw,nosuid,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.30.145.230,mountvers=3,mountport=20048,mountproto=tcp,local_lock=none,addr=10.30.145.230) In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian built on lgw01-amd64-050 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Linux Mint 19 Tara Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: show-paren-mode: t save-place-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Loading 00debian-vars...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs/25.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils finder-inf better-defaults-autoloads paren edmacro kmacro saveplace ido ein-autoloads request-autoloads websocket-autoloads package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 103592 5550) (symbols 48 21890 0) (miscs 40 107 143) (strings 32 21123 5072) (string-bytes 1 623755) (vectors 16 14765) (vector-slots 8 463411 2722) (floats 8 205 40) (intervals 56 295 0) (buffers 976 18)) --0000000000001c5c18057f8684af Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If I open an existing file in Emacs 25 (and Emacs 24), mod= ify it and
attempt to save using C-x C-s (save-buffer), the file does no= t save. I
get the message "Saving <filename>...", but th= e file does not save and
remains marked as modified. If I attempt to sav= e it with C-x C-w
(write-file), it prompts me for the name, and if I ove= rwrite the file,
it succeeds. At that point, I can use save-buffer succe= ssfully until I
kill the buffer.

This only happens on a NFS mount= ed drive. If I do the same operation on
a local file system, it succeeds= . The problem does not occur with Emacs
23 on the same NFS file system a= nd the same host machine.

This problem occurs with a direct NFS moun= t, or with autofs automounting
the NFS partition.

The mount comma= nd shows the following setup for the automouted NFS partition.

lco-c= ssg-nas-17:/export/volDH00/dona on /home/dona type nfs (rw,nosuid,relatime,= vers=3D3,rsize=3D1048576,wsize=3D1048576,namlen=3D255,hard,proto=3Dtcp,time= o=3D600,retrans=3D2,sec=3Dsys,mountaddr=3D10.30.145.230,mountvers=3D3,mount= port=3D20048,mountproto=3Dtcp,local_lock=3Dnone,addr=3D10.30.145.230)


In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)=C2=A0of 2017-09-22, modified by Debian built on lgw01-amd64-050
Windo= wing system distributor 'The X.Org Foundation', version 11.0.119060= 00
System Description:=C2=A0=C2=A0=C2=A0 Linux Mint 19 Tara

Confi= gured using:
=C2=A0'configure --build x86_64-linux-gnu --prefix=3D/u= sr
=C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
=C2=A0--= localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/u= sr/share/man --with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs2= 5:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/s= ite-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
=C2= =A0--with-sound=3Dalsa --without-gconf --build x86_64-linux-gnu
=C2=A0--= prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
=C2=A0= --localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D= /usr/share/man --with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emac= s25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs= /site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp
= =C2=A0--with-sound=3Dalsa --without-gconf --with-x=3Dyes --with-x-toolkit= =3Dgtk3
=C2=A0--with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
=C2=A0-= fdebug-prefix-map=3D/build/emacs25-jYekUr/emacs25-25.2+1=3D. -fstack-protec= tor-strong
=C2=A0-Wformat -Werror=3Dformat-security -Wall' 'CPPF= LAGS=3D-Wdate-time
=C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-= Bsymbolic-functions -Wl,-z,relro''

Configured features:
X= PM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
AC= L LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SC= ROLL_BARS GTK3 X11

Important settings:
=C2=A0 value of $LANG: en_= US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Fund= amental

Minor modes in effect:
=C2=A0 show-paren-mode: t
=C2= =A0 save-place-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mod= e: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2= =A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 b= link-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encry= ption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-only= : t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

R= ecent messages:
Loading 00debian-vars...done
Loading /etc/emacs/site-= start.d/50dictionaries-common.el (source)...
Loading debian-ispell...Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source).= ..done
Loading debian-ispell...done
Loading /var/cache/dictionaries-c= ommon/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-st= art.d/50dictionaries-common.el (source)...done
For information about GNU= Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/usr/= share/emacs/25.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/= debian-startup

Features:
(shadow sort mail-extr emacsbug message = dired format-spec rfc822 mml
mml-sec password-cache epg gnus-util mm-dec= ode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailhead= er sendmail rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-= utils finder-inf
better-defaults-autoloads paren edmacro kmacro saveplac= e ido
ein-autoloads request-autoloads websocket-autoloads package epg-co= nfig
seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu c= conv
cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric=
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/commo= n-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list = newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-esh= adow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu fo= nt-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese t= ibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek r= omanian slovak czech european ethiopic indian
cyrillic chinese charscrip= t case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-pre= loaded nadvice loaddefs button faces
cus-face macroexp files text-proper= ties overlay sha1 md5 base64 format
env code-pages mule custom widget ha= shtable-print-readable backquote
dbusbind inotify dynamic-setting system= -font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty= make-network-process emacs)

Memory information:
((conses 16 1035= 92 5550)
=C2=A0(symbols 48 21890 0)
=C2=A0(miscs 40 107 143)
=C2= =A0(strings 32 21123 5072)
=C2=A0(string-bytes 1 623755)
=C2=A0(vecto= rs 16 14765)
=C2=A0(vector-slots 8 463411 2722)
=C2=A0(floats 8 205 4= 0)
=C2=A0(intervals 56 295 0)
=C2=A0(buffers 976 18))

--0000000000001c5c18057f8684af--