GNU bug report logs - #44644
/tmp/emacs0/ not cleaned up upon exit

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 14 Nov 2020 20:31:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44644 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: bug#44644: /tmp/emacs0/ not cleaned up upon exit
Date: Fri, 27 Nov 2020 10:12:17 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: jidanni <at> jidanni.org,  44644 <at> debbugs.gnu.org
> Date: Fri, 27 Nov 2020 08:48:30 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > At most, yes.  The problem is, it isn't easy to know when the
> > directory is under /tmp (we don't use temporary-file-directory, for
> > the reasons explained in the comment to server-socket-dir).  Maybe we
> > should put some special property on server-dir when that is the case?
> 
> Did you mean server-socket-dir instead of server-dir here?

Yes, sorry.

> Yes, I guess that'd be possible, but the user may change
> server-socket-dir without changing the property...
> 
> We could literally just check whether the parent of server-socket-dir is
> "/tmp" and only delete then.  It'd be pretty defensive, but should fix
> this minor annoyance.

If no better ideas come to mind, yes.

I actually don't share the feeling of an annoyance here: /tmp is
regularly cleaned up anyway, right?  But that's me.




This bug report was last modified 4 years and 180 days ago.

Previous Next


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