1
0
Fork 0
mirror of https://passt.top/passt synced 2025-07-30 12:58:00 +02:00
passt/contrib
Stefano Brivio 0293c6f4a3 fedora: Hide restorecon(8) errors in post-transaction scriptlet
Commit e019323538 ("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.

Link: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f454466bb6
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2371159
Fixes: e019323538 ("fedora: Separately restore context for /run/user in %posttrans selinux")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Tested-by: Max Chernoff <git@maxchernoff.ca>
2025-06-11 16:24:50 +02:00
..
apparmor apparmor: Workaround for unconfined libvirtd when triggered by unprivileged user 2025-02-06 09:43:09 +01:00
fedora fedora: Hide restorecon(8) errors in post-transaction scriptlet 2025-06-11 16:24:50 +02:00
kata-containers Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00
selinux selinux: Transition to pasta_t in containers 2025-06-04 12:24:01 +02:00