11 Jun
2025
11 Jun
'25
11:31 a.m.
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