-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Silverblue toolbox script broke because rootless 'podman create' can't chown $XDG_DATA_HOME/containers/storage/vfs #1522
Comments
I think we vendored some c/storage changes for 0.9.2, so I would imagine it's some of those |
this should be fixed by: #1521 |
also, we need better tests for the rootless containers, we should not regress on such a basic feature. Not sure if we can get it working inside of a container but the hardest part is to setup multiple mappings for an user (via |
@giuseppe good thinking. This sounds like something that would be in the territory of system-testing. Since those don't actually exist yet, for the near-term perhaps something light-weight could be added at the integration-test level (I'm guessing)? Looking forward, @ypu is getting ginkgo-based system tests added by another PR. The goal is to have those tests consumed by external tooling, at and after packaging. Reasoning: Since nothing gets exercised, w/o actually writing test content. I'm assuming it's easy to port a go-based integration test, over to a ginkgo system-test later on. That's why I suggest adding something at the integration-level, then we port/expand it later. Sound feasible? |
@cevich we have some integration tests for the rootless case, but they are forced to use only one mapping as we don't have an user configured on the system. This is helpful but won't catch regressions like this one :( We could probably take advantage of the ginkgo tests, we will still need to configure an user on the system that has multiple IDs available. |
/kind bug
Description
Here is the toolbox script that we have been working on for Fedora Silverblue.
If you follow the
README.md
until thefedora-toolbox create
step, then you'll see that thepodman create ...
command fails:This works fine if I use
podman-0.9.1.1
with the fix for #1452 cherry-picked on top, but breaks if I use the 0.9.2 release.Note that you'll need the patch from runc PR #1862 or you have to rollback to
fedora-toolbox
commit a878a1fe40e4c24a.Output of
podman version
:Note that this is the
podman-0.9.2-2.git81df604.fc28.x86_64
build which is the 0.9.2 release with the version number bumped post-release.Output of
podman info
:Additional environment details (AWS, VirtualBox, physical, etc.):
This is a physical laptop running Fedora 28 Silverblue 28.20180918.0, with
podman
andrunc
overlaid on top (see above).The text was updated successfully, but these errors were encountered: