Relabel explicitly some dirs in %posttrans scriptlets

This commit is contained in:
Zdenek Pytela 2022-04-21 09:15:28 +02:00
parent 8e34354093
commit 489937c6c2

View File

@ -583,6 +583,7 @@ exit 0
%posttrans targeted %posttrans targeted
%checkConfigConsistency targeted %checkConfigConsistency targeted
%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d
%postun targeted %postun targeted
if [ $1 = 0 ]; then if [ $1 = 0 ]; then
@ -695,6 +696,7 @@ exit 0
%posttrans minimum %posttrans minimum
%checkConfigConsistency minimum %checkConfigConsistency minimum
%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d
%postun minimum %postun minimum
if [ $1 = 0 ]; then if [ $1 = 0 ]; then
@ -768,6 +770,7 @@ exit 0
%posttrans mls %posttrans mls
%checkConfigConsistency mls %checkConfigConsistency mls
%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d
%postun mls %postun mls
if [ $1 = 0 ]; then if [ $1 = 0 ]; then
@ -810,6 +813,9 @@ exit 0
%endif %endif
%changelog %changelog
* Thu Apr 21 2022 Zdenek Pytela <zpytela@redhat.com> - 36.7-2
- Relabel explicitly some dirs in %posttrans scriptlets
* Thu Apr 21 2022 Zdenek Pytela <zpytela@redhat.com> - 36.7-1 * Thu Apr 21 2022 Zdenek Pytela <zpytela@redhat.com> - 36.7-1
- Add stalld module to modules-targeted-contrib.conf - Add stalld module to modules-targeted-contrib.conf