I get it too, but on a fresh Kubuntu 20.10! $ lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 20.10 Release: 20.10 Codename: groovy
$ systemd-run --user --scope echo hello systemd-run --user --scope echo hello $ journalctl -e janv. 04 14:33:01 7710-eezIT systemd[1525]: run-r455914ea041e4490a546761646fda345.scope: Failed to add PIDs to scope's control group: Permission denied janv. 04 14:33:01 7710-eezIT systemd[1525]: run-r455914ea041e4490a546761646fda345.scope: Failed with result 'resources'. janv. 04 14:33:01 7710-eezIT systemd[1525]: Failed to start /usr/bin/echo hello. The logs are fulfilled of this kind of messages. -- 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/1742804 Title: Failed to add PIDs to scope's control group Status in systemd: Fix Released Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Bionic: Confirmed Bug description: [impact] systemd-run --user --scope fails [test case] $ systemd-run --user --scope echo hello Job for run-r150c7437bf8a4c5e919acbbc3de0b29c.scope failed. See "systemctl status run-r150c7437bf8a4c5e919acbbc3de0b29c.scope" and "journalctl -xe" for details. [regression potential] large. this is fixed upstream by a large sequence of patches, and would need careful attention applying them all to make sure no regressions were introduced. If I, or anyone else, attempts this backport, they definitely need to add more detail to this section. [scope] This is fixed upstream by this large PR: https://github.com/systemd/systemd/pull/8125 That's included starting in systemd v238, so just missed the Bionic version. This is fixed already in all releases after Bionic, and needed only for Bionic. [original description] When I launch applications with flatpak, "journalctl -f" shows the following: Jan 11 22:44:13 localhost systemd[1244]: flatpak-org.kde.krita-8134.scope: Failed to add PIDs to scope's control group: Permission denied Jan 11 22:44:13 localhost systemd[1244]: Failed to start flatpak-org.kde.krita-8134.scope. Jan 11 22:44:13 localhost systemd[1244]: flatpak-org.kde.krita-8134.scope: Unit entered failed state. I explicitly mentioned "Kubuntu" in the summary, because I experience this only under Kubuntu (17.10 and 18.04), NOT under the regular Gnome-based Ubuntu Desktop (17.10). At first this error message seemed harmless, because it looked like it had no effect. But now I noticed that with certain flatpak apps, the file open dialog would not pop up. And I too experienced this only under Kubuntu, not Ubuntu or Fedora (all tested). So there might be a connection. I first reported this to flatpak: https://github.com/flatpak/flatpak/issues/1216 There it was suggested to try the following command: $ systemd-run --user --scope echo hello Job for run-r150c7437bf8a4c5e919acbbc3de0b29c.scope failed. See "systemctl status run-r150c7437bf8a4c5e919acbbc3de0b29c.scope" and "journalctl -xe" for details. ...and this one also fails. To manage notifications about this bug go to: https://bugs.launchpad.net/systemd/+bug/1742804/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp