From faa4319798c5b825d79bed78cc30b594ae0f5cd7b368e32d34643c80a6658734 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 17 Feb 2020 20:41:20 +0000 Subject: [PATCH] Accepting request 774999 from home:ojkastl_buildservice:branches:network:vpn move file %{_datadir}/dbus-1/system.d/nm-strongswan-service.conf to strongswan-nm subpackage, as it is needed for the NetworkManager plugin that uses strongswan-nm, not strongswan-ipsec (upstream issue https://wiki.strongswan.org/issues/3339) OBS-URL: https://build.opensuse.org/request/show/774999 OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=120 --- strongswan.changes | 14 ++++++++++++++ strongswan.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/strongswan.changes b/strongswan.changes index 0967b92..eb9f853 100644 --- a/strongswan.changes +++ b/strongswan.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Feb 17 20:26:37 UTC 2020 - Johannes Kastl + +- move file %{_datadir}/dbus-1/system.d/nm-strongswan-service.conf + to strongswan-nm subpackage, as it is needed for the + NetworkManager plugin that uses strongswan-nm, not + strongswan-ipsec + This fixes the following error: + ``` + Failed to initialize a plugin instance: Connection ":1.153" is not + allowed to own the service "org.freedesktop.NetworkManager.strongswan" + due to security policies in the configuration file + ``` + ------------------------------------------------------------------- Thu Jan 30 13:43:50 UTC 2020 - Bjørn Lie diff --git a/strongswan.spec b/strongswan.spec index 740769e..d2f882a 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -548,7 +548,6 @@ fi %if %{with systemd} %{_unitdir}/strongswan-starter.service %{_unitdir}/strongswan.service -%{_datadir}/dbus-1/system.d/nm-strongswan-service.conf %{_sbindir}/rcstrongswan %{_sbindir}/charon-systemd %else @@ -957,6 +956,7 @@ fi %dir %{_libexecdir}/ipsec %dir %{strongswan_plugins} %{_libexecdir}/ipsec/charon-nm +%{_datadir}/dbus-1/system.d/nm-strongswan-service.conf %endif %if %{with mysql}