OpenVPN / openvpn3-linux

OpenVPN 3 Linux client
GNU Affero General Public License v3.0
552 stars 146 forks source link

OpenVPN 3 Linux does not work with glib2-2.76 and newer (ArchLinux, Ubuntu 23+, Fedora 38+) #171

Closed Jipok closed 2 months ago

Jipok commented 1 year ago

Package: https://aur.archlinux.org/packages/openvpn3 ERROR Failed calling D-Bus method UserInputProvide: GDBus.Error:net.openvpn.v3.sessions.error: Backend VPN process has died. Session is no longer valid.

Tried to rollback to previous versions: https://aur.archlinux.org/cgit/aur.git/commit/?h=openvpn3&id=92bc949acae50959fd7ac49b81e3c2bec2572a62 https://aur.archlinux.org/cgit/aur.git/commit/?h=openvpn3&id=575161a346fe326a8ab3ea7da6598b5e473acfd5

Got same error. Tried systemctl enable systemd-resolved. Nothing changed.

sudo journalctl --since -30m SYSLOG_IDENTIFIER=net.openvpn.v3.log + SYSLOG_IDENTIFIER=openvpn3-service-logger + SYSLOG_IDENTIFIER=dbus + _SYSTEMD_UNIT=dbus.service + UNIT=dbus.service

