* [PATCH BlueZ] build: Fix bluetooth.service
@ 2022-04-14 21:52 Luiz Augusto von Dentz
2022-04-15 6:58 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2022-04-14 21:52 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [BlueZ] build: Fix bluetooth.service
2022-04-14 21:52 [PATCH BlueZ] build: Fix bluetooth.service Luiz Augusto von Dentz
@ 2022-04-15 6:58 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2022-04-15 6:58 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 1000 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=632426
---Test result---
Test Summary:
CheckPatch PASS 1.40 seconds
GitLint PASS 1.14 seconds
Prep - Setup ELL PASS 50.85 seconds
Build - Prep PASS 0.76 seconds
Build - Configure PASS 10.40 seconds
Build - Make PASS 1445.21 seconds
Make Check PASS 13.17 seconds
Make Check w/Valgrind PASS 510.73 seconds
Make Distcheck PASS 267.70 seconds
Build w/ext ELL - Configure PASS 10.33 seconds
Build w/ext ELL - Make PASS 1458.01 seconds
Incremental Build with patchesPASS 1549.66 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-15 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14 21:52 [PATCH BlueZ] build: Fix bluetooth.service Luiz Augusto von Dentz
2022-04-15 6:58 ` [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.