GNU bug report logs - #34355
Emacs confusion with file locking after hostname change

Previous Next

Package: emacs;

Reported by: "Ulrich Windl" <Ulrich.Windl <at> rz.uni-regensburg.de>

Date: Wed, 6 Feb 2019 22:23:02 UTC

Severity: normal

Tags: confirmed

Full log


View this message in rfc822 format

From: "Ulrich Windl" <Ulrich.Windl <at> rz.uni-regensburg.de>
To: 34355 <at> debbugs.gnu.org
Subject: bug#34355: Emacs confusion with file locking after hostname change
Date: Wed, 06 Feb 2019 23:21:51 +0100
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






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

Previous Next


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