-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
In ProgressThis issue is actively being worked by the assignee, please do not work on this at this time.This issue is actively being worked by the assignee, please do not work on this at this time.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.
Description
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Podman run fails with Error: error chowning container 01041b61625c64e34a849b974c5aa9dcc34377fd5025b9ee7fd629b2a0c5ad79 workdir to container root: chown /run/user/1000/test: read-only file system when I try to run a container with a read only rootfs.
This worked with v2.2.1.
Steps to reproduce the issue:
$ ROOTFS=/run/user/1000/test
$ mkdir $ROOTFS
$ podman unshare mount --rbind -r / $ROOTFS
$ podman unshare mount -t tmpfs none $ROOTFS/run
$ podman run -i -t --rootfs $ROOTFS sleep 5
Describe the results you received:
Error: error chowning container 01041b61625c64e34a849b974c5aa9dcc34377fd5025b9ee7fd629b2a0c5ad79 workdir to container root: chown /run/user/1000/test: read-only file system
Version
$ podman version
Version: 3.0.0-rc2
API Version: 3.0.0
Go Version: go1.15.6
Git Commit: 510a983a752a136a5df0bdbff9d14db0490956b2
Built: Thu Feb 4 13:51:00 2021
OS/Arch: linux/amd64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
In ProgressThis issue is actively being worked by the assignee, please do not work on this at this time.This issue is actively being worked by the assignee, please do not work on this at this time.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.