Closed markstos closed 9 months ago
Could you inclue the .container file or a reproducer, so we have the exact problem?
Example triggering .container
file contents:
[Container]
ContainerName="killer-quotes"
Image="killer-quotes"
A friendly reminder that this issue had no activity for 30 days.
Issue Description
After upgrading to Podman 4.6.2 on Ubuntu 22 and creating a
.container
file,podman-run
would fail with errors like:with ""Unmounting .../merged invalid argument" and Error: mounting storage for container ...: creating overlay mount to ...: permission denied
By looking closely at the Quadlet
-dryrun
output, I noticed that quoting had not been handled properly in the.container
file-- It should be handled like systemd handles it and allow values to be quoted. Instead, both the container name and image name were generated such that the double quotes were expected to be actually part of the image and container name.Podman should either throw an error about this during
-dryrun
, or even better: Allow values to be quoted like systemd does.Although we are not using the most recent version of Podman, I see no issues suggesting that the issue has been identified and fixed already.
Steps to reproduce the issue
Steps to reproduce the issue
.container
file and quote the values forContainerName=
andImageName=
quadlet -dryrun
Describe the results you received
/usr/bin/podman run "--name=\"pdf-render-dev\"" ... "\"localhost/pdf-render-dev\""
Describe the results you expected
/usr/bin/podman run "--name=pdf-render-dev ... localhost/pdf-render-dev
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting