Space after multi-line backslash in Quadlet causes infinite loop in generator #21109
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
The following quadlet definition causes
podman-system-generator
to get stuck in an infinite loop:It's really important there is a space after the backslash. Otherwise it doesn't happen.
Steps to reproduce the issue
Steps to reproduce the issue
/etc/containers/systemd/foo.container
(make sure the space after the backslash persists)/usr/lib/systemd/system-generators/podman-system-generator -v -dryrun
quadlet-generator[94834]: Loading source unit file /etc/containers/systemd/foo.container
Describe the results you received
Generator gets stuck, takes 100% of a CPU core,
systemctl daemon-reload
gets stuck.Describe the results you expected
Either it works or it gives an explicit error (is it invalid syntax to have a space after the backslash?)
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
Bare metal AlmaLinux 9.3 install
Additional information
No response
The text was updated successfully, but these errors were encountered: