public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: Paul Holzinger <pholzing@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH] apparmor: allow netns paths on /tmp again
Date: Fri, 02 Oct 2026 07:24:44 +0200 (CEST)	[thread overview]
Message-ID: <20261002072443.0a7e4130@elisabeth> (raw)
In-Reply-To: <20261001125528.78194-2-pholzing@redhat.com>

On Thu,  1 Oct 2026 14:55:29 +0200
Paul Holzinger <pholzing@redhat.com> wrote:

> The change to the user-tmp abstraction broke pasta as it can no longer
> open the netns path given by podman when it is under /tmp.
> 
> The abstraction uses "owner" while the kernel always seems to report
> ouid=0 for the bind mounted netns reference. I originally fixed that
> in commit 6cdc9fd51bf6 ("apparmor: allow netns paths on /tmp").
> 
> In order to fix the regression add /tmp explicitly again here while
> keeping the abstraction to still allow /var/tmp for the other regular
> files.
> 
> Link: https://github.com/podman-container-tools/podman/pull/29867#pullrequestreview-5378330040
> Fixes: f2683d14802d ("apparmor: Use user-tmp abstraction, allow /var/tmp instead of /tmp only")
> Signed-off-by: Paul Holzinger <pholzing@redhat.com>

Applied (replaced spaces with tabs, reworded comment slightly), thanks,
and sorry for breaking this.

-- 
Stefano


      reply	other threads:[~2026-10-02  5:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01 12:55 Paul Holzinger
2026-10-02  5:24 ` Stefano Brivio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261002072443.0a7e4130@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=pholzing@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).