vmspawn: report "systemd-vmspawn" as "service" to machined
authorLennart Poettering <lennart@poettering.net>
Mon, 27 May 2024 12:34:10 +0000 (14:34 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 14 Jun 2024 20:22:02 +0000 (21:22 +0100)
commit73fade298ab56f4bc556484622691f04a8805dff
tree15da5a4c9916f6936e7a94096dff510fde2283f9
parent9ace806fcb1d992a0b210a3735d8babf125018a2
vmspawn: report "systemd-vmspawn" as "service" to machined

The "service" field that one is supposed to pass to machine is supposed
to indicate the implementation of the client, not the service unit the
client runs in (which is typically even a scope unit, not a system
unit). Hence fix that, and make it closely match what systemd-nspawn
does.
src/vmspawn/vmspawn.c