Your message dated Mon, 21 Mar 2022 12:47:07 +0000
with message-id <e1nwhrd-000bzn...@fasolo.debian.org>
and subject line Bug#997006: fixed in systemd 247.3-7
has caused the Debian Bug report #997006,
regarding systemd-networkd: broken/regression in unprivileged LXD container in 
v247
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
997006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997006
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: systemd
Version: 247.3-6
Severity: normal
Tags: upstream
X-Debbugs-Cc: linus.luess...@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).

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.
* Backport 0e789e6d4 to the systemd v247 package.

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.

For more details see the following links:

https://discuss.linuxcontainers.org/t/systemd-networkd-not-working-in-debian-sid-or-bullseye-images/11503/17
https://github.com/systemd/systemd/pull/18559

Regards, Linus



-- Package-specific info:

-- System Information:
Debian Release: 11.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.9.2-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser                          3.118
ii  libacl1                          2.2.53-10
ii  libapparmor1                     2.13.6-10
ii  libaudit1                        1:3.0-2
ii  libblkid1                        2.36.1-8
ii  libc6                            2.31-13+deb11u2
ii  libcap2                          1:2.44-1
ii  libcrypt1                        1:4.4.18-4
ii  libcryptsetup12                  2:2.3.5-1
ii  libgcrypt20                      1.8.7-6
ii  libgnutls30                      3.7.1-5
ii  libgpg-error0                    1.38-2
ii  libip4tc2                        1.8.7-1
ii  libkmod2                         28-1
ii  liblz4-1                         1.9.3-2
ii  liblzma5                         5.2.5-2
ii  libmount1                        2.36.1-8
ii  libpam0g                         1.4.0-9+deb11u1
ii  libseccomp2                      2.5.1-1
ii  libselinux1                      3.1-3
ii  libsystemd0                      247.3-6
ii  libzstd1                         1.4.8+dfsg-2.1
ii  mount                            2.36.1-8
ii  systemd-timesyncd [time-daemon]  247.3-6
ii  util-linux                       2.36.1-8

Versions of packages systemd recommends:
ii  dbus  1.12.20-2

Versions of packages systemd suggests:
pn  policykit-1        <none>
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
pn  initramfs-tools  <none>
ii  libnss-systemd   247.3-6
ii  libpam-systemd   247.3-6
pn  udev             <none>

-- Configuration Files:
/etc/systemd/journald.conf changed:
[Journal]

/etc/systemd/logind.conf changed:
[Login]

/etc/systemd/resolved.conf changed:
[Resolve]


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: systemd
Source-Version: 247.3-7
Done: Michael Biebl <bi...@debian.org>

We believe that the bug you reported is fixed in the latest version of
systemd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 997...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <bi...@debian.org> (supplier of updated systemd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 20 Mar 2022 20:55:25 +0100
Source: systemd
Architecture: source
Version: 247.3-7
Distribution: bullseye
Urgency: medium
Maintainer: Debian systemd Maintainers 
<pkg-systemd-maintain...@lists.alioth.debian.org>
Changed-By: Michael Biebl <bi...@debian.org>
Closes: 986651 993248 993738 993947 997006 1003467
Changes:
 systemd (247.3-7) bullseye; urgency=medium
 .
   * Switch debian-branch to debian/bullseye
   * udevadm-trigger: do not return immediately on EACCES.
     Fixes a regression when using systemd-networkd in an unprivileged LXD
     container. (Closes: #997006)
   * Revert multipath symlink race fix.
     Revert upstream commits which caused a regression in udev resulting in
     long delays when processing partitions with the same label.
     (Closes: #993738)
   * shared/rm-rf: loop over nested directories instead of recursing.
     Fixes uncontrolled recursion in systemd-tmpfiles.
     (CVE-2021-3997, Closes: #1003467)
   * Demote systemd-timesyncd from Depends to Recommends.
     This avoids a dependency cycle between systemd and systemd-timesyncd and
     thus makes dist upgrades more predictable and robust.
     It also allows minimal, systemd based containers where no NTP client is
     strictly necessary.
     To ensure that systemd-timesyncd is installed in a default installation
     created by d-i, bump its priority to standard.
     (Closes: #986651, #993947)
   * autopktest: Fix timedated test dependencies.
     Add an explicit systemd-timesyncd dependency as it is required by the
     timedated test.
   * machine: enter target PID namespace when adding a live mount.
     Fixes failure to bind mount a directory into a container using
     machinectl. (Closes: #993248)
Checksums-Sha1:
 4b7f5ea988d934d8ca4abf2be4fbae887cb324d3 5167 systemd_247.3-7.dsc
 49e8715baa823f7046e710db1d99da5cd2e118c5 183052 systemd_247.3-7.debian.tar.xz
 4ee2f612c3d8014cba56a329dabcb998e7616ace 9526 systemd_247.3-7_source.buildinfo
Checksums-Sha256:
 c363c7538890cc8bfec033c44ae798c7ead370a143a8dad76ef0714c4784fce2 5167 
systemd_247.3-7.dsc
 d80595383166aa08ed28441898880fbc124bf2468526d35fc7c85c2c09f12ca5 183052 
systemd_247.3-7.debian.tar.xz
 773d5110301d1d46f679148fbe5392ae178c615aaab450fd6038e63d813e3eba 9526 
systemd_247.3-7_source.buildinfo
Files:
 2fb609814d113c778784bbe757a9f063 5167 admin optional systemd_247.3-7.dsc
 8fa05c0e91c9d19f809afe7ee31ce352 183052 admin optional 
systemd_247.3-7.debian.tar.xz
 654746a6f292cdfd1542cc21a7dfec74 9526 admin optional 
systemd_247.3-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmI3jSIACgkQauHfDWCP
Itz1ew//at/POkZ/g1c8GiVolVj4sn3DtCwHdfVHRXQOoEF896JqUtyS5qUCqtNQ
b0m6GUNPyUgoT4tMZIWWBIzpYZa3aCGZ9qrVWbyB2Km8QSF+jaUSCxP+ZS/qonLq
VsmyV3BwWW33XrRIo24r5dnrl6ZG4Bj4VS6m1OyTz5WclTWWN4FlSYA3HZjqrf80
3OlE4ly7DDWto0O3xr6NIZVm28DMFjEau/DzNahewxWFwXk0hthRCEls/6Crwn+B
mxwBU9Si06lPtOgMxui/CVhZoP/popmQzjc38f8e47JOoVUN1SL1aagPd87NqsYh
PDquQof43LZfdD4uI4PESi7bQgj7GFD7oMXu8lVVx+4QUUT3R114WxtyhGluTshR
3mYWGNVtaeCtzY0W/26DiLUbWdwqG/Eyn7J7JSmWh8PKq9yii7Hi/4/CCIN0L1lo
mm2UsFMt3CEw+wSWzhR3/eUwOPrMoLUINpfaWbVQrQup/0WcZZkcoe6OsM9CyRRC
nQIcF/WULz5NtvmG9UtiaNsvcXeyNR53YbDxyEeNAMBxZT75pqySGGiMk8Rpj5hz
JZwZ4StV54PtRxpRW00M/Qb+3TqQSZ9pRrESEZ3QeSxc6dge/bAawcN5Bd/Gy0d3
boW2+ZXJs4o9x8WLSyd6mRALgDt6e9L/c7InkAU68cLXlitqwb4=
=tbvO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to