X-Loop: help-debbugs@HIDDEN Subject: bug#34355: Emacs confusion with file locking after hostname change Resent-From: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 06 Feb 2019 22:23:02 +0000 Resent-Message-ID: <handler.34355.B.15494917346647 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 34355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 34355 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.15494917346647 (code B ref -1); Wed, 06 Feb 2019 22:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2019 22:22:14 +0000 Received: from localhost ([127.0.0.1]:36297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1grVaA-0001j8-9b for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 17:22:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <Ulrich.Windl@HIDDEN>) id 1grVa6-0001it-N5 for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 17:22:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:55949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1grVZy-0005rQ-Q4 for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 17:22:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1grVZy-0007yV-1A for bug-gnu-emacs@HIDDEN; Wed, 06 Feb 2019 17:22:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1grVZw-0005r1-Vc for bug-gnu-emacs@HIDDEN; Wed, 06 Feb 2019 17:22:01 -0500 Received: from rrzmta1.uni-regensburg.de ([194.94.155.51]:35060) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <Ulrich.Windl@HIDDEN>) id 1grVZv-0005mq-PA for bug-gnu-emacs@HIDDEN; Wed, 06 Feb 2019 17:21:59 -0500 Received: from rrzmta1.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 85B6B671DD for <bug-gnu-emacs@HIDDEN>; Wed, 6 Feb 2019 23:21:53 +0100 (CET) Received: from gwsmtp1.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by rrzmta1.uni-regensburg.de (Postfix) with ESMTP id 714FF5EB62 for <bug-gnu-emacs@HIDDEN>; Wed, 6 Feb 2019 23:21:52 +0100 (CET) Received: from uni-regensburg-smtp1-MTA by gwsmtp1.uni-regensburg.de with Novell_GroupWise; Wed, 06 Feb 2019 23:21:52 +0100 Message-Id: <5C5B5DFF020000A10002F8A9@HIDDEN> X-Mailer: Novell GroupWise Internet Agent 18.1.0 Date: Wed, 06 Feb 2019 23:21:51 +0100 From: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 194.94.155.51 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi! In Emacs 25.3.1 I had the problem that Emacs refuses to save a modified = buffer after plugging in the network cable: The hostname changed through = DHCP, and now Emacs says the file is locked by another user with some PID. = However that PID is the only Emacs PID on the system, and it's Emacs' own = PID! I suspect that Emacs gets the hostname once during startup, and never = checks it again. (I could not find a match using "C-h a hostname") Regards, Ulrich Windl
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Subject: bug#34355: Acknowledgement (Emacs confusion with file locking after hostname change) Message-ID: <handler.34355.B.15494917346647.ack <at> debbugs.gnu.org> References: <5C5B5DFF020000A10002F8A9@HIDDEN> X-Gnu-PR-Message: ack 34355 X-Gnu-PR-Package: emacs Reply-To: 34355 <at> debbugs.gnu.org Date: Wed, 06 Feb 2019 22:23:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 34355 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 34355: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34355 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 7 Feb 2019 03:52:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 06 22:52:52 2019 Received: from localhost ([127.0.0.1]:36443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1grak8-0005d9-8b for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 22:52:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1grak6-0005ct-R5 for control <at> debbugs.gnu.org; Wed, 06 Feb 2019 22:52:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1grajx-0000gq-Jl for control <at> debbugs.gnu.org; Wed, 06 Feb 2019 22:52:44 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1grajv-0004LM-5i for control <at> debbugs.gnu.org; Wed, 06 Feb 2019 22:52:41 -0500 Subject: control message for bug 34355 To: <control <at> debbugs.gnu.org> X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: <E1grajv-0004LM-5i@HIDDEN> From: Glenn Morris <rgm@HIDDEN> Date: Wed, 06 Feb 2019 22:52:39 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tag 34355 confirmed
X-Loop: help-debbugs@HIDDEN Subject: bug#34355: Emacs confusion with file locking after hostname change Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 07 Feb 2019 03:55:01 +0000 Resent-Message-ID: <handler.34355.B34355.154951165721819 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 34355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Cc: 34355 <at> debbugs.gnu.org Received: via spool by 34355-submit <at> debbugs.gnu.org id=B34355.154951165721819 (code B ref 34355); Thu, 07 Feb 2019 03:55:01 +0000 Received: (at 34355) by debbugs.gnu.org; 7 Feb 2019 03:54:17 +0000 Received: from localhost ([127.0.0.1]:36448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gralV-0005fq-Im for submit <at> debbugs.gnu.org; Wed, 06 Feb 2019 22:54:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1gralT-0005fe-LV for 34355 <at> debbugs.gnu.org; Wed, 06 Feb 2019 22:54:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1gralN-0001DA-L7; Wed, 06 Feb 2019 22:54:09 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1gralN-0004Qr-H8; Wed, 06 Feb 2019 22:54:09 -0500 From: Glenn Morris <rgm@HIDDEN> References: <5C5B5DFF020000A10002F8A9@HIDDEN> X-Spook: KGB COSCO DHS Power Blowpipe Ciudad Juarez Recall NOC X-Ran: /ZrCu9,8@q'o3rC^[{BV/^mLmp=geXYR^{zS\IrDS+K~/hU6mYHGU]pXb\P_trE&O)H9J@ X-Hue: brightgreen X-Attribution: GM Date: Wed, 06 Feb 2019 22:54:09 -0500 In-Reply-To: <5C5B5DFF020000A10002F8A9@HIDDEN> (Ulrich Windl's message of "Wed, 06 Feb 2019 23:21:51 +0100") Message-ID: <3ef8knti6.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Ulrich Windl" wrote: > In Emacs 25.3.1 I had the problem that Emacs refuses to save a > modified buffer after plugging in the network cable: The hostname > changed through DHCP, and now Emacs says the file is locked by another > user with some PID. However that PID is the only Emacs PID on the > system, and it's Emacs' own PID! > I suspect that Emacs gets the hostname once during startup, and never > checks it again. If it worked like that, you wouldn't have a problem. But since https://debbugs.gnu.org/19438, system-name does change dynamically.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.