-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman: config file uses root defaults on rootless #2508
Comments
There is definitely code that adjust the default |
(Also, to be clear, this isn't the fault of the config file - the path in question is specified by |
(Sure, but normally, when a line is commented out in a config, the defaults should be used. But here, the "root defaults" and not the "rootless defaults" are being used.) By the way, on Debian: |
@TomSweeneyRedHat question about your baseline tests: Do you run them on a fresh VM, with no config files, or with just on your laptop? I'm starting to think that we need to get some sort of testing on a VM simulating a fresh install going, with none of the current E2E test defaults (custom config file, non-standard storage driver, etc) - something to make sure the default install doesn't regress for basic tasks - and I'm wondering if we can use your baseline as a basis for some of that. (I don't know for sure yet if this is a regression or some other strange environment problem preventing our rootless detection code from working, but I'm starting to get more paranoid about our testing not catching common cases like this) |
Alright, clearly |
podman's man page also writes about
You can't write to this as non-root on Debian: |
I've opened a PR here: #2515 |
@mheon when I run the baseline tests for checking a release, I spin up a fresh and shiny new VM, install Docker and the new Podman on it, then spin off the test. I install Docker as part of the test is to make sure we can send an image from Podman into Docker and run it there. |
@TomSweeneyRedHat Alright, glad to hear that... I like knowing we're actually testing in real-world conditions |
fixed by #2515 |
/kind bug
Description
When using a config file to point to the needed binaries in rootless mode, podman seems to load defaults, which are intended for root mode.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Same behavior as when using command-line parameters (this works):
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
Debian 9 on VirtualBox 6 on Windows 10 on AMD 64
The text was updated successfully, but these errors were encountered: