diff --git a/usbguard.changes b/usbguard.changes index fcca86c..37ac319 100644 --- a/usbguard.changes +++ b/usbguard.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 9 12:57:34 UTC 2020 - Robert Frohl + +- disable system call filtering in systemd service file for Leap 15.X (boo#1173750) + * daemon wont start on Leap otherwise + ------------------------------------------------------------------- Tue Jun 16 11:40:03 UTC 2020 - Robert Frohl diff --git a/usbguard.spec b/usbguard.spec index 17569b5..e9bdec0 100644 --- a/usbguard.spec +++ b/usbguard.spec @@ -123,6 +123,11 @@ install -p -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/usbguard/usbguard-daemon mkdir -p %{buildroot}%{_datadir}/zsh/site-functions/ install -p -m 644 scripts/usbguard-zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_usbguard +# turn off system call filtering in Leap 15.X, as it interferes with daemon start up (boo#1173750) +%if 0%{?suse_version} == 1500 && 0%{?is_opensuse} + sed -i '/^SystemCallFilter=@system-service/d' %{buildroot}%{_unitdir}/usbguard.service +%endif + # Cleanup find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete