[Bug 2109487] Re: netplan apply - cannot connect to system bus at boot time

Lukas Märdian 2109487 at bugs.launchpad.net
Mon Apr 28 10:00:34 UTC 2025


Thanks for reporting this issue with the Ubuntu cloud images. Netplan
seems to be only showing the symptom here, I assume something else
changed in between release-20240710 and release-20250403.


This error message is curious and points towards a non-functional D-Bus at the time of executing "netplan apply": "Failed to connect to system bus: No such file or directory"


Can you confirm that access to other D-Bus resources is also limited at this time? E.g. by calling:

$ sudo busctl --system list

and/or

$ sudo busctl --system status 1


I'm tagging dbus and cloud-images for more input.

** Changed in: netplan.io (Ubuntu)
       Status: Confirmed => Incomplete

** Also affects: dbus (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: cloud-images
   Importance: Undecided
       Status: New

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

Title:
  netplan apply - cannot connect to system bus at boot time

Status in cloud-images:
  New
Status in dbus package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  Incomplete

Bug description:
  I will reference this comment here from the beginning:

  https://github.com/vmware/open-vm-
  tools/issues/761#issuecomment-2834567855

  I use packer to provision virtual machines starting from ubuntu cloud
  images (ova templates) on vSphere.

  When using cloud image release-20240710 (1.0-2ubuntu1.2), I don't have
  any issues with netplan and everything is provisioned correctly.

  When switching to the latest cloud image version release-20250403
  (netplan 1.1.1-1~ubuntu24.04.1), "netplan apply" doesn't work
  correctly, ending up with the following error:

  "Failed to connect to system bus: No such file or directory and
  Falling back to a hard restart of systemd-networkd.service"

  This could be a regression caused by this backport
  https://bugs.launchpad.net/ubuntu/noble/+source/netplan.io/+bug/2077011,
  but I cannot be sure.

  In my case, the practical consequence is that the open-vm-tools
  scripts don't exit successfully and the network card is not
  automatically connected, as it should. This is somewhat less relevant
  for Canonical/netplan, but this is a scenario that a lot of people
  come across when dealing with provisioning Ubuntu virtual machines in
  vSphere using packer/terraform, so I'm just putting it out there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2109487/+subscriptions




More information about the foundations-bugs mailing list