diff --git a/apparmor.d/groups/pacman/pacman-key b/apparmor.d/groups/pacman/pacman-key index 93e542b79..63e3bcbe3 100644 --- a/apparmor.d/groups/pacman/pacman-key +++ b/apparmor.d/groups/pacman/pacman-key @@ -45,6 +45,10 @@ profile pacman-key @{exec_path} { capability dac_read_search, capability mknod, + network inet stream, + network inet6 stream, + network unix stream, + @{bin}/gpg{,2} mr, @{bin}/dirmngr rix, @{bin}/gpg-agent rix, @@ -60,6 +64,9 @@ profile pacman-key @{exec_path} { owner @{PROC}/@{pid}/task/@{tid}/comm rw, owner @{PROC}/@{pid}/task/@{tid}/stat rw, + /dev/pts/@{int} rw, + /dev/tty@{int} rw, + } include if exists