Why does "podman generate systemd" generate "Type=forking" (when run without --new)? #15053
eriksjolund
started this conversation in
General
Replies: 2 comments 1 reply
-
I found a quote from the PR "but it doesn't really work well since we're competing with the default |
Beta Was this translation helpful? Give feedback.
1 reply
-
@vrothberg PTAL |
Beta Was this translation helpful? Give feedback.
0 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.
-
"systemd generate systemd" (without --new)
podman generate systemd
without --new generates services withType=forking
test 1
test 2
test 3
"systemd generate systemd" (with --new)
podman generate systemd
with --new generates services withType=notify
Discussion
Could it be that
Type=forking
was chosen because of the default value for thefor the
podman run
option --sdnotify? The default value is currently container.That would explain the design choice for test 1 but not for test 2 and test 3.
I'm starting to think that the default value for --sdnotify should be changed from container to conmon.
It would then be possible for
systemd generate systemd
to generateType=notify
for test 1, test 2, test 3.Beta Was this translation helpful? Give feedback.
All reactions