Bug#992038: systemd: regression with systemd-networkd + dropbear initramfs and kernel ip autoconfig(?)

Michael Biebl biebl at debian.org
Thu Aug 12 08:55:02 BST 2021


Hello Axel,

please always CC the bug email address, so a copy is sent to the BTS.

Am 12.08.21 um 06:32 schrieb Axel Scheepers:
> Hi Michael,
> 
> v249 works fine so far :)
> 
> I think the issue is handled in this bugfix from systemd:
> https://github.com/ssahani/systemd/commit/7f676aa324cb5498a5f9caaaa3d51ecfe53242e0 
> <https://github.com/ssahani/systemd/commit/7f676aa324cb5498a5f9caaaa3d51ecfe53242e0>
> https://github.com/systemd/systemd/pull/6918 
> <https://github.com/systemd/systemd/pull/6918>
> 
> It was my understanding this was in 247 but it's not. I've build a local 
> package with this patch included, will see if that works. v249 is quite 
> different in this area.

This particular commit was part of v236 and later, but it was sort of 
reverted/reworked in 
https://github.com/ssahani/systemd/commit/4ff296b02411bb4f0dc38f48cbab06f8645d2a08 
which is part of v243

If v247 doesn't work for you and v249 does, it would probably be a good 
idea to check

> $ git log v247..v249 --oneline --  src/network/networkd-ndisc.c 
> 899034ba81 network: fix overflow issue in address lifetime calculation
> fe139e8ef9 network: drop old ndisc configurations after new ones are configured
> ca2b7cd813 ether-addr-util: drop redundant "addr" from struct hw_addr_data
> 40b12fa20d network: introduce request_hash_ops to dedup requests
> a19b1ac7c8 network: ndisc: update log message
> 25db3aeaf3 network: ndisc: always honor valid time
> f4cc13646f network: drop unused "callback" arguments in route_remove() and address_remove()
> 998545a7d9 network: address: introduce link_get_ipv4/ipv6_address()
> 76c5a0f27b network: use request queue to configure addresses, routes, and nexthops
> 5a07fa9dd1 network: split out common part of route or address handlers
> b8ce3b4490 network: use IPV4_ADDRESS_FMT_STR/VAL macros and in6_addr_to_string() or friends
> 086a351ad9 network: ndisc: fix ipv6 route preference for routes with Gateway=_ipv6ra
> 294f129b0d network: configure non-dhcp configs earlier even DUID-UUID is used by DHCP clients
> 8ebafba9f9 network: move RouteMetric= from [DHCPv6] to [IPv6AcceptRA]
> bc9e40c9a1 network: refuse to configure engines such as DHCP client more than once
> 5c078687dc network: refuse to configure NDISC twice
> f225a338c3 network: also introduce UseDomains= for [DHCPv6] section
> 496db33004 tree-wide: use usec_add() and usec_sub_unsigned()
> 3b5a4fc685 network: move state file related functions to networkd-state-file.[ch]
> 2324fd3a39 network: suffix types with _t in public headers
> c633628daf tree-wide: constify variables if possible
> 5380707aba network: use in_addr_prefix_to_string()
> 94876904bb tree-wide: use in_addr_is_set() or friends
> 24b445c2ce network: ndisc: change link state into "configuring" only when a new address or route will be assigned
> 37c0b60177 network: automatically set NLM_F_REPLACE flag
> 8ccc31d498 network: drop one more link_dirty()
> 9092113d93 network: drop many unnecessary link_dirty() calls
> 92395e0e83 network: do not re-assign static routes when dynamic IPv6 addresses are updated
> 9b1fd1f55b network: ndisc - Use ordered_set_ensure_put
> 75d2641190 network: introduce RouterAllowList= and RouterDenyList= in [IPv6AcceptRA]
> de6b6ff84c networkd: add support for prefix allow-list and route allow-list
> 19e334bd15 network: make RouteDenyList= filter route prefix rather than gateway address
> 1cd5267e81 network: fix condition for checking the provided gateway is assigned to link
> 8c86196b52 network: drop redundant TAKE_PTR()
> 16c89e649d networkd: add RouteDenyList
> 517fdd61ed network: move variable declaration
> 221019166f networkd: handle ignoring ll gateway being link ll
> c5a0aeb33a network: use address_get() in address_exists()

fe139e8ef9 is likely related

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210812/62d0bf3b/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list