Change owner of files in /var/lib/setroubleshoot when updating from older release
This commit is contained in:
parent
da781da597
commit
162fd460fb
@ -132,10 +132,10 @@ getent passwd %{username} >/dev/null || useradd -r -U -s /sbin/nologin -d %{pkgv
|
||||
%postun server
|
||||
%systemd_postun_with_restart auditd.service
|
||||
|
||||
%triggerun server -- %{name}-server < 2.1.1
|
||||
/usr/bin/systemctl --no-reload disable %{name} >/dev/null 2>&1 || :
|
||||
/usr/bin/systemctl stop %{name} >/dev/null 2>&1 || :
|
||||
%clean
|
||||
%triggerun server -- %{name}-server < 3.2.24-4
|
||||
chown -R setroubleshoot:setroubleshoot %{pkgvardatadir}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files server -f %{name}.lang
|
||||
|
Loading…
Reference in New Issue
Block a user