-
Notifications
You must be signed in to change notification settings - Fork 119
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
Calling fakeroot (in an Archlinux container) hangs forever #7331
Comments
I should add that there was a previous issue, moby/moby#45436, and I have set the following engine config: {
// ...
"default-ulimits": {
"nofile": {
"Name": "nofile",
"Hard": 1024,
"Soft": 524288
}
},
// ...
} but it's freezing with and without this. |
Exactly. I am currently encountering this same problem at the Archlinux container, where building packages for Archilinux for armv7l at that container using makepkg fails. During the process of makepkg, fakeroot is called, but it freezes and does not move forward. |
I can confirm that I have the same issue with all my containers building AUR packages for Arch Linux (x86_64). Forcing a downgrade of the fakeroot package to the previous version: prior to running the makepkg command allows the build to run successfully. |
Are you running the same version of runc on your Linux installation? Would you be able to post the As the previous issue (linked in the moby repo) was related to Ulimits, and I'm aware that runc v1.1.13 had fixes to work around an issue in the Go runtime (see opencontainers/runc#4277, and opencontainers/runc#4299), which could result in the ulimits not always being applied. The next release of Docker Desktop, should come with runc 1.1.13 (in case that's the cause)
@drzee99 do you know what the version of fakeroot was that didn't work? (In case colleagues want to look at differences between those versions to narrow down what could cause it). |
Nevermind, I see the original comment at the top mentions it; 😅
|
Snoopy arch package builds started to hang unexpectedly at some point. Found the workaround described here: docker/for-mac#7331
fakeroot v1.36 continues to be broken as well, I found this issue while running |
Packaging-related Actions for Arch Linux started failing because the whole process gets stuck on a hanged `fakeroot` process. This seems to be the relevant issue: docker/for-mac#7331 Disabling Arch Linux packaging support until this issue is resolved.
I am using docker-ce on Ubuntu. This promblem also happened, when I ran fakeroot (v1.35 & v1.36) in the archlinux and fedora containers. docker version
docker info
|
Description
fakeroot v1.35 to be broken. It just freezes forever, and you have to kill the container. I'm not sure if this is Archlinux-specific, but it worked ~2 weeks ago, and no longer does.
This is a Docker for Mac-issue, it works fine in Docker-for-Linux with the same Docker version. Because it works on Linux, I'll report this here - but if this turns out not to be a Docker issue, please let me know. :)
Reproduce
docker run -it --platform=linux/amd64 archlinux/archlinux:base-devel sh -c "fakeroot"
Expected behavior
I should see a shell that's interactive.
docker version
Client: Version: 26.1.4 API version: 1.45 Go version: go1.21.11 Git commit: 5650f9b Built: Wed Jun 5 11:26:02 2024 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.31.0 (153195) Engine: Version: 26.1.4 API version: 1.45 (minimum version 1.24) Go version: go1.21.11 Git commit: de5c9cf Built: Wed Jun 5 11:29:12 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.33 GitCommit: d2d58213f83a351ca8f528a95fbd145f5654e957 runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
7200E6FD-1BC6-461B-878E-83E3CBF00FC6/20240614231450
Additional Info
No response
The text was updated successfully, but these errors were encountered: