]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/manager: Deprecate StartAuxiliaryScope() method 34593/head
authorMichal Koutný <mkoutny@suse.com>
Mon, 30 Sep 2024 17:27:29 +0000 (19:27 +0200)
committerMichal Koutný <mkoutny@suse.com>
Tue, 8 Oct 2024 15:49:13 +0000 (17:49 +0200)
commit64f173324ec98dc74a3057b6b36c1f24e882182e
treecc4a0708fb645b2a5bbccafbda98b6f1dc577c3d
parent26e6986527fe553edf35a442a520deb10c45a155
core/manager: Deprecate StartAuxiliaryScope() method

The method was added with migration of resources in mind (e.g. process's
allocated memory will follow it to the new scope), however, such a
resource migration is not in cgroup semantics. The method may thus have
the intended users and others could be guided to StartTransientUnit().

Since this API was advertised in a regular release, start the removal
with a deprecation message to callers.
Eventually, the goal is to remove the method to clean up DBus API and
simplify code (removal of cgroup_context_copy()).

Part of DBus docs is retained to satisfy build checks.
NEWS
man/org.freedesktop.systemd1.xml
src/core/dbus-manager.c