Logs ``` мар 15 15:14:14 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[182365]: openvpn3-service-configmgr starting idle shutdown (pid: 182365) мар 15 15:14:14 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Detached: {tag:17596408883715589883} [:1.2154/net.openvpn.v3.configuration] мар 15 15:14:16 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.2186' (uid=0 pid=205598 comm="sudo pacman -r openvpn3") мар 15 15:14:16 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:14:37 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.manjaro.pamac.daemon' unit='pamac-daemon.service' requested by ':1.2187' (uid=1000 pid=206856 comm="pamac-manager") мар 15 15:14:38 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Successfully activated service 'org.manjaro.pamac.daemon' мар 15 15:14:57 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.2189' (uid=0 pid=208145 comm="/usr/lib/polkit-1/polkit-agent-helper-1 nik") мар 15 15:14:57 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:15:00 nik-omenbyhplaptop16c0xxx systemd[1]: Reloading D-Bus System Message Bus... мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:15:00 nik-omenbyhplaptop16c0xxx dbus-send[208369]: method return time=1678875300.585617 sender=org.freedesktop.DBus -> destination=:1.2192 serial=3 reply_serial=2 мар 15 15:15:00 nik-omenbyhplaptop16c0xxx systemd[1]: Reloaded D-Bus System Message Bus. мар 15 15:18:15 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.2158" (uid=967 pid=182465 comm="/usr/libexec/openvpn3-linux/openvpn3-service-netcf") interface="net.openvpn.v3.log" member="Detach" error name="(unset)" requested_reply="0" destination=":1.74" (uid=967 pid=3197 comm="/usr/libexec/openvpn3-linux/openvpn3-service-logge") мар 15 15:18:15 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.2158" (uid=967 pid=182465 comm="/usr/libexec/openvpn3-linux/openvpn3-service-netcf") interface="net.openvpn.v3.log" member="Detach" error name="(unset)" requested_reply="0" destination=":1.74" (uid=967 pid=3197 comm="/usr/libexec/openvpn3-linux/openvpn3-service-logge") мар 15 15:22:28 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.2243' (uid=1000 pid=242789 comm="/opt/google/chrome/chrome https://www.jetbrains.co") мар 15 15:22:28 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found. мар 15 15:24:07 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.2275' (uid=0 pid=250165 comm="sudo pacman -U ./openvpn3-18_beta-4-any.pkg.tar.zs") мар 15 15:24:07 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:24:14 nik-omenbyhplaptop16c0xxx systemd[1]: Reloading D-Bus System Message Bus... мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: Unknown group "netdev" in message bus configuration file мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Reloaded configuration мар 15 15:24:14 nik-omenbyhplaptop16c0xxx dbus-send[250710]: method return time=1678875854.796421 sender=org.freedesktop.DBus -> destination=:1.2279 serial=3 reply_serial=2 мар 15 15:24:14 nik-omenbyhplaptop16c0xxx systemd[1]: Reloaded D-Bus System Message Bus. мар 15 15:24:20 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.manjaro.pamac.daemon' unit='pamac-daemon.service' requested by ':1.2280' (uid=1000 pid=250989 comm="pamac checkupdates -q --refresh-tmp-files-dbs --us") мар 15 15:24:20 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Successfully activated service 'org.manjaro.pamac.daemon' мар 15 15:24:34 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating service name='net.openvpn.v3.configuration' requested by ':1.2282' (uid=1000 pid=252119 comm="openvpn3 session-start --config profile.ovpn") (using servicehelper) мар 15 15:24:34 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[252124]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-configmgr) мар 15 15:24:34 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[252124]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:24:34 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[252124]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:24:34 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Attached: {tag:11290672473054087421} [:1.2283/net.openvpn.v3.configuration] мар 15 15:24:34 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Successfully activated service 'net.openvpn.v3.configuration' мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: {tag:11290672473054087421} Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:24:35 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.879' (uid=967 pid=62321 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252203]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252203]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252203]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Attached: {tag:15424916788340851321} [:1.2284/net.openvpn.v3.backends] мар 15 15:24:35 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252208]: Re-initiated process from pid 252208 to backend process pid 252213 мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252213]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252213]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[252213]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Attached: {tag:11389014820456218785} [:1.2285/net.openvpn.v3.backends] мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Attached: {tag:15407280605843496166} [:1.2285/net.openvpn.v3.sessions] мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Assigned session /net/openvpn/v3/sessions/7907cbf2s749cs4547s8a15s07c9c5346906 to {tag:11389014820456218785} мар 15 15:24:35 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating service name='net.openvpn.v3.netcfg' requested by ':1.2285' (uid=967 pid=252213 comm="/usr/libexec/openvpn3-linux/openvpn3-service-clien") (using servicehelper) мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[252219]: Loading configuration file: /var/lib/openvpn3/netcfg.json мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Attached: {tag:8912792636715682768} [:1.2286/net.openvpn.v3.netcfg] мар 15 15:24:35 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Attached: {tag:13601448941505107197} [:1.2286/net.openvpn.v3.netcfg.core] мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[252219]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-netcfg) мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[252219]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:24:35 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[252219]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:24:35 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Successfully activated service 'net.openvpn.v3.netcfg' мар 15 15:24:36 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: {tag:8912792636715682768} Redirect method: host-route мар 15 15:24:40 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.2285" (uid=967 pid=252213 comm="/usr/libexec/openvpn3-linux/openvpn3-service-clien") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.879" (uid=967 pid=62321 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") мар 15 15:24:41 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: Detached: {tag:15424916788340851321} [:1.2284/net.openvpn.v3.backends] мар 15 15:24:45 nik-omenbyhplaptop16c0xxx openvpn3-service-logger[3197]: {tag:852312002354459030} Session is closing мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=540 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down. мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=540 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down. мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=540 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down. мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=540 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:06 nik-omenbyhplaptop16c0xxx dbus-daemon[497]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down. мар 15 15:25:06 nik-omenbyhplaptop16c0xxx systemd[1]: Stopping D-Bus System Message Bus... мар 15 15:25:06 nik-omenbyhplaptop16c0xxx systemd[1]: dbus.service: Deactivated successfully. мар 15 15:25:06 nik-omenbyhplaptop16c0xxx systemd[1]: Stopped D-Bus System Message Bus. мар 15 15:25:06 nik-omenbyhplaptop16c0xxx systemd[1]: dbus.service: Consumed 14.770s CPU time. -- Boot 4251afee3e4f494dbc1b3a48e22edd52 -- мар 15 15:25:21 nik-omenbyhplaptop16c0xxx systemd[1]: Starting D-Bus System Message Bus... мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: dbus[511]: Unknown group "netdev" in message bus configuration file мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: dbus[511]: Unknown group "netdev" in message bus configuration file мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating systemd to hand-off: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.2' (uid=0 pid=512 comm="/usr/lib/power-profiles-daemon") мар 15 15:25:21 nik-omenbyhplaptop16c0xxx systemd[1]: Started D-Bus System Message Bus. мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.systemd1' мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.PolicyKit1' мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.7' (uid=0 pid=552 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.8' (uid=0 pid=586 comm="/usr/bin/lightdm") мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.hostname1' мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=552 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' мар 15 15:25:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.Accounts' мар 15 15:25:22 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' requested by ':1.7' (uid=0 pid=552 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:22 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'fi.w1.wpa_supplicant1' мар 15 15:25:23 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.19' (uid=0 pid=679 comm="(systemd)") мар 15 15:25:23 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:25:24 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.22' (uid=0 pid=747 comm="lightdm --session-child 13 20") мар 15 15:25:24 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:25:26 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.7' (uid=0 pid=552 comm="/usr/bin/NetworkManager --no-daemon") мар 15 15:25:26 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found. мар 15 15:25:29 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.26' (uid=0 pid=784 comm="(systemd)") мар 15 15:25:29 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.32' (uid=1000 pid=921 comm="/usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/pa") мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.34' (uid=1000 pid=1000 comm="/usr/bin/wireplumber") мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1' мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.44' (uid=1000 pid=1121 comm="/usr/lib/gvfs-udisks2-volume-monitor") мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.UDisks2' мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.freedesktop.UPower' мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.blueman.Mechanism' unit='blueman-mechanism.service' requested by ':1.48' (uid=1000 pid=1017 comm="/usr/bin/python /usr/bin/blueman-applet") мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.blueman.Mechanism' мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.48' (uid=1000 pid=1017 comm="/usr/bin/python /usr/bin/blueman-applet") мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found. мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.57' (uid=1000 pid=958 comm="/usr/lib/slack/slack -s --enable-crashpad") мар 15 15:25:30 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found. мар 15 15:25:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.sessions' requested by ':1.66' (uid=1000 pid=2634 comm="openvpn3 session-start --config profile.ovpn") (using servicehelper) мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.sessions[2640]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-sessionmgr) мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.sessions[2640]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.sessions[2640]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:25:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.log' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.log[2645]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-logger) мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.log[2645]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.log[2645]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:25:43 nik-omenbyhplaptop16c0xxx net.openvpn.v3.log[2645]: Idle exit set to 10 minutes мар 15 15:25:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.log' мар 15 15:25:43 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:5176876094042800767} [:1.67/net.openvpn.v3.sessions] мар 15 15:25:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.sessions' мар 15 15:25:44 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.configuration' requested by ':1.66' (uid=1000 pid=2634 comm="openvpn3 session-start --config profile.ovpn") (using servicehelper) мар 15 15:25:44 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[2670]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-configmgr) мар 15 15:25:44 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[2670]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:25:44 nik-omenbyhplaptop16c0xxx net.openvpn.v3.configuration[2670]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:25:45 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:3294001832531507693} [:1.73/net.openvpn.v3.configuration] мар 15 15:25:45 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.configuration' мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:25:46 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2676]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2676]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2676]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:10538780266484486144} [:1.74/net.openvpn.v3.backends] мар 15 15:25:46 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2681]: Re-initiated process from pid 2681 to backend process pid 2682 мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2682]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2682]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2682]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:17752863769272376516} [:1.75/net.openvpn.v3.backends] мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:14770816093798362931} [:1.75/net.openvpn.v3.sessions] мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/d32e75d5sabb6s4f2bs9216s657e1b4a21aa to {tag:17752863769272376516} мар 15 15:25:46 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.netcfg' requested by ':1.75' (uid=967 pid=2682 comm="/usr/libexec/openvpn3-linux/openvpn3-service-clien") (using servicehelper) мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[2688]: Loading configuration file: /var/lib/openvpn3/netcfg.json мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:6801382472851710627} [:1.76/net.openvpn.v3.netcfg] мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:9019385048387530505} [:1.76/net.openvpn.v3.netcfg.core] мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[2688]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-netcfg) мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[2688]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:25:46 nik-omenbyhplaptop16c0xxx net.openvpn.v3.netcfg[2688]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:25:46 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.netcfg' мар 15 15:25:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:6801382472851710627} Network Configuration VERB1: Redirect method: host-route мар 15 15:25:52 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:25:52 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:10538780266484486144} [:1.74/net.openvpn.v3.backends] мар 15 15:26:02 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.manjaro.pamac.daemon' unit='pamac-daemon.service' requested by ':1.77' (uid=1000 pid=2723 comm="pamac checkupdates -q --refresh-tmp-files-dbs --us") мар 15 15:26:02 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.manjaro.pamac.daemon' мар 15 15:26:41 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.79' (uid=1000 pid=2799 comm="openvpn3-admin version --services") (using servicehelper) мар 15 15:26:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2804]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:26:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2804]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:26:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[2804]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:26:41 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:1363051216171063034} [:1.80/net.openvpn.v3.backends] мар 15 15:26:41 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:26:44 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:1363051216171063034} [:1.80/net.openvpn.v3.backends] мар 15 15:27:34 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.82' (uid=1000 pid=2887 comm="/opt/google/chrome/chrome") мар 15 15:27:34 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found. мар 15 15:29:35 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.86' (uid=0 pid=3377 comm="sudo openvpn3-admin log-service --log-level 6") мар 15 15:29:35 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:29:44 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB1: Log level changed to 6 мар 15 15:30:03 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.88' (uid=1000 pid=3438 comm="openvpn3-admin version --services") (using servicehelper) мар 15 15:30:03 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3443]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:30:03 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3443]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:30:03 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3443]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:30:03 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:7877844478751905637} [:1.89/net.openvpn.v3.backends] мар 15 15:30:03 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:30:06 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:7877844478751905637} [:1.89/net.openvpn.v3.backends] мар 15 15:30:07 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.90' (uid=1000 pid=3449 comm="openvpn3-admin version --services") (using servicehelper) мар 15 15:30:07 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3454]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:30:07 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3454]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:30:07 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3454]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:30:07 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:2165800593456280365} [:1.91/net.openvpn.v3.backends] мар 15 15:30:07 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:30:11 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:30:11 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3463]: Re-initiated process from pid 3463 to backend process pid 3464 мар 15 15:30:11 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3464]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:30:11 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3464]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:30:11 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3464]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:30:11 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:16929269477665219677} [:1.93/net.openvpn.v3.backends] мар 15 15:30:11 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:4312938257175000096} [:1.93/net.openvpn.v3.sessions] мар 15 15:30:11 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/4a7fe7b7se13fs4697s8d3bs43885543851d to {tag:16929269477665219677} мар 15 15:30:15 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:30:16 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:2165800593456280365} [:1.91/net.openvpn.v3.backends] мар 15 15:30:50 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:30:50 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3795]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3795]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3795]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:30:50 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:6836215536635258495} [:1.95/net.openvpn.v3.backends] мар 15 15:30:50 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3800]: Re-initiated process from pid 3800 to backend process pid 3801 мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3801]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3801]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:30:50 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[3801]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:30:50 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:26250808143915863} [:1.96/net.openvpn.v3.backends] мар 15 15:30:50 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:14848863870774143008} [:1.96/net.openvpn.v3.sessions] мар 15 15:30:50 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/2b093b74s5f0es4daas911asaf75902cf642 to {tag:26250808143915863} мар 15 15:30:56 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:6836215536635258495} [:1.95/net.openvpn.v3.backends] мар 15 15:31:02 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:31:05 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.103' (uid=0 pid=3954 comm="sudo journalctl --since -30m SYSLOG_IDENTIFIER=net") мар 15 15:31:05 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:31:36 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.104' (uid=0 pid=3976 comm="sudo journalctl --since -30m SYSLOG_IDENTIFIER=net") мар 15 15:31:36 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:33:13 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.manjaro.pamac.daemon' unit='pamac-daemon.service' requested by ':1.107' (uid=1000 pid=4295 comm="pamac-manager") мар 15 15:33:13 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.manjaro.pamac.daemon' мар 15 15:33:29 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.109' (uid=0 pid=4356 comm="/usr/lib/polkit-1/polkit-agent-helper-1 nik") мар 15 15:33:29 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:33:57 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.manjaro.pamac.daemon' unit='pamac-daemon.service' requested by ':1.116' (uid=1000 pid=4666 comm="pamac checkupdates -q --refresh-tmp-files-dbs --us") мар 15 15:33:57 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'org.manjaro.pamac.daemon' мар 15 15:34:00 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:34:00 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4820]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4820]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4820]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:34:00 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:9822824572138494725} [:1.119/net.openvpn.v3.backends] мар 15 15:34:00 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4825]: Re-initiated process from pid 4825 to backend process pid 4826 мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4826]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4826]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:34:00 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[4826]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:34:00 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:9549042422913387774} [:1.120/net.openvpn.v3.backends] мар 15 15:34:00 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:17522320937480474161} [:1.120/net.openvpn.v3.sessions] мар 15 15:34:00 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/b3e6a6a8s83das4229sb95fs818e089aa9ea to {tag:9549042422913387774} мар 15 15:34:04 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:34:06 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:9822824572138494725} [:1.119/net.openvpn.v3.backends] мар 15 15:34:17 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.122' (uid=1000 pid=4887 comm="/opt/google/chrome/chrome https://slack.com/openid") мар 15 15:34:17 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found. мар 15 15:36:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:36:28 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5497]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5497]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5497]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:36:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:857984327858672268} [:1.129/net.openvpn.v3.backends] мар 15 15:36:28 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5502]: Re-initiated process from pid 5502 to backend process pid 5503 мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5503]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5503]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:36:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5503]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:36:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:2222412201115115687} [:1.130/net.openvpn.v3.backends] мар 15 15:36:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:13927080534446460585} [:1.130/net.openvpn.v3.sessions] мар 15 15:36:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/0e914a21s7398s4a54sa39asc47904cfbfc7 to {tag:2222412201115115687} мар 15 15:36:34 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:857984327858672268} [:1.129/net.openvpn.v3.backends] мар 15 15:36:37 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.130" (uid=967 pid=5503 comm="/usr/libexec/openvpn3-linux/openvpn3-service-clien") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.67" (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") мар 15 15:36:44 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:37:31 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.138' (uid=0 pid=5676 comm="sudo systemctl status systemd-resolved~") мар 15 15:37:31 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:37:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.139' (uid=0 pid=5687 comm="sudo systemctl status systemd-resolved") мар 15 15:37:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:38:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.140' (uid=0 pid=5699 comm="sudo systemctl start systemd-resolved") мар 15 15:38:21 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:38:26 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.142' (uid=0 pid=5717 comm="sudo systemctl status systemd-resolved") мар 15 15:38:26 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:38:41 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:38:41 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5843]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5843]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5843]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:38:41 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:15067968577780944010} [:1.144/net.openvpn.v3.backends] мар 15 15:38:41 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5848]: Re-initiated process from pid 5848 to backend process pid 5849 мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5849]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5849]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:38:41 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[5849]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:38:41 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:4518311142645221373} [:1.145/net.openvpn.v3.backends] мар 15 15:38:41 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:15989938200057676767} [:1.145/net.openvpn.v3.sessions] мар 15 15:38:41 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/398073f1sdfdbs4694sa753s1db3dd430d42 to {tag:4518311142645221373} мар 15 15:38:43 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.145" (uid=967 pid=5849 comm="/usr/libexec/openvpn3-linux/openvpn3-service-clien") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.67" (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") мар 15 15:38:46 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:38:47 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:15067968577780944010} [:1.144/net.openvpn.v3.backends] мар 15 15:39:07 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.146' (uid=0 pid=5873 comm="sudo journalctl --since -30m SYSLOG_IDENTIFIER=net") мар 15 15:39:07 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:42:05 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.157' (uid=0 pid=6238 comm="/usr/lib/polkit-1/polkit-agent-helper-1 nik") мар 15 15:42:05 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:42:16 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.161' (uid=0 pid=6305 comm="/usr/lib/polkit-1/polkit-agent-helper-1 nik") мар 15 15:42:16 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. мар 15 15:42:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:42:28 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6438]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6438]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6438]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:42:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:849584446241094030} [:1.165/net.openvpn.v3.backends] мар 15 15:42:28 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6443]: Re-initiated process from pid 6443 to backend process pid 6444 мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6444]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6444]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:42:28 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6444]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:42:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:11897192219778744383} [:1.166/net.openvpn.v3.backends] мар 15 15:42:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:17471634842230019982} [:1.166/net.openvpn.v3.sessions] мар 15 15:42:28 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/32078ad5sf1e5s4d4fs9c4csbcf2103bea81 to {tag:11897192219778744383} мар 15 15:42:34 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:849584446241094030} [:1.165/net.openvpn.v3.backends] мар 15 15:42:35 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:42:39 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:3294001832531507693} Config Manager INFO: Parsed single-use configuration 'profile.ovpn', owner: nik мар 15 15:42:39 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating service name='net.openvpn.v3.backends' requested by ':1.67' (uid=967 pid=2640 comm="/usr/libexec/openvpn3-linux/openvpn3-service-sessi") (using servicehelper) мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6548]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-backendstart) мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6548]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6548]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:42:39 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:8934332292885703780} [:1.174/net.openvpn.v3.backends] мар 15 15:42:39 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Successfully activated service 'net.openvpn.v3.backends' мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6553]: Re-initiated process from pid 6553 to backend process pid 6554 мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6554]: OpenVPN 3/Linux git:makepkg:5c47318f719aa046 (openvpn3-service-client) мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6554]: OpenVPN core 3.git:HEAD:c4fa5a69 linux x86_64 64-bit мар 15 15:42:39 nik-omenbyhplaptop16c0xxx net.openvpn.v3.backends[6554]: Copyright (C) 2012-2020 OpenVPN Inc. All rights reserved. мар 15 15:42:39 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:7066923812535353395} [:1.175/net.openvpn.v3.backends] мар 15 15:42:39 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Attached: {tag:11731903782373737517} [:1.175/net.openvpn.v3.sessions] мар 15 15:42:39 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger DEBUG: Assigned session /net/openvpn/v3/sessions/27caf0ddsdbb3s4ca7s8943s1ab5a6a0f053 to {tag:7066923812535353395} мар 15 15:42:45 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: Logger VERB2: Detached: {tag:8934332292885703780} [:1.174/net.openvpn.v3.backends] мар 15 15:42:51 nik-omenbyhplaptop16c0xxx openvpn3-servic[2645]: {tag:5176876094042800767} Session Manager VERB1: Session is closing мар 15 15:43:03 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.176' (uid=0 pid=6583 comm="sudo journalctl --since -30m SYSLOG_IDENTIFIER=net") мар 15 15:43:03 nik-omenbyhplaptop16c0xxx dbus-daemon[511]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found. ```

