From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=AHjQgntK; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id 0D9475A0271 for ; Tue, 08 Sep 2026 17:02:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788879736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JGAEiWer2e2jWBsVcszpE6b6TG8EBSUM/RekgUePutA=; b=AHjQgntK69vKtC0mIHyMv9crlM/B68T2K4FqekUMpyYqYiG5jZy4XcPas3hLPN4dzQFU2Y fv0C6M3KvoG69fcXHIrMizK8dnzewTOTe4aTLTmCKKDNmlL1eknuxmJN96/J8V1e+RxKe2 lLTzbwd1He6SUoXJ6EnJEEs5u93VY3A= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-77-429SIrlvO1S9t0rWTS7Chw-1; Tue, 08 Sep 2026 11:02:11 -0400 X-MC-Unique: 429SIrlvO1S9t0rWTS7Chw-1 X-Mimecast-MFC-AGG-ID: 429SIrlvO1S9t0rWTS7Chw_1788879730 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-49953abe51fso37817635e9.1 for ; Tue, 08 Sep 2026 08:02:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788879730; x=1789484530; h=date:content-transfer-encoding:content-type:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=JGAEiWer2e2jWBsVcszpE6b6TG8EBSUM/RekgUePutA=; b=SpDm5SXj0o61E8D0H7jv8HTCAmP+bHXczhFgSsbuF9P0RRnpnTnj+fpb7ZIdcS5xMJ e9C8Ae7QBPa00/KadguUvAYQ18r7ngKrqqMscLsoMWoJI+ZXFD3BHO+yeQeLwxIa4HNk b7vMsmqIQUMibJlN4AqGJmXMKQtPCELO5+P7ZWO0sPs6F2lJceYbfKUwNZCirPxMTMiy EQADCSMRtPZvLwHeeFlcPnoKd1Pm1l2pUuvKtkdW7DBdgT2FxinIO6XrLJ461HGFsUhG 2uSWmchIYWOmOn1de6bWK9WdUp/342kOvYUt0ZCh6P7GXwJ+KmHxrHshBkPZCcRROw+y ao9A== X-Gm-Message-State: AFuF++ndRUiyUnC1Jt+Cmpiwn5IwwavL26ec7La5ylk1qxAgUl0zsOYc 3i3mkucPO4HybCFsday8a14NmZH5YAOeFfaD480cbNJujt3dPvAPJDIlczpx71md+TjNd3KqPha xS6dkT3n7A8AWc3sKIJG3s73wB6E7TSgys4kLW+0j1pPCadqT9ubmqg== X-Gm-Gg: AYBFou3kWMv0IAOIYlFlFst03kiX3zvZ/pALsjYMk22gupSzRrLC0oXyq/3+Wvml0KN qLKMBaJIcVdOUWzkHFnn91ZimL1eumLDd/XiBp0tKrmoDzeuL0Ug30Iqp2O92m0ypr2J6CLqx5b Ve5MWd/mhj+NsCFT8rxrkDzUkXRE6YN7XjDhVQQPniaaXSQxZvOVCygcnGztJHQuvaL8hgfx3LX feF1xIC4MdKUAURCsZcTz0QCfec8VxYDCOY2xkpQVUxz0naGPTDL5NEEQE5QslOZp8Z0tt5aE6A Wovxr6BN4wJwrINt/WWekx0PGaaIregbQWTZ7wQT5pkFLVmwho74akE9IeM50rpWyaPCJNZJu+D yEp8UoMuUt4cRObnuUVFxCgZMaOzi X-Received: by 2002:a05:600c:c494:b0:49d:286:83d5 with SMTP id 5b1f17b1804b1-49d028683f3mr217549855e9.13.1788879729961; Tue, 08 Sep 2026 08:02:09 -0700 (PDT) X-Received: by 2002:a05:600c:c494:b0:49d:286:83d5 with SMTP id 5b1f17b1804b1-49d028683f3mr217548715e9.13.1788879729060; Tue, 08 Sep 2026 08:02:09 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49ce551bf7asm322950915e9.2.2026.09.08.08.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 08:02:07 -0700 (PDT) From: Stefano Brivio To: Sevinj Aghayeva Subject: Re: [PATCH] contrib/apparmor: add missing setfcap capability Message-ID: <20260908170206.225f16cc@elisabeth> In-Reply-To: <20260907213938.1161149-1-sevinj.aghayeva@gmail.com> References: <20260907213938.1161149-1-sevinj.aghayeva@gmail.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Tue, 08 Sep 2026 17:02:07 +0200 (CEST) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: m-G_UbFz6rofSFRslOExczY0n72RYlTbACeBrbd_7Lg_1788879730 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: KDUBX2EBSFLY7RUYEM3XZL27JY3FR7Z6 X-Message-ID-Hash: KDUBX2EBSFLY7RUYEM3XZL27JY3FR7Z6 X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 7 Sep 2026 14:39:37 -0700 Sevinj Aghayeva wrote: > Since Linux 5.12, writing a mapping from UID 0 to /proc/self/uid_map > requires CAP_SETFCAP. isolation.c already retains this capability for > the case where pasta spawns a child from a non-init user namespace, > but the AppArmor profile doesn't grant it, so the write is denied > whenever the profile is enforced. > > Add setfcap to the AppArmor abstraction to match what isolation.c > expects. > > Link: https://bugs.passt.top/show_bug.cgi?id=172 > Signed-off-by: Sevinj Aghayeva Applied, thanks for the patch, and welcome to the git log! I just played for a while with nested pasta on Debian, and finally stuff like: $ pasta --config-net -- pasta --config-net ping -c1 2600:: works with AppArmor as well. I'll take care of closing https://bugs.passt.top/show_bug.cgi?id=172 once your fix is released. -- Stefano