diff mbox series

[Bug,1886811] Re: systemd complains Failed to enqueue loopback interface start request: Operation not supported

Message ID 159423719152.31014.16822620682754425167.malone@soybean.canonical.com (mailing list archive)
State New, archived
Headers show
Series [Bug,1886811] Re: systemd complains Failed to enqueue loopback interface start request: Operation not supported | expand

Commit Message

Laurent Vivier July 8, 2020, 7:39 p.m. UTC
It seems systemd is trying to use RTM_SETLINK.

Could you try this patch:
diff mbox series

Patch

diff --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
index c0687c52e62b..b09b5b7c13e0 100644
--- a/linux-user/fd-trans.c
+++ b/linux-user/fd-trans.c
@@ -1200,6 +1200,7 @@  static abi_long target_to_host_data_route(struct nlmsghdr *nlh)
         break;
     case RTM_NEWLINK:
     case RTM_DELLINK:
+    case RTM_SETLINK:
         if (nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(*ifi))) {
             ifi = NLMSG_DATA(nlh);
             ifi->ifi_type = tswap16(ifi->ifi_type);