Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] First container run hangs #1530

Closed
bmacphail opened this issue Aug 24, 2024 · 9 comments
Closed

[Error] First container run hangs #1530

bmacphail opened this issue Aug 24, 2024 · 9 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed wait-on-user waiting for a reply

Comments

@bmacphail
Copy link

An issue was previously closed about this, but the issue appears to have regressed: #1382

Describe the bug
Distrobox enter hangs. Upon using Ctrl-C to cancel, the following error is returned:

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

To Reproduce

  1. Create a new Fedora 40 container in an openSUSE Tumbleweed host (in my case), and attempt to enter it. Using distrobox version 1.7.2.1-11 from the distro repo.

Expected behavior
The container runs.

The fix I was able to implement on my system is the same as in the issue linked above: modify line 624 of distrobox-enter to the following:

log_timestamp="$(date +%FT%TZ)"

Creating this issue so that the problem gets tracked and fixed.

@bmacphail bmacphail added the bug Something isn't working label Aug 24, 2024
@tifasoftware
Copy link

I am also having this issue

@tifasoftware
Copy link

That hot-fix also fixed the issue too. I will fork this and start a PR.

@tifasoftware
Copy link

I tested distrobox-git on AUR, and it looks like the issue's been fixed.

@89luca89
Copy link
Owner

Hi @bmacphail I need more context for this
Docker or podman?

I'm not able to reproduce your issue with either of those, on TW, Fedora and Ubuntu hosts

@89luca89 89luca89 added help wanted Extra attention is needed good first issue Good for newcomers wait-on-user waiting for a reply labels Oct 12, 2024
@TacoCake
Copy link

Hi @bmacphail I need more context for this Docker or podman?

I'm not able to reproduce your issue with either of those, on TW, Fedora and Ubuntu hosts

For me it's happening with Docker.

Though I have not tried to compile it from source, @tifasoftware says it's fixed already. Perhaps it's time for a new release?

@89luca89
Copy link
Owner

Probably yes! There will be one soon

@89luca89
Copy link
Owner

Can you try with the git version so I can be sure this is fixed?

@TacoCake
Copy link

Can you try with the git version so I can be sure this is fixed?

Just tried the latest commit, works correctly without hanging 🎉

@89luca89
Copy link
Owner

Perfect! Closing this, the new release will be following soon 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed wait-on-user waiting for a reply
Projects
None yet
Development

No branches or pull requests

4 participants