logs.txt

~~### UPD: Temporary solution: sudo downgrade 'glib2=2.74.6' downgrade available on aur. I don't recommend ignoring the glib2 upgrade and trying to upgrade the system afterwards.~~

UPD2: The discussion contains scripts to fix this problem on different linux distros(ex: for arch-based). I haven't been following this discussion for a long time since the problem is no longer relevant to me. Read from the end to find the solution.

tcawlfield commented 1 year ago

Anyone got any copy and paste commands for Ubuntu?

For Ubuntu 23.04, assuming you have openvpn3 from jammy (22.10), this ought to work. Prequisites for this are wget:

sudo apt install wget

I picked a particular package mirror for this, and over time these package versions may get replaced by newer ones, but this should be a short-lived workaround anyway. One hopes!

mkdir /tmp/openvpn3-workaround
cd /tmp/openvpn3-workaround
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
ar x libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
tar --zstd -xvf data.tar.zst
sudo mkdir /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2
sudo cp usr/lib/x86_64-linux-gnu/libg* /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/
cd /usr/lib/x86_64-linux-gnu/openvpn3-linux
sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/libglib-2.0.so.0.7400.3 /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.3 /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/libgio-2.0.so.0.7400.3" ${0}.bin $*
EOF
sudo chmod +x ./openvpn3-run-wrapper
sudo bash -c 'for f in openvpn3-service-*; do mv $f $f.bin; ln -s openvpn3-run-wrapper $f; done'

