spiegel_podman/cmd
Matt Van Horn f49b4b3f84
fix: emit quadlet generator logs to stderr even when kmsg succeeds
Logf wrote to /dev/kmsg and only fell back to stderr when the kmsg
write failed or -dryrun was set. As root the kmsg write succeeds, so
nothing reached stderr and `sudo systemd-analyze --generators verify`
(which captures stderr, not kmsg) showed no diagnostics, while the same
command without sudo did.

Write to /dev/kmsg best-effort for early-boot/journal capture AND always
copy the same line to stderr so verify and interactive sudo runs surface
the messages. Rootless behavior is unchanged.

Fixes: #28888
Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-06-29 23:58:20 -07:00
..
podman Handle uninstantiated template quadlets 2026-06-23 14:34:20 +02:00
podman-mac-helper Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
podman-testing Fix staticcheck SA4023 warnings in call.go and sign.go 2026-06-12 09:53:20 +02:00
podman-wslkerninst RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
quadlet fix: emit quadlet generator logs to stderr even when kmsg succeeds 2026-06-29 23:58:20 -07:00
rootlessport Clean up outdated slirp4netns references in comments 2026-04-13 09:05:09 -04:00
winpath Fix GOOS=windows prealloc linter warnings 2026-02-11 11:41:11 -08:00