Message ID | 20220412201949.4011833-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [RFC,BlueZ] build: Make use of StateDirectory and ConfigurationDirectory | expand |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=631621 ---Test result--- Test Summary: CheckPatch PASS 1.31 seconds GitLint PASS 0.97 seconds Prep - Setup ELL PASS 42.44 seconds Build - Prep PASS 0.70 seconds Build - Configure PASS 8.65 seconds Build - Make PASS 1405.14 seconds Make Check PASS 11.34 seconds Make Check w/Valgrind PASS 433.27 seconds Make Distcheck PASS 226.63 seconds Build w/ext ELL - Configure PASS 8.61 seconds Build w/ext ELL - Make PASS 1392.50 seconds Incremental Build with patchesPASS 1416.97 seconds --- Regards, Linux Bluetooth
diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in index f18801866..912c4ac53 100644 --- a/src/bluetooth.service.in +++ b/src/bluetooth.service.in @@ -19,8 +19,8 @@ ProtectSystem=full PrivateTmp=true ProtectKernelTunables=true ProtectControlGroups=true -ReadWritePaths=@statedir@ -ReadOnlyPaths=@confdir@ +StateDirectory=@statedir@ +ConfigurationDirectory=@confdir@ # Execute Mappings MemoryDenyWriteExecute=true
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This makes use of StateDirectory[1] and ConfigurationDirectory[1] to inform systemd what those paths are used for instead of using ReadWritePaths and ReadOnlyPaths which can lead to issues. Fixes: https://github.com/bluez/bluez/issues/329 [1] https://www.freedesktop.org/software/systemd/man/systemd.exec.html --- src/bluetooth.service.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)