Public bug reported:
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)
** Affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Tar file containing two Dockerfiles that demonstrate the
bug."
https://bugs.launchpad.net/bugs/2071333/+attachment/5792757/+files/Dockerfiles.tar
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2071333
Title:
netplan.io causes systemctl enable to fail on systems without dbus
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2071333/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs