From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This fixes bluetooth.service failing to start if statedir has not been created yet: bluetooth.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/bluetooth: No such file or directory It also removes ReadOnlyPaths since ProtectSystem=full already mounts the entire filesystem as read-only. Fixes: https://github.com/bluez/bluez/issues/329 --- src/bluetooth.service.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in index f18801866..12adad34f 100644 --- a/src/bluetooth.service.in +++ b/src/bluetooth.service.in @@ -19,8 +19,7 @@ ProtectSystem=full PrivateTmp=true ProtectKernelTunables=true ProtectControlGroups=true -ReadWritePaths=@statedir@ -ReadOnlyPaths=@confdir@ +ReadWritePaths=-@statedir@ # Execute Mappings MemoryDenyWriteExecute=true -- 2.35.1