-
Notifications
You must be signed in to change notification settings - Fork 235
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 mounting tmpfs on /var/lib/mock/$chroot-bootstrap/root/proc in docker container #1100
Comments
Please read You are running 3.5 version and there were significant changes done in 4.x version. You will save a lot of time if you move to 4.x. |
I did actually read that before posting here and found nothing that seemed to me to be relevant.
So that's a problem then because …
That's right.
I would love to but #1062, caused by rpm-software-management/rpm-sequoia#46 makes using F38, which is where mock 4.x is first available (outside of building my own backport for F37), impossible to use. |
Hrm. Same issue with mock 4.0:
|
I don't have |
I have both of those enabled in fact. |
Weird, can you test the mount command in isolation?
.. and diagnose why it is failing? |
Should I be doing that test within |
Mock switches to root on demand, per |
But unfortunately, as you can see, even root in the Docker container can't read |
Aren't Docker's capabilities a runtime (i.e. In case it was not clear, I am having the problem of running |
Any more ideas here? |
Can you perhaps check with |
This is interesting, I'm curious if you could dump the tarball out from |
That would mean each workspace would need to create it's own tarballs and we could have hundreds of workspaces. That's why I want to bake the tarball right into the image (which we rebuild weekly, just to keep the mock host updated). |
Can you try |
I was able to run mock at container build time using: |
Discussed in #1095
Originally posted by brianjmurrell June 1, 2023
I am trying to build a docker image for mock building. To speed up it's usage, I want to prime it with the root_cache tarballs.
In my Dockerfile I have added a:
But when I try to build that image, mock hits an error trying to mount the bootstap /proc:
Is what I am trying to do impossible?
The text was updated successfully, but these errors were encountered: