GNU bug report logs - #41042
Compilation (Comint) is consistently killed when run with default directory /sudo::root

Previous Next

Package: emacs;

Reported by: akater <nuclearspace <at> gmail.com>

Date: Sun, 3 May 2020 08:19:01 UTC

Severity: normal

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 41042 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: akater <nuclearspace <at> gmail.com>
Cc: 41042 <at> debbugs.gnu.org
Subject: Re: bug#41042: Compilation (Comint) is consistently killed when run
 with default directory /sudo::root
Date: Sun, 03 May 2020 14:26:10 +0200
akater <nuclearspace <at> gmail.com> writes:

Hi,

> I'm using Emacs 28.0.50 (build 1, x86_64-pc-linux-uclibc) of 2020-05-03.
>
> Compilation processes started with #'compile are killed after some time
> when default-directory is let-bound to /sudo::/
>
> Example:
>
> emacs -Q
>
> (require 'tramp)
> (require 'compile)
> (let ((default-directory "/sudo::/")) (compile "sleep 300"))
>
> This started to happen between January 1 and April 30 (most likely
> between March 1 and April 15 but I can't be completely sure).  I'm
> calling such code regularly; it is used by ebuild-mode package in the
> main Gentoo repository.

Well, this is hit by a recent change, that tramp-cleanup-connection
kills now *all* connection related processes. This should not happen for
remote asynchronous processes belonging to a connection with a session
timeout like "sudo". I've fixed this in master, could you please check?

Best regards, Michael.




This bug report was last modified 5 years and 78 days ago.

Previous Next


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