if %{_sbindir}/selinuxenabled ; then
echo "Fixing Rootless SELinux labels in homedir"
%{_sbindir}/restorecon -R /home/*/.local/share/containers/storage/overlay* 2> /dev/null
fi
which should ignore outputting any errors, but doesn’t quite ignore errors themselves. TBH, this is a pretty inadvisable thing to put in an RPM scriptlet, but whatever.
If you want to be sure those files are correctly labelled, you can run it yourself manually:
You were “spot on” in that I have none of these files as verified by a manual run of the command you suggested.
SU: # restorecon -R /home//.local/share/containers/storage/overlay
restorecon: SELinux: Could not get canonical path for /home//.local/share/containers/storage/overlay restorecon: No such file or directory.
Thanks for the assist, I was wondering if the update was successful or not.