New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: podman-system-generator failed with exit status 1 #17374
Comments
|
@barzog thanks for reaching out. Can you spot any traces via |
|
Nope, except That's all what outputted to journald when running sudo systemctl daemon-reload |
(Exit code 1) When there are no configuration files to parse, quadlet should exit successfully (0), not with a failure. |
Quadlet should not exit with failure if no files to process have been found. Otherwise, even simple operations such as reloading systemd will fail as it retriggers generators. Fixes: containers#17374 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
|
Thanks folks! I opened #17398 to fix the issue. We'll prepare a Podman v4.4.1 soon. |
Quadlet should not exit with failure if no files to process have been found. Otherwise, even simple operations such as reloading systemd will fail as it retriggers generators. Fixes: containers#17374 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Quadlet should not exit with failure if no files to process have been found. Otherwise, even simple operations such as reloading systemd will fail as it retriggers generators. Fixes: containers#17374 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Issue Description
After upgrading to podman 4.4 (ArchLinux using latest podman 4.4.0-2) on every systemctl daemon-reload I see following in logs:
systemd[1311594]: /usr/lib/systemd/system-generators/podman-system-generator failed with exit status 1
I suspect that this caused by introduced in 4.4 quadlet integration. But my system does not have any needed dirs or files for quadlet (/etc/containers/systemd), I rely on manually created systemd files.
Steps to reproduce the issue
Just run systemctl daemon-reload or /usr/lib/podman/quadlet /etc/containers/systemd ; echo $?
Describe the results you received
systemd[1311594]: /usr/lib/systemd/system-generators/podman-system-generator failed with exit status 1
Describe the results you expected
No errors shown in log files
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Arch Linux, kernel 5.19.13
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: