[Bug 2069495] [NEW] Netplan generator causes systemd, apt and unlock hangs on 24.04

Florian Hackenberger 2069495 at bugs.launchpad.net
Sat Jun 15 10:36:56 UTC 2024


Public bug reported:

>From the issue in the netplan tracker [1]:

During a systemd daemon-reload, the Netplan generator in
/usr/lib/systemd/system-generators/netplan tries to reload the udev
rules and databases with udevadm control --reload [2], which causes a
deadlock, because reloading udev rules and databases requires a
functioning systemd-userdbd.service, which is not the case during a
systemd daemon-reload. The systemd developers will not consider making
changes to any systemd component in order to prevent this deadlock, and
instead suggest that the Netplan developers generate their systemd
link/network/netdev units using a generator service like systemd-
network-generator.service.

[1] https://bugs.launchpad.net/netplan/+bug/1999178

On my machine, this causes every 'apt install' to be very slow, enabled
/ disabling systemd services to be slow, sudo hanging while these
processes hang and so on.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: netplan-generator 1.0-2ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-35.35-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: GNOME
Date: Sat Jun 15 12:33:39 2024
InstallationDate: Installed on 2023-09-21 (268 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230417)
SourcePackage: netplan.io
UpgradeStatus: Upgraded to noble on 2024-05-28 (18 days ago)

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/2069495

Title:
  Netplan generator causes systemd, apt and unlock hangs on 24.04

Status in netplan.io package in Ubuntu:
  New

Bug description:
  From the issue in the netplan tracker [1]:

  During a systemd daemon-reload, the Netplan generator in
  /usr/lib/systemd/system-generators/netplan tries to reload the udev
  rules and databases with udevadm control --reload [2], which causes a
  deadlock, because reloading udev rules and databases requires a
  functioning systemd-userdbd.service, which is not the case during a
  systemd daemon-reload. The systemd developers will not consider making
  changes to any systemd component in order to prevent this deadlock,
  and instead suggest that the Netplan developers generate their systemd
  link/network/netdev units using a generator service like systemd-
  network-generator.service.

  [1] https://bugs.launchpad.net/netplan/+bug/1999178

  On my machine, this causes every 'apt install' to be very slow,
  enabled / disabling systemd services to be slow, sudo hanging while
  these processes hang and so on.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: netplan-generator 1.0-2ubuntu1
  ProcVersionSignature: Ubuntu 6.5.0-35.35-generic 6.5.13
  Uname: Linux 6.5.0-35-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  Date: Sat Jun 15 12:33:39 2024
  InstallationDate: Installed on 2023-09-21 (268 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230417)
  SourcePackage: netplan.io
  UpgradeStatus: Upgraded to noble on 2024-05-28 (18 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2069495/+subscriptions




More information about the foundations-bugs mailing list