Control: tags -1 fixed-upstream patch
Control: fixed -1 248-1


Hello

Am 22.10.21 um 11:43 schrieb Linus Lüssing:
Package: systemd
Version: 247.3-6
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]

Hi,

We found that using systemd-networkd in an unprivileged LXD container is
broken in systemd v247. A network or link file is not attached to an
interface and instead "networkctl -l status eth0" shows "n/a" for the
"Link File" and "Network File". Leading to the network interface not being
configured at all. systemd v246 and v248/v249 work fine, so it is a
regression specific to v247.

Bisect'ing shows that this commit introduced the bug for v247:

https://github.com/systemd/systemd/commit/88da55e28b467999da005591d3252a98f4436522

And the following commit fixed it again for v248:

https://github.com/systemd/systemd/commit/0e789e6d48046d43c50dd949a71ac56f1127bb96

Git cherry-picking 0e789e6d4 onto v247 fixes the issue (cherry-picking does
not apply cleanly but resolving this is straight forward).

Thanks for the detailed bug report and the effort of bisecting the issue.
Marking the bug report accordingly.

Furthermore systemd-networkd does not work if the udev package is
missing (same symptoms, no link or network file gets attached to the
interface).


Suggestions to fix:

* Add a dependency to the systemd package for the udev package.

I don't think we want that. We deliberately do not have a udev dependency in systemd, as udev is not strictly needed in minimal containers.

* Backport 0e789e6d4 to the systemd v247 package.

The patch seems reasonable and small enough to qualify for a v247 backport and being fixed via a stable upload. I've marked it accordingly [1]

Alternatively (or additionally) systemd v249 could be added to
bullseye-backports, so people using Debian Bullseye could work around
the issue by installing systemd v249.


A backport of v249 (and later) for bullseye is planned in any case.

Regards,
Michael

[1] https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=pkg-systemd-maintain...@lists.alioth.debian.org;tag=bullseye-backport;dist=bullseye

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to