Caveat: I haven't tested these exact steps, but I did what should be the equivalent on my Ubuntu 23.04 system.

KZufar commented 1 year ago

Anyone got any copy and paste commands for Ubuntu?

For Ubuntu 23.04, assuming you have openvpn3 from jammy (22.10), this ought to work. Prequisites for this are wget:

sudo apt install wget

I picked a particular package mirror for this, and over time these package versions may get replaced by newer ones, but this should be a short-lived workaround anyway. One hopes!

mkdir /tmp/openvpn3-workaround
cd /tmp/openvpn3-workaround
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
ar x libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
tar --zstd -xvf data.tar.zst
sudo mkdir /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2
sudo cp usr/lib/x86_64-linux-gnu/libg* /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/
cd /usr/lib/x86_64-linux-gnu/openvpn3-linux
sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/libglib-2.0.so.0.7400.3 /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.3 /usr/lib/x86_64-linux-gnu/openvpn3-linux/glib2/libgio-2.0.so.0.7400.3" ${0}.bin $*
EOF
sudo chmod +x ./openvpn3-run-wrapper
sudo bash -c 'for f in openvpn3-service-*; do mv $f $f.bin; ln -s openvpn3-run-wrapper $f; done'

Caveat: I haven't tested these exact steps, but I did what should be the equivalent on my Ubuntu 23.04 system.

