2022-04-13 00:06:00

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: [RFC BlueZ] build: Make use of StateDirectory and ConfigurationDirectory

From: Luiz Augusto von Dentz <[email protected]>

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(-)

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
--
2.35.1


2022-04-16 02:25:41

by bluez.test.bot

[permalink] [raw]
Subject: RE: [RFC,BlueZ] build: Make use of StateDirectory and ConfigurationDirectory

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