Hello,
I am currently working on a fix for:
https://github.com/systemd/systemd/issues/2809

How does a machine get deregistered?
I look for a proper way to remove the machine from the hashmap
(see below). Does systemd have a function that provides deregistering a
machine?

> if (hashmap_get(manager->machines, name))
>         return sd_bus_error_setf(error, BUS_ERROR_MACHINE_EXISTS,
>                              "Machine '%s' already exists", name);


I was thinking about deregistering the machine right after the kill via
SIGINT to the systemd PID1 in the machine.
What would be the best way to do this?

best regards

Chris

Attachment: signature.asc
Description: PGP signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to