Skip to contentSkip to conversation

build: Make use of StateDirectory and ConfigurationDirectory

RFC In review Luiz Augusto von Dentz 2 participants 2 messages Apr 12, 2022 – Apr 15, 2022 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

RFC 1/1 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.

[1] https://www.freedesktop.org/software/systemd/man/systemd.exec.html

---
 src/bluetooth.service.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/bluetooth.service.in +2 -2
index f18801866..912c4ac53 100644
@@ -19,8 +19,8 @@ ProtectSystem=full
 PrivateTmp=true
 ProtectKernelTunables=true
 ProtectControlGroups=true
-ReadWritePaths=@statedir@
-ReadOnlyPaths=@confdir@
+StateDirectory=@statedir@
+ConfigurationDirectory=@confdir@
 
 # Execute Mappings
 MemoryDenyWriteExecute=true
Signature · 1 line
2.35.1
#1 lore raw

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