* [PATCH] apparmor: Fix signaling issues from podman
@ 2026-05-28 14:08 Bittner, Jan
0 siblings, 0 replies; only message in thread
From: Bittner, Jan @ 2026-05-28 14:08 UTC (permalink / raw)
To: passt-dev
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
This fixes a bug that causes a crash in podman. Podman uses signal to
communicate with pasta. Without this patch apparmor does not allow
podman to signal pasta and kills pasta instead. Killing pasta causes
podman to crash. You can reproduce this by starting a rootless podman
socket and starting a container via the socket using podman remote or
docker.
Links: https://bugs.launchpad.net/ubuntu/+source/passt/+bug/2154379
Signed-off-by: Jan Philipp Bittner <jan.bittner@kdo.de>
---
contrib/apparmor/usr.bin.pasta | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/apparmor/usr.bin.pasta b/contrib/apparmor/usr.bin.pasta
index 56b5024..b0838de 100644
--- a/contrib/apparmor/usr.bin.pasta
+++ b/contrib/apparmor/usr.bin.pasta
@@ -18,6 +18,9 @@ include <tunables/global>
profile pasta /usr/bin/pasta{,.avx2} flags=(attach_disconnected) {
include <abstractions/pasta>
+ # Allow podman to signal pasta
+ signal (receive) peer=podman,
+
# Alternatively: include <abstractions/user-tmp>
/tmp/** rw, # tap_sock_unix_open(),
# tap_sock_unix_init(), pcap(),
--
2.43.0
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 9516 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-28 14:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-28 14:08 [PATCH] apparmor: Fix signaling issues from podman Bittner, Jan
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).