Summary: | app-emulation/qemu-guest-agent-6.0.0 startup script shows no error despite failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | PetaMem R&D <info> |
Component: | Current packages | Assignee: | John Helmert III <ajak> |
Status: | UNCONFIRMED --- | ||
Severity: | minor | CC: | michal.privoznik, sam, tamiko, virtualization, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
PetaMem R&D
2021-08-27 07:59:13 UTC
Yeah, this is because the init script passes '-d' flag which causes two things: 1) qemu-ga daemonizes itself, unnecessarily. start-stop-daemon already does that, 2) due to a bug in qemu-ga, it fails to report error onto stderr and fails to return EXIT_FAILURE. Patches for 2) are posted here: https://lists.nongnu.org/archive/html/qemu-devel/2024-11/msg00460.html I'll open a MR to drop '-d' flag in a while. Huh, spoke too soon. Apparently 'start-stop-daemon --background' returns success even when the daemon fails to start. Guess we'll need to patch qemu-ga sources anyway. |