FS#72701 - [systemd] systemd-run --scope --user fails in systemd 249.6
Attached to Project:
Arch Linux
Opened by Jonas Witschel (diabonas) - Wednesday, 10 November 2021, 20:00 GMT
Last edited by Christian Hesse (eworm) - Thursday, 11 November 2021, 15:31 GMT
Opened by Jonas Witschel (diabonas) - Wednesday, 10 November 2021, 20:00 GMT
Last edited by Christian Hesse (eworm) - Thursday, 11 November 2021, 15:31 GMT
|
Details
Running something like "systemd-run --scope --user sleep
100" fails in systemd 249.6 with the following error, while
it worked as expected in systemd <= 249.5:
Job failed. See "journalctl -xe" for details. I reported this issue upstream as https://github.com/systemd/systemd/issues/21297 This affects users who have enabled the (non-default) KillUserProcesses=yes option in /etc/systemd/logind.conf and therefore have to use "systemd-run --scope --user" to run terminal multiplexers, cf. https://wiki.archlinux.org/title/Systemd/User#Kill_user_processes_on_logout Therefore I suggest keeping systemd 249.6 in [testing] until this issue is fixed upstream. Additional info: * systemd 249.6-1 * https://github.com/systemd/systemd/issues/21297 Steps to reproduce: 1. Upgrade to systemd 249.6-1, currently in [testing]. 1. Run "systemd-run --scope --user sleep 100". 2. Observe an error message "Job failed. See "journalctl -xe" for details." instead of the job being executed in a scope unit, like systemd 249.5-3 did ("Running scope as unit: run-rf06cf365f1ed444fa9313bf2c24da800.scope"). |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 11 November 2021, 15:31 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 249.6-3
Thursday, 11 November 2021, 15:31 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 249.6-3
You should open a pull request for your supposed fix...