From 206bc3473db09e151d083dcf7887cfa1d2c39ff8 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 19 Nov 2024 20:44:34 +0000 Subject: [PATCH] fix: missing @{udbus} in unix bind. --- apparmor.d/groups/systemd/hostnamectl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apparmor.d/groups/systemd/hostnamectl b/apparmor.d/groups/systemd/hostnamectl index 2429d235e..3107d2d8e 100644 --- a/apparmor.d/groups/systemd/hostnamectl +++ b/apparmor.d/groups/systemd/hostnamectl @@ -15,7 +15,7 @@ profile hostnamectl @{exec_path} { capability net_admin, - unix bind type=stream addr=@@{hex16}/bus/hostnamectl/system, + unix bind type=stream addr=@@{udbus}/bus/hostnamectl/system, #aa:dbus talk bus=system name=org.freedesktop.hostname1 label=systemd-hostnamed