This worked in Ubuntu 23.04, thanks a lot!

AxaliaN commented 1 year ago

Thanks @tcawlfield this works!

fpauser commented 1 year ago

The script from @KZufar adapted and slightly improved for Fedora 38 :

Prerequisites: sudo dnf install wget

Create script fedora-glib2-fix.sh:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget https://kojipkgs.fedoraproject.org//packages/glib2/2.74.6/1.fc37/x86_64/glib2-2.74.6-1.fc37.x86_64.rpm -O glib2.rpm
  rpm2cpio glib2.rpm | cpio -idm
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/lib64/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.6" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo dnf remove openvpn3-client
  sudo dnf install openvpn3-client
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Make it executable: chmod +x fedora-glib2-fix.sh

Run: ./fedora-glib2-fix.sh install

dsommers commented 1 year ago

Gee ... what did I start here with my hacky idea .... :scream_cat:

Okay, please beware that those of you running and using this workaround hack (and it is an ugly and fragile, and - in the long run - comes with a big security risk) - you need to clean up all of this once the next release hits the repos.

That said, big kudos to @fpauser for actually including an uninstall routine in his script.

And I'll do my best to get time to get a proper fix in place.

MarkvV commented 1 year ago

The script from @KZufar adapted and slightly improved for Fedora 38 :

Prerequisites: sudo dnf install wget

Create script fedora-glib2-fix.sh:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget https://kojipkgs.fedoraproject.org//packages/glib2/2.74.6/1.fc37/x86_64/glib2-2.74.6-1.fc37.x86_64.rpm -O glib2.rpm
  rpm2cpio glib2.rpm | cpio -idm
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/lib64/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.6" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo dnf remove openvpn3-client
  sudo dnf install openvpn3-client
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Make it executable: chmod +x fedora-glib2-fix.sh

Run: ./fedora-glib2-fix.sh install

Does not work for me on Fedora 38? I'm still getting the following error session-start: ** ERROR ** Failed to start session when trying to connect. I'm using the following command openvpn3 session-start --config ~/config.ovpn

fbueno commented 1 year ago

Any of those would work in a fresh ubuntu 23.04 install, would it?

fpauser commented 1 year ago

@MarkvV Could be another problem. Try to increase the loglevel, see #issuecomment-1469987103.

pslattery-wyn commented 1 year ago

A cleaner solution here in my opinion is to run the OpenVPN client in a Docker/Podman container. Yes, you do have to run the container in privileged mode and that's not ideal.

This worked for me:

sudo podman run \
  --name="openvpn3" \
  --privileged \
  --env="VPN_HOST=vpn.company.com" \
  --volume="/home/myusername/.config/.openvpn/myusername.ovpn:/config.ovpn:ro" \
  --rm \
  --replace \
  --tty \
  --interactive \
  --network="host" \
  raphmad/openvpn3_linux:latest
remanifest commented 1 year ago

A cleaner solution here in my opinion is to run the OpenVPN client in a Docker/Podman container. Yes, you do have to run the container in privileged mode and that's not ideal.

This worked for me:

sudo podman run \
  --name="openvpn3" \
  --privileged \
  --env="VPN_HOST=vpn.company.com" \
  --volume="/home/myusername/.config/.openvpn/myusername.ovpn:/config.ovpn:ro" \
  --rm \
  --replace \
  --tty \
  --interactive \
  --network="host" \
  raphmad/openvpn3_linux:latest

In the case of needing elevated privileges, I'd just use openvpn2 personally.

akizminet commented 1 year ago

None of these hacks work on Fedora 38 for me.

msoutto commented 1 year ago

Instead of doing these hacks, I've just started using OpenVPN(2) on Fedora 38 until this issue is fixed.

shafr commented 1 year ago

I had to switch back to OpenVPN2 (where routing stopped working after upgrade) on Ubuntu 23.04 Lunar.

Fix there is to add:

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

to an .ovpn file.

cooperfrench95 commented 1 year ago

The issue with using openvpn2 is that afaik it doesn't support saml?

schwabe commented 1 year ago

If you have a proper UI for OpenVPN, it supports SAML as well.

cooperfrench95 commented 1 year ago

@schwabe what's an example of a proper UI?

schwabe commented 1 year ago

Our OpenVPN GUI on Windows, OpenVPN for Android. Anything that sets IV_SSO variable. If you just add --setenv IV_SSO=openurl,webauth the server will send you the challenge. Those UI automatically do that and then give you a nice UI for that

cooperfrench95 commented 1 year ago

@schwabe doesn't seem to work for me, I think my config file must be incompatible with openvpn2 somehow, because it seems to ignore all the options in the file (e.g. dev tun isn't recognized, it wants me to pass it in as a cli argument)

For anyone facing the same issues with openvpn 2.6 this is what eventually worked for me:

sudo openvpn --setenv IV_SSO openurl,webauth --config example.ovpn --auth-user-pass --auth-retry interact

Then when the CLI prints out the web link for SSO, personally on manjaro I have to manually copy the link into the browser and remove a trailing comma, because it's printed like ('WEB_AUTH::http://some-url') and when you directly click the link it will think the apostrophe at the end is part of the url...

markovd18 commented 1 year ago

The script from @KZufar adapted and slightly improved for Fedora 38 :

Prerequisites: sudo dnf install wget

Create script fedora-glib2-fix.sh:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget https://kojipkgs.fedoraproject.org//packages/glib2/2.74.6/1.fc37/x86_64/glib2-2.74.6-1.fc37.x86_64.rpm -O glib2.rpm
  rpm2cpio glib2.rpm | cpio -idm
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/lib64/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.6" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo dnf remove openvpn3-client
  sudo dnf install openvpn3-client
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Make it executable: chmod +x fedora-glib2-fix.sh

Run: ./fedora-glib2-fix.sh install

For Ubuntu 23.04 users, I've made small tweaks based on @fpauser's and @KZufar's suggestions and here is a working script:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget http://mirrors.edge.kernel.org/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
  ar x libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
  tar --zstd -xvf data.tar.zst
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/x86_64-linux-gnu/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.3" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo dnf remove openvpn3-client
  sudo dnf install openvpn3-client
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Hope it helps.

