All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC BlueZ] build: Make use of StateDirectory and ConfigurationDirectory
@ 2022-04-12 20:19 Luiz Augusto von Dentz
  2022-04-15  6:52 ` [RFC,BlueZ] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2022-04-12 20:19 UTC (permalink / raw)
  To: linux-bluetooth

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [RFC,BlueZ] build: Make use of StateDirectory and ConfigurationDirectory
  2022-04-12 20:19 [RFC BlueZ] build: Make use of StateDirectory and ConfigurationDirectory Luiz Augusto von Dentz
@ 2022-04-15  6:52 ` bluez.test.bot
  0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2022-04-15  6:52 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-15  6:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 20:19 [RFC BlueZ] build: Make use of StateDirectory and ConfigurationDirectory Luiz Augusto von Dentz
2022-04-15  6:52 ` [RFC,BlueZ] " bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.