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

2022-09-29 Thread Nick Rosbrook
** Tags removed: foundations-todo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections immediately terminated Status in systemd

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

2022-09-22 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 245.4-4ubuntu3.18 --- systemd (245.4-4ubuntu3.18) focal; urgency=medium [ Nick Rosbrook ] * core: make sure we don't get confused when setting TERM for a tty fd (LP: #1959475) File:

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

2022-09-15 Thread Nick Rosbrook
** Description changed: [Impact] This bug prevents users on Impish and newer from connecting to Focal systemd containers using `machinectl shell`. This limits users ability to manage containers spawned with systemd-nspawn. [Test Plan] On a Jammy host, do the following: *

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

2022-09-15 Thread Nick Rosbrook
Er, I see the problem in my description now. It's been a while since I looked at this patch. In any case, the patch is still appropriate. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

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

2022-09-15 Thread Nick Rosbrook
> Eh? That isn't at all what the patch does... Before the patch, the `getenv("TERM")` call would not happen; now it does. While fixing path_compare() may be a better long-term solution, I think the existing patch is appropriate for this bug/SRU. -- You received this bug notification because

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

2022-09-15 Thread Dan Streetman
> The patch expands the case where the TERM variable is inherited from PID 1 when building an execution environment, e.g. for a container. If problems were to occur, it would be related to the value of TERM in environments forked off of PID 1. Eh? That isn't at all what the patch does... Anyway,

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

2022-09-11 Thread Matthieu Clemenceau
** Tags added: foundations-todo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections immediately terminated Status in systemd

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

2022-09-07 Thread Nick Rosbrook
The autopkgtest regressions were all resolved with retries. I verified this fix as well, using the test plan above to create a focal container with -proposed enabled: nr@clean-jammy-amd64:~$ lsb_release -cs jammy nr@clean-jammy-amd64:~$ sudo machinectl shell test-container Connected to machine

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

2022-09-07 Thread renbag
I can't make comments about the regressions, however I tested the systemd (245.4-4ubuntu3.18) package in a focal container and confirm that solves this bug (connecting from a jammy host). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

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

2022-09-05 Thread Łukasz Zemczak
Hello renbag, or anyone else affected, Accepted systemd into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/245.4-4ubuntu3.18 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

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

2022-05-11 Thread Lukas Märdian
The commit in question is included in upstream v246+, so only affects Focal. ** Changed in: systemd (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

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

2022-05-11 Thread Lukas Märdian
A fix for this issue has been staged in git for the next Focal SRU: https://git.launchpad.net/~ubuntu-core- dev/ubuntu/+source/systemd/commit/?id=b10c6853050dde26665caf3b15444d768d2bc498 Thank you @enr0n for providing the merge proposal! ** Changed in: systemd (Ubuntu Focal) Status: New

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

2022-05-10 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/421860 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475

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

2022-05-10 Thread Nick Rosbrook
** Description changed: + [Impact] + + This bug prevents users on Impish and newer from connecting to Focal + systemd containers using `machinectl shell`. This limits users ability + to manage containers spawned with systemd-nspawn. + + [Test Plan] + + On a Jammy host, do the following: + + *

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

2022-04-28 Thread Brian Murray
** Changed in: systemd (Ubuntu Focal) Importance: Undecided => Medium ** Changed in: systemd (Ubuntu) Importance: Undecided => Medium ** Tags removed: rls-ff-incoming rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

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

2022-04-28 Thread Matthieu Clemenceau
** Tags added: fr-2315 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections immediately terminated Status in systemd package in

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

2022-04-28 Thread Lukas Märdian
** Also affects: systemd (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell"

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

2022-04-19 Thread Brian Murray
** Tags added: focal -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections immediately terminated Status in systemd package in

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

2022-04-18 Thread Nick Rosbrook
** Tags added: rls-ff-incoming rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections immediately terminated Status

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

2022-04-14 Thread Andre Tomt
Please consider backporting for Focal (20.04) at least. The backport is trivial and applies cleanly as-is except for patch offsets. Might be wise to test some other combinations though. For example hosts without this commit, running nspawn containers with it. -- You received this bug

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

2022-04-14 Thread Andre Tomt
Just tested, and can confirm backporting e8cf09b2a2ad0d48e5493050d54251d5f512d9b6 to focal's systemd fixes the segfaults when using machinectl shell on a Jammy host trying to start a shell in a Focal nspawn container. -- You received this bug notification because you are a member of Ubuntu Touch

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

2022-04-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

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

2022-01-29 Thread renbag
Sorry, the host was running Ubuntu jammy with systemd 249.9-0ubuntu2. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1959475 Title: "machinectl shell" connections

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

2022-01-29 Thread renbag
>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

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

2022-01-29 Thread renbag
These are the messages reported by journalctl inside the container: Jan 29 12:27:53 ns-xxx systemd[153]: Assertion 'a' failed at src/basic/path-util.c:486, function path_compare(). Aborting. Jan 29 12:27:53 ns-xxx systemd[1]: container-shell@2.service: Succeeded. -- Subject: Unit succeeded --

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

2022-01-29 Thread renbag
Sorry, the patch in: https://github.com/systemd/systemd/commit/e8cf09b2a2ad0d48e5493050d54251d5f512d9b6 is already applied in systemd 249.9-0ubuntu2, so that is not the solution. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed