start with NOTIFYACCESS=all
but then sd_notify(0, "NOTIFYACCESS=main")
#18799
eriksjolund
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Does this apply to quadlet? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Just an idea. I don't know if it would work.
Currently the
podman generate systemd ...
generates a unit withand
Click me
Maybe Podman could restrict
NotifyAccess
tomain
after the mainpid has been set with sd_notify?There is a new feature in systemd that might be useful
https://github.com/systemd/systemd/blob/6aea5ce814c0723474e0741df45dbf2c202ba739/man/sd_notify.xml#L169-L175
(the feature has not yet landed in a release)
Beta Was this translation helpful? Give feedback.
All reactions