Component

systemd

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

Currently to request a new cgroup fd (scope?) we must use a dbus call. This is slow and requires a dbus library or client. As suggested by @brauner here (https://github.com/lxc/lxc/pull/4287#pullrequestreview-1338699215), it would be nice if there were another way to make equivalent of the StartTransientUnit and AttachProcessesToUnit requests.

Describe alternatives you've considered

No response

The systemd version you checked that didn't have the feature you are asking for

No response

0

Currently to request a new cgroup fd (scope?) we must use a dbus call. This is slow

Define 'slow'. What benchmarks have you ran, on which kind of setup, and compared with what?

and requires a dbus library or client.

And? There's many available, in pretty much all languages.

Besides, there's already a different interface. You can create any scope units you like in /etc/systemd/system or /run/systemd/system and use them as you see fit.

0
© 2022 pullanswer.com - All rights reserved.