]> git.ipfire.org Git - thirdparty/systemd.git/commit
machined: Skip root user namespace check for user managers
authorDaan De Meyer <daan@amutable.com>
Wed, 18 Feb 2026 14:58:39 +0000 (15:58 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 18 Feb 2026 18:22:14 +0000 (19:22 +0100)
commitdb1689e69cbb25c5e24d845601088897bf3df5d7
treeb8f8be4b95d17c034e80a19043eb97c3cfde074a
parent0b7d5a2844c6fb08dc2bc62bef25da46a36793e9
machined: Skip root user namespace check for user managers

You can register whatever process you want in the user machined instance
that is running in the same namespace as pid 1 as machined won't be allowed
to do anything privileged anyway that could be dangerous when running as a user
instance.

We have to skip the check as we user machined instances don't have
privileges to inspect pid1's user namespaces.
src/machine/machine-dbus.c