Heonan commented 1 year ago

The script from @KZufar adapted and slightly improved for Fedora 38 : Prerequisites: sudo dnf install wget Create script fedora-glib2-fix.sh:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget https://kojipkgs.fedoraproject.org//packages/glib2/2.74.6/1.fc37/x86_64/glib2-2.74.6-1.fc37.x86_64.rpm -O glib2.rpm
  rpm2cpio glib2.rpm | cpio -idm
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/lib64/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.6 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.6" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo dnf remove openvpn3-client
  sudo dnf install openvpn3-client
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Make it executable: chmod +x fedora-glib2-fix.sh Run: ./fedora-glib2-fix.sh install

For Ubuntu 23.04 users, I've made small tweaks based on @fpauser's and @KZufar's suggestions and here is a working script:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget http://mirrors.edge.kernel.org/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
  ar x libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
  tar --zstd -xvf data.tar.zst
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/x86_64-linux-gnu/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.3" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo dnf remove openvpn3-client
  sudo dnf install openvpn3-client
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Hope it helps.

Hi!

Small fix script for Ubuntu:

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget http://mirrors.edge.kernel.org/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
  ar x libglib2.0-0_2.74.3-0ubuntu1_amd64.deb
  tar --zstd -xvf data.tar.zst
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/lib/x86_64-linux-gnu/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.3" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo apt-get remove openvpn3
  sudo apt-get install openvpn3
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

Works on Kubuntu 23.04

andreluispsa commented 1 year ago

Any news on the proper fix and when is it gonna be avaible to update the openvpn3 version?

jmvermeulen commented 1 year ago

Just did a fresh install of Kubuntu 23.04, everything setup and ready to connect to my VPN server. Now my OS is not supported..

This works! https://github.com/OpenVPN/openvpn3-linux/issues/171#issuecomment-1590373778

Had the change the url to https://linux.yz.yamagata-u.ac.jp/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1.2_amd64.deb

And Had to add /lib/ here:

sudo cp usr/lib/x86_64-linux-gnu/libg* /usr/libexec/openvpn3-linux/glib2/

NickiHell commented 1 year ago

Any fixes????

smiffy6969 commented 1 year ago

Long thread I know... but i had this today on 23.04 ubuntu. the fix does work (i tried ubuntus vpn in network manager with many configs which kills internet). it needed a few changes to the script

touch openvpn3fix.sh edit the file and add

#!/bin/env bash

install () {
  if [ -f "/usr/libexec/openvpn3-linux/openvpn3-run-wrapper" ]; then echo "Already installed, exiting."; exit; fi
  rm -rf /tmp/openvpn3-workaround
  mkdir /tmp/openvpn3-workaround
  cd /tmp/openvpn3-workaround || exit
  wget https://linux.yz.yamagata-u.ac.jp/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1.2_amd64.deb
  ar x libglib2.0-0_2.74.3-0ubuntu1.2_amd64.deb
  tar --zstd -xvf data.tar.zst
  sudo mkdir -p /usr/libexec/openvpn3-linux/glib2
  sudo cp usr/lib/x86_64-linux-gnu/libg* /usr/libexec/openvpn3-linux/glib2/
  cd /usr/libexec/openvpn3-linux || exit
  sudo bash -c 'cat > openvpn3-run-wrapper' <<'EOF'
#!/bin/bash
LD_PRELOAD="/usr/libexec/openvpn3-linux/glib2/libglib-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgobject-2.0.so.0.7400.3 /usr/libexec/openvpn3-linux/glib2/libgio-2.0.so.0.7400.3" ${0}.bin $*
EOF
  sudo chmod +x ./openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -f $f ]; then echo "$f -> $f.bin"; mv $f $f.bin; ln -s openvpn3-run-wrapper $f; fi; done'
}

uninstall() {
  cd /usr/libexec/openvpn3-linux || exit
  sudo rm -rf /usr/libexec/openvpn3-linux/glib2
  sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
  sudo bash -c 'for f in openvpn3-service*; do if [ -L $f ]; then echo "$f.bin -> $f"; mv $f.bin $f; fi; done'
  sudo rm openvpn3-service-*.bin
}

reinstall_openvpn3_client() {
  sudo apt-get remove openvpn3
  sudo apt-get install openvpn3
}

case "$1" in
  install)
    install
    ;;
  uninstall)
    uninstall
    ;;
  reinstall_openvpn3_client)
    reinstall_openvpn3_client
    ;;
  *)
    echo "Usage: $0 {install|uninstall|reinstall_openvpn3_client}"
    exit 1
esac

make the file executable ./openvpn3fix.sh

izhmurikov commented 1 year ago

hi, for fedora 38 it still working temp solution? script from discussion don't solve problem. I can't figure it out myself

izhmurikov commented 1 year ago

work ok. add sudo setenforce 0

anordal commented 1 year ago

Let's make the workaround script a bit safer, maintainable and portable. Based on smiffy6969's Ubuntu version above:

#!/usr/bin/env bash
set -euo pipefail
shopt -s failglob

install() {
    if [ -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper ]; then
        echo "Already installed, exiting."
        exit
    fi
    rm -rf /tmp/openvpn3-workaround
    mkdir /tmp/openvpn3-workaround
    cd /tmp/openvpn3-workaround
    wget https://linux.yz.yamagata-u.ac.jp/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.74.3-0ubuntu1.2_amd64.deb
    ar x libglib2.0-0_2.74.3-0ubuntu1.2_amd64.deb
    sha1sum -c <<< "6fbf9441115d90edf502aae42654e2bba47c003c  data.tar.zst"
    tar --zstd -xvf data.tar.zst

    {
        echo '#!/bin/sh'
        echo 'glib2=/usr/libexec/openvpn3-linux/glib2'
        echo 'export LD_PRELOAD="$glib2/libglib-2.0.so.0 $glib2/libgobject-2.0.so.0 $glib2/libgio-2.0.so.0"'
        echo 'exec "$0".bin "$@"'
    } > openvpn3-run-wrapper

    sudo mv --no-clobber --no-target-directory usr/lib/x86_64-linux-gnu/ /usr/libexec/openvpn3-linux/glib2
    sudo install --mode=755 openvpn3-run-wrapper /usr/libexec/openvpn3-linux/
    sudo bash -c 'for f in /usr/libexec/openvpn3-linux/openvpn3-service*; do if [ -f "$f" ]; then echo "$f -> $f.bin"; mv --no-clobber "$f" "$f".bin; ln -s openvpn3-run-wrapper "$f"; fi; done'
}

