From f36c724b9ec506d50fd7ba449f171496454adbdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= <frederic.danis@collabora.com> Date: Mon, 6 Dec 2021 10:27:43 +0100 Subject: [PATCH] apparmor: Fix disconnected path error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Geoclue fails to start as a systemd service with following error: AVC apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 profile="/usr/libexec/geoclue" name="run/dbus/system_bus_socket" pid=3675 comm="pool-geoclue" requested_mask="wr" denied_mask="wr" fsuid=113 ouid=0 Signed-off-by: Frédéric Danis <frederic.danis@collabora.com> --- debian/apparmor.d/usr.libexec.geoclue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/apparmor.d/usr.libexec.geoclue b/debian/apparmor.d/usr.libexec.geoclue index 871ab42..2a2bb3d 100644 --- a/debian/apparmor.d/usr.libexec.geoclue +++ b/debian/apparmor.d/usr.libexec.geoclue @@ -1,6 +1,6 @@ #include <tunables/global> -/usr/libexec/geoclue { +/usr/libexec/geoclue flags=(attach_disconnected) { #include <abstractions/chaiwala-base> #include <abstractions/dbus-strict> -- GitLab