From 915d7e81c31a3aab26335ff47e0925cd22897bc1 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 24 Dec 2024 23:56:12 +0100 Subject: [PATCH] fix(profile): pacman-hook-systemd: add systemd-tty-ask-password-agent. fix #632 --- apparmor.d/groups/pacman/pacman-hook-systemd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apparmor.d/groups/pacman/pacman-hook-systemd b/apparmor.d/groups/pacman/pacman-hook-systemd index 2c32024a..59acc34d 100644 --- a/apparmor.d/groups/pacman/pacman-hook-systemd +++ b/apparmor.d/groups/pacman/pacman-hook-systemd @@ -45,6 +45,10 @@ profile pacman-hook-systemd @{exec_path} { capability net_admin, + signal send set=term peer=systemd-tty-ask-password-agent, + + @{bin}/systemd-tty-ask-password-agent Px, + include if exists }