Accepting request 724552 from security:apparmor
- Don't assume systemctl is already installed or available at all. - Files in /usr/lib/rpm/macros.d are no config files (forwarded request 724522 from kukuk) OBS-URL: https://build.opensuse.org/request/show/724552 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor-rpm-macros?expand=0&rev=6
This commit is contained in:
commit
ef9a6cc441
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 19 11:08:48 CEST 2019 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Don't assume systemctl is already installed or available at all.
|
||||||
|
- Files in /usr/lib/rpm/macros.d are no config files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 8 16:53:08 UTC 2019 - Christian Boltz <suse-beta@cboltz.de>
|
Wed May 8 16:53:08 UTC 2019 - Christian Boltz <suse-beta@cboltz.de>
|
||||||
|
|
||||||
|
@ -43,6 +43,6 @@ install -m644 %{S:0} %{buildroot}%{macrodir}/
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config %{macrodir}/macros.apparmor
|
%{macrodir}/macros.apparmor
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%apparmor_reload()\
|
%apparmor_reload()\
|
||||||
if [ "$YAST_IS_RUNNING" != "instsys" ]; then\
|
if [ "$YAST_IS_RUNNING" != "instsys" -a -x /usr/bin/systemctl ]; then\
|
||||||
if /usr/bin/systemctl is-active --quiet apparmor.service; then\
|
if /usr/bin/systemctl is-active --quiet apparmor.service; then\
|
||||||
/sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
|
/sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
|
||||||
fi\
|
fi\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user