-
Notifications
You must be signed in to change notification settings - Fork 762
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
builddah build still failing on unpacking rpm package #3309
Comments
Using this worked.
|
@nalind Any ideas? |
When run in rootless mode, crun and runc are giving us a /proc that's owned by an unmapped user (which appears as 65534:65534) rather than by the in-container root user, so if we attempt to upgrade the filesystem package, RPM fails because it can't set the permissions on /proc to match the 0:0 specified in the package's payload. @tsailiming, are you running as root or as a non-root user? |
I tried with root and it worked on my fc34 box. On RHEL 8.3, it was already running as root. |
So there is nothing we can do to fix this in rootless mode. I think the filesystem package would need to be able to handle this. Or we just mark this package as a failure in rootless mode installs. There is no way for us to change the permissions of /proc in rootless mode. It will always we undefined. $ podman run alpine ls -ld /proc @giuseppe Any thoughts on this? |
|
You can not mount /proc after creating the user namespace? |
A friendly reminder that this issue had no activity for 30 days. |
Since there is no way for us to fix, this needs to be fixed in the filesystem package. |
Description
Doing a yum update on Centos8-stream base image results in the following
Upgrading : filesystem-3.8-4.el8.0.1.x86_64 2/203
Error unpacking rpm package filesystem-3.8-4.el8.0.1.x86_64
Installing : cracklib-dicts-2.9.6-15.el8.x86_64 3/203
error: unpacking of archive failed on file /proc: cpio: chown failed - Inappropriate ioctl for device
error: filesystem-3.8-4.el8.0.1.x86_64: install failed
Steps to reproduce the issue:
My Dockerfile
Describe the results you received:
Describe the results you expected:
This should work based. Based on past issues, this should have already been fixed.
Tried with this and same error.
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: