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
%checkConfigConsistency targeted
%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d
%postun targeted
if [ $1 = 0 ]; then
@ -695,6 +696,7 @@ exit 0
%posttrans minimum
%checkConfigConsistency minimum
%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d
%postun minimum
if [ $1 = 0 ]; then
@ -768,6 +770,7 @@ exit 0
%posttrans mls
%checkConfigConsistency mls
%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d
%postun mls
if [ $1 = 0 ]; then
@ -810,6 +813,9 @@ exit 0
%endif
%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
- Add stalld module to modules-targeted-contrib.conf