[Bug 2071333] Re: netplan.io causes systemctl enable to fail on systems without dbus

Launchpad Bug Tracker 2071333 at bugs.launchpad.net
Fri Jun 28 19:40:45 UTC 2024


This bug was fixed in the package netplan.io - 1.0-2ubuntu1.2

---------------
netplan.io (1.0-2ubuntu1.2) noble-security; urgency=medium

  * SECURITY REGRESSION: failure on systems without dbus
    - debian/netplan-generator.postinst: Don't call the generator if no
      networkd configuration file exists. (LP: #2071333)

 -- Sudhakar Verma <sudhakar.verma at canonical.com>  Fri, 28 Jun 2024
22:40:44 +0530

** Changed in: netplan.io (Ubuntu)
       Status: Triaged => Fix Released

** Changed in: netplan.io (Ubuntu)
       Status: Triaged => Fix Released

-- 
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/2071333

Title:
  netplan.io causes systemctl enable to fail on systems without dbus

Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  I am using Docker with FROM ubuntu:22.04 to build a root filesystem
  that gets exported into an embedded system. This also includes running
  commands like "systemctl enable ssh" to enable systemd services.

  It seems that the recent security patch to netplan.io somehow causes "systemctl enable" to fail. 
  From what I can gather this seems to come down to the fact that there is no dbus running.

  I have included two Dockerfiles that represent this issue. These can
  be built using "docker build -f Dockerfile-good ." and "docker build
  -f Dockerfile-bad ." The only difference between these is that the bad
  Dockerfile also installs netplan.io

  Expected behaviour:
  manages to sucessfully enable ssh (Dockerfile-good)

  Actual behaviour:
  does not manage to enable ssh and exits with an error (Dockerfile-bad)

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




More information about the foundations-bugs mailing list