From the last comments in: https://github.com/systemd/systemd/issues/22234
the problem is due to an incompatibility of the new versions of systemd with older ones. In fact the container was running ubuntu focal, with systemd_245.4-4ubuntu3.15, and the host was running ubuntu focal with systemd 249.9-0ubuntu2. So the problem should be ideally solved by including the patch in: https://github.com/systemd/systemd/commit/e8cf09b2a2ad0d48e5493050d54251d5f512d9b6 also in older versions of systemd. ** Bug watch added: github.com/systemd/systemd/issues #22234 https://github.com/systemd/systemd/issues/22234 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections immediately terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1959475/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
