Bug#997006: systemd-networkd: broken/regression in unprivileged LXD container in v247
Michael Biebl
biebl at debian.org
Fri Oct 22 11:12:17 BST 2021
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: linus.luessing at c0d3.blue
>
> 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-maintainers@lists.alioth.debian.org;tag=bullseye-backport;dist=bullseye
-------------- 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/20211022/f6ffd321/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list