From: Ivan Kruglov Date: Fri, 11 Oct 2024 12:38:58 +0000 (+0200) Subject: machine: listen on io.systemd.MachineImage socket X-Git-Tag: v257-rc1~238^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84d7447a883c2db2322a34b346693ae3d67d991a;p=thirdparty%2Fsystemd.git machine: listen on io.systemd.MachineImage socket --- diff --git a/src/machine/machined-varlink.c b/src/machine/machined-varlink.c index 9d039fadd62..b43f5865874 100644 --- a/src/machine/machined-varlink.c +++ b/src/machine/machined-varlink.c @@ -699,7 +699,11 @@ static int manager_varlink_init_machine(Manager *m) { r = sd_varlink_server_listen_address(s, "/run/systemd/machine/io.systemd.Machine", 0666); if (r < 0) - return log_error_errno(r, "Failed to bind to varlink socket: %m"); + return log_error_errno(r, "Failed to bind to io.systemd.Machine varlink socket: %m"); + + r = sd_varlink_server_listen_address(s, "/run/systemd/machine/io.systemd.MachineImage", 0666); + if (r < 0) + return log_error_errno(r, "Failed to bind to io.systemd.MachineImage varlink socket: %m"); r = sd_varlink_server_attach_event(s, m->event, SD_EVENT_PRIORITY_NORMAL); if (r < 0)