Can't access file originating from LoadCredentialEncrypted=
#411
eriksjolund
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had to add the quadlet directive
to be able to access a file that originated from
LoadCredentialEncrypted=
when using rootless podman.Here is the quadlet:
For details, see
The specifier
%d
is substituted with the credentials directory. (In my demo the credentials directory was/run/user/1013/credentials/demo.service
)For details about the specifier
%d
, see man pagehttps://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Specifiers
I'm not sure if the SELinux rules should be relaxed to allow this?
Here is a quick analysis
I can create a new issue in https://github.com/containers/container-selinux/issues
if you think this rule should be added to SELinux.
Side note:
There are discussions in
about how Podman could support
LoadCredentialEncrypted=
We could also wait with doing any changes until issue 25118 has been solved.
Beta Was this translation helpful? Give feedback.
All reactions