]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: support mount options when going through mountfsd 39394/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 20 Oct 2025 23:39:44 +0000 (00:39 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 6 Jan 2026 23:47:53 +0000 (00:47 +0100)
commit3a8759e5d4b2923af43ea1f0eafb8ae9c2159417
tree9ba302e0d4bfa9dd474d8f24daaa3f9e84a59816
parent78b40aea611256228e898fc6a6dab414a1798889
dissect: support mount options when going through mountfsd

RootImageOptions=/ExtensionImages=/MountImages= all support
custom mount options, use the new mountfsd parameters to
configure them if they are specified.

This requires additioanl privileges via polkit due to security
implications of mount options, so document an example policy
that allows to use the nosuid mount option.
man/system-or-user-ns-mountfsd-mount-options.xml [new file with mode: 0644]
man/systemd.exec.xml
src/core/namespace.c
src/dissect/dissect.c
src/nspawn/nspawn.c
src/shared/dissect-image.c
src/shared/dissect-image.h
test/units/TEST-50-DISSECT.mountfsd.sh
test/units/TEST-50-DISSECT.sh