uninstall() {
    sudo bash -c 'for f in /usr/libexec/openvpn3-linux/openvpn3-service*; do if [ -L "$f" ]; then echo "$f.bin -> $f"; mv "$f".bin "$f"; fi; done'
    sudo rm -rf /usr/libexec/openvpn3-linux/glib2/
    sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
}

reinstall_openvpn3_client() {
    if command -v apt-get &>/dev/null; then
        sudo apt-get remove openvpn3 || true
        sudo apt-get install openvpn3
    elif command -v zypper &>/dev/null; then
        sudo zypper remove openvpn3-client || true
        sudo zypper install openvpn3-client
    elif command -v dnf &>/dev/null; then
        sudo dnf remove openvpn3-client || true
        sudo dnf install openvpn3-client
    fi
}

case "${1-}" in
    install)
        install
        ;;
    uninstall)
        uninstall
        ;;
    reinstall-openvpn3-client)
        reinstall_openvpn3_client
        ;;
    *)
        echo "Usage: $0 {install|uninstall|reinstall-openvpn3-client}"
        exit 1
esac

I tested that it works on OpenSuse Tumbleweed despite using the Ubuntu package. I don't know if the Ubuntu package works on Fedora.

SpineEyE commented 1 year ago

Yesterday, Arch Linux released protobuf 23.3, which does not contain libprotobuf.so.32 anymore, so openvpn3 is unusable now. Does anybody have a solution for this?

GunnerGuyven commented 1 year ago

@SpineEyE I deal with this identically to the glib2 issue. Momentary downgrade, launch, and re-upgrade.

sudo downgrade glib2 protobuf
openvpn3 session-start --config ~/Documents/org/client.ovpn
paru
Greenphlem commented 1 year ago

Has any progress been made on this? It's a big issue

SpineEyE commented 1 year ago

@GunnerGuyven That's not a solution, as Arch does not support partial upgrades. Some other packages might break from these downgrades. A better work-around would be an (AUR) package that provides this library.

Or even better, OpenVPN gets its shit together.

seanneilan-getfliff commented 1 year ago

Hopefully this gets fixed soon.

srinivasdadhapurfrequence commented 1 year ago

I had to move to windows just because of this issue :( eagerly waiting for the fix.

cron2 commented 1 year ago

I had to move to windows just because of this issue :( eagerly waiting for the fix.

Do not forget, there is always openvpn 2.x available...

andreluispsa commented 1 year ago

I also had to move temporarily to windows with wsl because of this issue. It was this or downgrade the fedora version. The kind of connection that I need to make needs openvpn3 in linux to make it work.

cron2 commented 1 year ago

The kind of connection that I need to make needs openvpn3 in linux to make it work.

Now I'm curious. What is it that 2.x can not do that 3.x can? (Of course from a management perspective, having 3.x with full privilege separation etc. is an improvement, but that's not "kind of connection" specific)

fpauser commented 1 year ago

The kind of connection that I need to make needs openvpn3 in linux to make it work.

Now I'm curious. What is it that 2.x can not do that 3.x can?

Maybe it is just an openvpn config that cannot easily be imported with NetworkManager™? I tried my openvpn config that works flawlessly with openvpn3 but triggered an error when importing into NetworkManager (that uses openvpn2 under the hood). I had to comment out the following line by prepending a hash to get it working:

[...]
# route remote_host 255.255.255.255 net_gateway
[...]

I also noticed that nmcli (aka NetworkManager command line interface) works more flawlessly when it comes to importing openvpn configs into NetworkManager - especially given the differences and shortcomings of vpn settings guis. gnome, xfce - all different and incomplete.

p5 commented 1 year ago

Now I'm curious. What is it that 2.x can not do that 3.x can?

For us, we must use OpenVPN3 for the CloudConnexa (OpenVPN Cloud service) SSO functionality.
Otherwise we either need to:

  1. Disable SSO
  2. Use something else

For the past month, we have been using option 2 - with some sub-optimal AWS VPN configuration.

remanifest commented 1 year ago

Yesterday, Arch Linux released protobuf 23.3, which does not contain libprotobuf.so.32 anymore, so openvpn3 is unusable now. Does anybody have a solution for this?

My solution was to:

Next, use pacman or paru to upgrade your system.

All that said, this is getting increasingly hacky as time goes on, so I hope we can see a more permanent solution before too much longer.

dsommers commented 1 year ago

All that said, this is getting increasingly hacky as time goes on, so I hope we can see a more permanent solution before too much longer.

Just a quick reply here, from my holiday. This issue is high up on the priority list, but it turned out to be more challenging to reproduce in my environments and it doesn't even always gets triggered. And it crashes slightly different on various Linux distributions (might be a result of different compiler flags, both with glib2 and openvpn3-linux), and is highly configuration dependent as well; some configurations even runs quite well with the code as-is on some Linux distros.

Solving this issue is a requirement for the v21 release That release seen quite some development already, but this glib2 issue is one of those issues where it is unclear if the solution is just around the corner or if it will require an even larger set of changes. UPDATE (2023-12-08): This was planned fixed for the v21 release; however the needed changes was too invasive that it has been later postponed for v22_dev which is in development now; see status updates towards the end of this comment thread for more details.

I don't have a firm ETA for this issue yet, but I hope this will be resolved during August - after I'm back from the holiday.

This issue has taken way too long to resolve, and I'm truly sorry and extremely annoyed by this myself. I do however appreciate all your patience here. If someone here is getting too impatient, I fully understand that. But if anyone here is able to come up with a solid proposal fixing this, I will truly look into those proposals; just beware - this issue doesn't just hit the openvpn3-service-client process, it most likely hits all the openvpn3-service-* processes, but it triggering this behaviour is very different between each service.

brothermechanic commented 1 year ago

Hello all I had this bug. My distribution is source based Gentoo, and i had CFLAGS with -march=rocketlake for my cpu 11700k.

The problem was solved by changing the parameter from -march=rocketlake to the parameter -march=native ! And, of course, after rebuild all my system)))

seanneilan-getfliff commented 1 year ago

