From e1e7d611edb05df6dd342381347d16c7f7551e5e Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 20 Aug 2022 13:45:42 +0100 Subject: [PATCH] fix(profiles): ensure pinentry can start. See #66. --- apparmor.d/profiles-m-r/pinentry | 1 + apparmor.d/profiles-m-r/pinentry-curses | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-m-r/pinentry b/apparmor.d/profiles-m-r/pinentry index 7b817df4..4c904ce0 100644 --- a/apparmor.d/profiles-m-r/pinentry +++ b/apparmor.d/profiles-m-r/pinentry @@ -14,6 +14,7 @@ profile pinentry @{exec_path} { @{exec_path} mr, /{usr/,}bin/pinentry-* rPx, + /{usr/,}bin/{,ba,da}sh rix, /etc/pinentry/preexec r, diff --git a/apparmor.d/profiles-m-r/pinentry-curses b/apparmor.d/profiles-m-r/pinentry-curses index 6cd6a660..ba6390b1 100644 --- a/apparmor.d/profiles-m-r/pinentry-curses +++ b/apparmor.d/profiles-m-r/pinentry-curses @@ -13,7 +13,7 @@ profile pinentry-curses @{exec_path} { @{exec_path} mr, - /{usr/,}bin/bash rix, + /{usr/,}bin/{,ba,da}sh rix, /usr/share/terminfo/x/xterm-256color r,