From: Zbigniew Jędrzejewski-Szmek Date: Fri, 5 Dec 2025 11:12:03 +0000 (+0100) Subject: sd-netlink: read error message for NFNL_MSG_BATCH_BEGIN (#39967) X-Git-Tag: v259-rc3~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9454927c76d06ad67282983029f89aa149bcc277;p=thirdparty%2Fsystemd.git sd-netlink: read error message for NFNL_MSG_BATCH_BEGIN (#39967) Before: ``` $ unshare --user --map-users=0:$(id -u):1 --map-groups=0:$(id -g):1 build/test-firewall-util /* test_v6 */ src/test/test-firewall-util.c:34: Assertion failed: "r = fw_nftables_add_masquerade(nfnl, true, AF_INET6, &u1, 128)" failed with unexpected error: -110/ETIMEDOUT Aborted (core dumped) ``` After: ``` $ unshare --user --map-users=0:$(id -u):1 --map-groups=0:$(id -g):1 /var/build/test-firewall-util /* test_v6 */ test-firewall-util: Failed to add IPv6 masquerade, skipping tests: Operation not permitted /* test_v4 */ test-firewall-util: Failed to add IPv4 masquerade, skipping tests: Operation not permitted ``` --- 9454927c76d06ad67282983029f89aa149bcc277