GNU bug report logs - #76950
tramp caches non-existing podman containers

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>

Date: Tue, 11 Mar 2025 17:37:02 UTC

Severity: normal

Fixed in version 31.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
Subject: bug#76950: closed (Re: bug#76950: tramp caches non-existing
 podman containers)
Date: Wed, 12 Mar 2025 20:00:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#76950: tramp caches non-existing podman containers

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 76950 <at> debbugs.gnu.org.

-- 
76950: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76950
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
Cc: 76950-done <at> debbugs.gnu.org
Subject: Re: bug#76950: tramp caches non-existing podman containers
Date: Wed, 12 Mar 2025 20:59:10 +0100
Version: 31.1

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

Hi Konstantin,

>> Other than that, the patch is definitely an improvement, so if it's not
>> clear why this "cache removal with delay" happens, I think patch still
>> may be worth installing.
>
> I'll polish it a little bit, will push it later.

I've pushed it to master, closing the bug.

Best regards, Michael.

[Message part 3 (message/rfc822, inline)]
From: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: tramp caches non-existing podman containers
Date: Tue, 11 Mar 2025 20:35:51 +0300
When tramp is used to connect to a container, it provides completion
based on what containers are currently running. However, after
containers exit, the completion annoyingly still enlists those dead
containers.

# Steps to reproduce

1. Run any container, e.g.: `podman run --rm -it ubuntu:24.04`
2. Start Emacs as `emacs -Q --eval "(require 'tramp)"`
3. Press `C-x C-f /podman:`, then press TAB to complete the minibuffer
text to container name (it should get completed).
4. Cancel with C-g
5. Exit the container
6. Repeat step 3

## Expected

You'd get no completion because no containers are running.

## Actual

You'd get completion for the non-existing container.

# Version

Emacs built yesterday from master, commit
94ba1b097ed12b9b77ecef4899c18b46b7e2dd36



This bug report was last modified 128 days ago.

Previous Next


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