-
Notifications
You must be signed in to change notification settings - Fork 2.9k
When creating exit command, pass storage options on #3328
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
When creating exit command, pass storage options on #3328
Conversation
We made changes earlier that empty storage options when setting storage driver explicitly. Unfortunately, this breaks rootless cleanup commands, as they lose the fuse-overlayfs mount program path. Fix this by passing along the storage options to the cleanup process. Also, fix --syslog, which was broken a while ago (probably when we broke up main to add main_remote). Fixes containers#3326 Signed-off-by: Matthew Heon <mheon@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@edsantiago PTAL. Can't promise this does anything about #3325 but I confirmed it fixes 3326. |
|
Good news / bad news. You've fixed the problems when running as nonroot; but those problems (both 3325 and 3326) are now present when run as root. (via sudo, at least) |
|
More news: the (root) hang on |
|
So... metacopy is breaking cleanup processes, somehow. That's rather confusing. |
|
|
This is rather confusing because I'm pretty sure metacopy is overlay-specific? |
|
I can't reproduce that error message. I've tried using all manner of combinations of Tomorrow is another day, and maybe the bits will behave better then. |
|
@edsantiago |
|
LGTM |
|
I confirm this fixes #3325 |
|
@giuseppe please try it as root, with |
|
|
|
with the following patch it seems to work for me: |
StringSliceVar was distorting options. StringArrayVar seems to not mangle them, so use that instead. Thanks to Giuseppe for finding this one. Signed-off-by: Matthew Heon <mheon@redhat.com>
|
Repushed with your patch @giuseppe - thanks |
|
podman-in-podman seems like it might be failing consistently on the runlabel global options test... Going to try again. If we get another failure I'll fix it. |
|
Alright, I got a theory. Pushed a commit. Let's see... |
|
Alright, that wasn't it... |
|
Alright, I have no idea what's going on with the test failure here. No clues in the logs and I can't reproduce... Probably going to just skip (for podman in podman only, if possible) |
This is failing 100% on CI. No time to debug why properly before we need to cut a release, but is probably related to the change from a slice to an array. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
0ea7782 to
2abde10
Compare
We need to cut a release. We can investigate further next week. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
|
@haircommander @rhatdan @jwhonce Can I get a |
|
/hold |
|
It's ready. Finally. |
We made changes earlier that empty storage options when setting storage driver explicitly. Unfortunately, this breaks rootless cleanup commands, as they lose the fuse-overlayfs mount program path.
Fix this by passing along the storage options to the cleanup process.
Also, fix --syslog, which was broken a while ago (probably when we broke up main to add main_remote).
Fixes #3326