distrobox icon indicating copy to clipboard operation
distrobox copied to clipboard

Distrobox enter hangs indefinitely upon restarting image

Open pgosar opened this issue 9 months ago • 3 comments

Please, before opening a bug:

  • make sure you've read the documentation.
  • Ensure there isn't already an open issue about this.
  • Ensure there isn't already a closed/resolved issue about this.

Describe the bug When using the command distrobox enter , it hangs. I have a decently powerful laptop and let it run for 30 minutes. Upon ending the process, I am met with this message. This happens everytime I restart the container.

/usr/bin/distrobox-enter: line 680: /home/<user>/.cache/distrobox/.ubuntu-20-04.fifo: No such file or directory

Distrobox is using docker behind the scenes.

To Reproduce distrobox create -i ubuntu:20.04

distrobox enter ubuntu-20-04

Expected behavior I'd expect it to not hang. Note that it does work fine if I end the process and enter the image again. Furthermore I believe there should be a fifo file being created under $home/.cache/distrobox? However no matter what I do such as stopping the running image, remaking it, etc. this file does not show up.

Logs create.txt - first command enter.txt - second command

Attach also the output of podman logs or docker logs, possibly with --latest flag docker.txt - docker logs

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? - docker
  • Which version or podman, docker or lilipod? - Docker version 26.1.1, build 4cf5afaefa
  • Which version of distrobox? - 1.7.2.0
  • Which host distribution? - Arch Linux, kernel 6.8.9
  • How did you install distrobox? - with pacman

Additional context Add any other context about the problem here.

pgosar avatar May 08 '24 00:05 pgosar