diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-06-06 13:30:09 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-06-06 21:37:39 +0200 |
commit | ddef3ec87c1f63fed868f769d246b0b3d6877f88 (patch) | |
tree | 530246c9805c45399c56c93796a37c46854bdee5 /rules.d/60-persistent-input.rules | |
parent | Merge pull request #33232 from bluca/chores (diff) | |
download | systemd-ddef3ec87c1f63fed868f769d246b0b3d6877f88.tar.xz systemd-ddef3ec87c1f63fed868f769d246b0b3d6877f88.zip |
run: do not pass the pty slave fd to transient service in a machine
Follow-up for 28459ba1f4df824d5ef7f7d1a9acb6953ea24045
The pty path returned by OpenMachinePTY() cannot be opened from outside
the machine, hence let's use the plain Standard{Input,Output,Error}=tty
in such a case. This means if --machine= is specified, #32916 would occur.
A comprehensive fix requires a new dbus method in machined, which shall
be material for v257.
See also: https://github.com/systemd/systemd/pull/33216#discussion_r1628020429
Replaces #33216
Co-authored-by: Mike Yuan <me@yhndnzj.com>
Diffstat (limited to 'rules.d/60-persistent-input.rules')
0 files changed, 0 insertions, 0 deletions