OpenFile= systemd directive is now available in Fedora CoreOS next stream #17789
eriksjolund
started this conversation in
General
Replies: 1 comment 2 replies
-
Thanks for sharing, @eriksjolund! @alexlarsson WDYT? |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
The new systemd directive
OpenFile=
is available in systemd 253 (released 15 February 2023).I think
OpenFile=
could be useful for Podman, especially if it could becombined with
The Fedora CoreOS next stream (currently
38.20230310.1.0) ships systemd 253
I booted up fedora-coreos-38.20230310.1.0-qemu.aarch64.qcow2
and made a minimal test with
OpenFile=
.(I didn't test
OpenFile=
together with Podman)core does not have read access to the file.
The systemd system service onefile.service was able to print "hello from secret file" to the journal.
The file /etc/secretfile could be read by the service although the user core does not have read permission to the file.
Beta Was this translation helpful? Give feedback.
All reactions