[Bug 1959475] Re: "machinectl shell" connections immediately terminated

renbag 1959475 at bugs.launchpad.net
Sat Jan 29 13:17:30 UTC 2022


>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
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1959475

Title:
  "machinectl shell" connections immediately terminated

Status in systemd package in Ubuntu:
  New

Bug description:
  The command "machinectl shell" does not work in systemd
  249.9-0ubuntu2:

  $ sudo machinectl shell ns-xxx
  Connected to machine ns-xxx. Press ^] three times within 1s to exit session.

  Connection to machine ns-xxx terminated.

  The issue seems to be described here:
  https://forum.manjaro.org/t/the-machinectl-shell-command-stopped-working-after-systemd-upgrade-to-250-2-1/99899
  https://github.com/systemd/systemd/issues/22234

  and solved here:

  https://github.com/systemd/systemd/commit/e8cf09b2a2ad0d48e5493050d54251d5f512d9b6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1959475/+subscriptions




More information about the foundations-bugs mailing list