From fef46ffb5b3a98cb557c9f77d230fbb220355b9e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 22 Apr 2024 13:02:08 +0200 Subject: [PATCH] man: document that ReadOnlyPaths= doesn't affect ability to connect to AF_UNIX Fixes: #23470 --- man/systemd.exec.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index c11c7db706f..44233d0265f 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1383,6 +1383,11 @@ CapabilityBoundingSet=~CAP_B CAP_C accessible to privileged processes. However, most namespacing settings, that will not work on their own in user services, will work when used in conjunction with PrivateUsers=. + Note that the various options that turn directories read-only (such as + ProtectSystem=, ReadOnlyPaths=, …) do not affect the ability for + programs to connect to and communicate with AF_UNIX sockets in these + directores. These options cannot be used to lock down access to IPC services hence. +