git cannot fetch: fatal: fetch-pack: unable to fork off sideband demultiplexer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Docker Images |
New
|
Undecided
|
Unassigned | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned | ||
git (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
There is a weird bug affecting the Ubuntu 22.04 Docker Image that seems to only be triggered in certain environments.
For some reason, when running certain git commands, the following happens:
https:/
```
fatal: fetch-pack: unable to fork off sideband demultiplexer
```
On top of that, with the same 22.04 Docker Image, some errors related to GPG are happening:
https:/
I believe this is due to an incompatible OS + Kernel combination, or due to some VMware customization.
The entirety of the analysis is available in those two GitHub issues - although they're initially related to ArgoCD, the issue seems to be with the vanilla Ubuntu 22.04 Docker Image (and maybe with the Ubuntu 4.15.0-167-generic kernel).
Our enviornment:
Kubernetes cluster running on VMware Tanzu (v1.21.9+vmware.1):
Ubuntu 16.04.7 LTS
Linux 4.15.0-167-generic
Container Runtime: Docker 20.10.9
Image having issues:
- ubuntu:22.10
Steps to reproduce the issue:
- Get a VMware Tanzu Kubernetes cluster
- Start a Pod with ubuntu:21.10
- Try to do `git clone git://git.
- Notice that you've successfully cloned the repo
Now, with Ubuntu 22.10:
- Get a VMware Tanzu Kubernetes cluster
- Start a Pod with ubuntu:22.10
- Try to do `git clone git://git.
Result:
Cloning into 'linux'...
error: cannot create async thread: Operation not permitted
fatal: fetch-pack: unable to fork off sideband demultiplexer
We believe this might be an issue with the Ubuntu 22.10 Docker image (?) and VMware Tanzu together.
We've noticed that libpthread is not linked in the git binary, and that might explain the fork issue, althoguh not completely.
We've also noticed (but this should be OK?) that we don't have enough entropy on /dev/random (being a VM), but I don't think this is really the problem.
Can someone help us out and point us in the right direction?
We can eventually continue the conversation in one of the two above mentioned ArgoCD issues.
tags: | removed: foundations-triage-discuss |
Changed in git (Ubuntu): | |
status: | New → Invalid |
Changed in git (Ubuntu): | |
importance: | Undecided → Low |
Changed in ubuntu: | |
status: | New → Invalid |
Thank you for all the analysis in the above-mentioned GitHub issues. I've linked the "Ubuntu Docker Images" project, to make the corresponding team aware of this issue.