I solved this by creating a debian 10 virtual machine. I installed openvpn3 in that virtual machine. Then I run the programs that need the vpn access inside of that instance. Then create ssh tunnels so I can run everything normally. Pretty simple solution. No kernel modifications or package upgrades or downgrades.

lkishalmi commented 1 year ago

It would be nice to be able to create a Snap package from this, based on Ubuntu 22.04 LTS. I've tried to made that, however the installation and DBus interaction with the system is too complicated for my level.

seanneilan-getfliff commented 1 year ago

I solved this by creating a debian 10 virtual machine. I installed openvpn3 in that virtual machine. Then I run the programs that need the vpn access inside of that instance. Then create ssh tunnels so I can run everything normally. Pretty simple solution. No kernel modifications or package upgrades or downgrades.

For those of you who have host reachability issues when they run openvpn in a virtual machine, install tailscale in the virtual machine. Then connect using tailscale. Openvpn and tailscale can run side by side.

Jirubizu commented 1 year ago

Could someone post a script adjusted for arch?

gwallet commented 1 year ago

Hi, I just wanted to mention that the workaround does not work for me on Fedora 38 (freshly upgraded from 37). I tried all 2.74.x releases of glib2 and the process openvpn3-service-client still crashes, and I always got FATAL ERROR: openvpn3-service-client could not register 'net.openvpn.v3.backends.be9381' on the D-Bus error message.

I double-checked the stack trace to be sure the .so files were overriden accordingly, and that was always the case.

I restarted the computer between each try, just to be sure.

I thought it was because I had enable DCO, but once disabled, the issue remains 😕

Looking forward for the v21 release

dsommers commented 1 year ago

A quick update here, as I've been digging into this quite intensively over the last weeks. I hoped that the patch proposed earlier on in this discussion thread would shed some light on what is going on and give a clear direction for a fix. That was unfortunately not the case at all.

There seems to be no "quick fix" for this issue. What is being experienced here seems to actually nail down to some glib2 behaviours now ending up being stricter in how it is being used + that it looks like openvpn3-linux has a design flaw in its current D-Bus implementation.

What currently looks like a real fix is basically to do a larger set of refactoring and cleaning up lots of hacks which was done early in the development phase of this project to get something functional. But these hacks where forgotten and never properly cleaned up and fixed. And it worked okayish for a way too long time, because glib2 behaved in a way which fit - but it was not a proper implementation.

This is quite annoying. Because we have quite a while ago already gotten involved into another project which gives is a native C++ implementation for D-Bus. The current implementation is just glib2 (which is purely a C library) integration wrapped into a C++ classes. Going for the native C++ implementation is slated for later development releases; as that change will need a lot of testing and on-going improvements for several releases. So we wanted to get a few longer term stable releases out (based on glib2) first before taking the really big leap to replace glib2.

But right now, it seems we need to do a big refactoring first to get glib2 working again. And then another refactoring to replace glib2.

I have already started tearing things apart and cleaning up the glib2 integration. And I hope to have that done in the coming weeks. Initially wanted to have v21 ready by the end of August, but I am not as confident now that it will hold.

Thanks a lot for all patience.

gwallet commented 1 year ago

thx a lot for the feedback @dsommers, it's good to see that this is not a forgotten topic.

I don't know how one can help you; talking for myself, I'm pretty weak in C++ and GLib but if you seek beta testers, I already cloned the repo and I think I'm ready for testing early work before any release, if you think it's worth it 🙂.

dsommers commented 1 year ago

Thanks alot, @gwallet! Yes, once I have most of the refactoring needed ready, I can definitely push that out as a work-branch! I'll keep you all posted!

hlriffel commented 1 year ago

@Jirubizu this should work for Arch-based distros.

Based on @anordal and @smiffy6969's versions above:

#!/usr/bin/env bash
set -euo pipefail
shopt -s failglob

install() {
    if [ -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper ]; then
        echo "Already installed, exiting."
        exit
    fi
    rm -rf /tmp/openvpn3-workaround
    mkdir /tmp/openvpn3-workaround
    cd /tmp/openvpn3-workaround
    wget https://archive.archlinux.org/packages/g/glib2/glib2-2.74.6-1-x86_64.pkg.tar.zst
    sha256sum -c <<< "b9f5411edd8613cbca3e172cbf7359e1ea52b5ac6ade5826b974aa03fa7c8692  glib2-2.74.6-1-x86_64.pkg.tar.zst"
    tar --zstd -xvf glib2-2.74.6-1-x86_64.pkg.tar.zst

    sudo mv --no-clobber --no-target-directory usr/lib /usr/libexec/openvpn3-linux/glib2
    # Removing unnecessary files
    sudo rm -rf /usr/libexec/openvpn3-linux/glib2/pkgconfig
    sudo rm -rf /usr/libexec/openvpn3-linux/glib2/glib-2.0

    {
        echo '#!/bin/sh'
        echo 'glib2=/usr/libexec/openvpn3-linux/glib2'
        echo 'export LD_PRELOAD="$glib2/libglib-2.0.so.0 $glib2/libgobject-2.0.so.0 $glib2/libgio-2.0.so.0"'
        echo 'exec "$0".bin "$@"'
    } > openvpn3-run-wrapper

    sudo install --mode=755 openvpn3-run-wrapper /usr/libexec/openvpn3-linux/
    sudo bash -c 'for f in /usr/libexec/openvpn3-linux/openvpn3-service*; do if [ -f "$f" ]; then echo "$f -> $f.bin"; mv --no-clobber "$f" "$f".bin; ln -s openvpn3-run-wrapper "$f"; fi; done'
}

uninstall() {
    sudo bash -c 'for f in /usr/libexec/openvpn3-linux/openvpn3-service*; do if [ -L "$f" ]; then echo "$f.bin -> $f"; mv "$f".bin "$f"; fi; done'
    sudo rm -rf /usr/libexec/openvpn3-linux/glib2/
    sudo rm -f /usr/libexec/openvpn3-linux/openvpn3-run-wrapper
}

reinstall_openvpn3_client() {
    sudo pacman -Rs openvpn3
    yay -S openvpn3
}

case "${1-}" in
    install)
        install
        ;;
    uninstall)
        uninstall
        ;;
    reinstall-openvpn3-client)
        reinstall_openvpn3_client
        ;;
    *)
        echo "Usage: $0 {install|uninstall|reinstall-openvpn3-client}"
        exit 1
esac

Tested and working on EndeavourOS.