public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Max Chernoff <git@maxchernoff.ca>
To: Stefano Brivio <sbrivio@redhat.com>, passt-dev@passt.top
Cc: Max Chernoff <git@maxchernoff.ca>
Subject: Re: [PATCH] fedora: Hide restorecon(8) errors in post-transaction scriptlet
Date: Wed, 11 Jun 2025 03:31:04 -0600	[thread overview]
Message-ID: <0301e5b0dca6d2faa6d4ed591af9745b85237051.camel@maxchernoff.ca> (raw)
In-Reply-To: <20250610151135.3425210-1-sbrivio@redhat.com>

Hi Stefano,

On Tue, 2025-06-10 at 17:11 +0200, Stefano Brivio wrote:
> Commit e01932353869 ("fedora: Separately restore context for /run/user
> in %posttrans selinux") added a call to restorecon for /run/user in
> the passt-selinux post-transaction scriptlet, and we can't give a path
> that's more specific than that, but it often contains FUSE mountpoints
> that are not accessible as root, resulting in warnings as the package
> is installed.
>
> Hide the errors, a failure in relabeling wouldn't be really
> problematic in any case.

I've tested installing an RPM built with both "fedora: Hide restorecon"
and "fedora: Add container-selinux" applied, and can confirm that both
are working as expected.

Thanks,
-- Max

      reply	other threads:[~2025-06-11  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-10 15:11 [PATCH] fedora: Hide restorecon(8) errors in post-transaction scriptlet Stefano Brivio
2025-06-11  9:31 ` Max Chernoff [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=0301e5b0dca6d2faa6d4ed591af9745b85237051.camel@maxchernoff.ca \
    --to=git@maxchernoff.ca \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@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).