Package Details: networkmanager-libreswan 1.2.24-1

Git Clone URL: https://aur.archlinux.org/networkmanager-libreswan.git (read-only, click to copy)
Package Base: networkmanager-libreswan
Description: NetworkManager IPSec VPN plugin for Libreswan
Upstream URL: https://networkmanager.dev/docs/vpn/
Licenses: GPL-2.0-or-later
Submitter: Zearan
Maintainer: C0rn3j
Last Packager: C0rn3j
Votes: 31
Popularity: 0.003339
First Submitted: 2016-10-02 22:09 (UTC)
Last Updated: 2024-10-30 11:00 (UTC)

Latest Comments

1 2 3 Next › Last »

JThundley commented on 2024-09-18 01:57 (UTC)

Dear maintainer, this package is missing glib2-devel as a dependency. Without this package installed, the build fails with:

/bin/sh: line 2: gdbus-codegen: command not found
make: *** [Makefile:1865: src/nm-libreswan-helper-service-dbus.h] Error 127

The package glib2-devel provides gdbus-codegen which is required. This dependency is also missing from networkmanager-libreswan-git in case you also maintain that.

sirex commented on 2023-10-11 14:16 (UTC) (edited on 2023-10-11 14:30 (UTC) by sirex)

After pacman -Syu update VPN no longer works:

$ nmcli c up ivpk
Error: Connection activation failed: Unknown reason
Hint: use 'journalctl -xe NM_CONNECTION=ac991785-ddc4-40bf-a9d9-90a8139ab161 +
      NM_DEVICE=enp0s25' to get more details.

In logs I see:

dbus-daemon[509]: [system]
    Rejected send message,
    0 matched rules;
    type="error",
    sender=":1.137" (
        uid=0
        pid=4548
        comm="/usr/lib/NetworkManager/nm-libreswan-service --bus"
    )
    interface="(unset)"
    member="(unset)"
    error name="org.freedesktop.DBus.Error.UnknownMethod"
    requested_reply="0"
    destination=":1.138" (
        uid=0
        pid=4849
        comm="/usr/lib/NetworkManager/nm-libreswan-service-helpe"
    )
kernel: nm-libreswan-se[4548]:
    segfault at 7fcd74004
    ip 00007fcd80507f41
    sp 00007ffdaa7c97d8
    error 4 in libgobject-2.0.so.0.7800.0[7fcd804dc000+35000]
kernel: Code:
    c0 0f 95 c0 48 83 c4 08 0f b6 c0 c3 66 66 2e 0f 1f 84 00 00 00 00
    00 66 90 f3 0f 1e fa 48 85 ff 74 47 48 8b 07 48 85 c0 74 3f <48>
    8b 00 48 3d fc 03 00 00 77 2c 48 8d 15 ed 61 02 00 48 c1 e8 02
pluto[4828]: shutting down
NetworkManager[4853]: 002 shutting down
systemd-coredump[4857]: [🡕] Process 4548 (nm-libreswan-se) of user 0 dumped core.
 Stack trace of thread 4548:
   #0  0x00007fcd80507f41 g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0 + 0x3af41)
   #1  0x00007fcd804ef69e g_object_unref (libgobject-2.0.so.0 + 0x2269e)
   #2  0x00007fcd803d592d n/a (libglib-2.0.so.0 + 0x5492d)
   #3  0x00007fcd803d9f50 n/a (libglib-2.0.so.0 + 0x58f50)
   #4  0x00007fcd803db021 n/a (libglib-2.0.so.0 + 0x5a021)
   #5  0x00007fcd804392b7 n/a (libglib-2.0.so.0 + 0xb82b7)
   #6  0x00007fcd803dbb47 g_main_loop_run (libglib-2.0.so.0 + 0x5ab47)
   #7  0x000055a952669688 n/a (nm-libreswan-service + 0x5688)
   #8  0x00007fcd8017bcd0 n/a (libc.so.6 + 0x27cd0)
   #9  0x00007fcd8017bd8a __libc_start_main (libc.so.6 + 0x27d8a)
   #10 0x000055a952669795 n/a (nm-libreswan-service + 0x5795)

 Stack trace of thread 4551:
   #0  0x00007fcd803baccb n/a (libglib-2.0.so.0 + 0x39ccb)
   #1  0x00007fcd804e1b5b n/a (libgobject-2.0.so.0 + 0x14b5b)
   #2  0x00007fcd804ef7d7 g_object_unref (libgobject-2.0.so.0 + 0x227d7)
   #3  0x00007fcd803d592d n/a (libglib-2.0.so.0 + 0x5492d)
   #4  0x00007fcd803d9f50 n/a (libglib-2.0.so.0 + 0x58f50)
   #5  0x00007fcd803db021 n/a (libglib-2.0.so.0 + 0x5a021)
   #6  0x00007fcd804392b7 n/a (libglib-2.0.so.0 + 0xb82b7)
   #7  0x00007fcd803dbb47 g_main_loop_run (libglib-2.0.so.0 + 0x5ab47)
   #8  0x00007fcd806410bc n/a (libgio-2.0.so.0 + 0x1120bc)
   #9  0x00007fcd8040c9a5 n/a (libglib-2.0.so.0 + 0x8b9a5)
   #10 0x00007fcd801e09eb n/a (libc.so.6 + 0x8c9eb)
   #11 0x00007fcd802647cc n/a (libc.so.6 + 0x1107cc)

 Stack trace of thread 4549:
   #0  0x00007fcd8026273d syscall (libc.so.6 + 0x10e73d)
   #1  0x00007fcd80434247 g_cond_wait (libglib-2.0.so.0 + 0xb3247)
   #2  0x00007fcd803a61b4 n/a (libglib-2.0.so.0 + 0x251b4)
   #3  0x00007fcd8040ea2e n/a (libglib-2.0.so.0 + 0x8da2e)
   #4  0x00007fcd8040c9a5 n/a (libglib-2.0.so.0 + 0x8b9a5)
   #5  0x00007fcd801e09eb n/a (libc.so.6 + 0x8c9eb)
   #6  0x00007fcd802647cc n/a (libc.so.6 + 0x1107cc)

 Stack trace of thread 4550:
   #0  0x00007fcd80256f6f __poll (libc.so.6 + 0x102f6f)
   #1  0x00007fcd80439206 n/a (libglib-2.0.so.0 + 0xb8206)
   #2  0x00007fcd803d9112 g_main_context_iteration (libglib-2.0.so.0 + 0x58112)
   #3  0x00007fcd803d9162 n/a (libglib-2.0.so.0 + 0x58162)
   #4  0x00007fcd8040c9a5 n/a (libglib-2.0.so.0 + 0x8b9a5)
   #5  0x00007fcd801e09eb n/a (libc.so.6 + 0x8c9eb)
   #6  0x00007fcd802647cc n/a (libc.so.6 + 0x1107cc)

 ELF object binary architecture: AMD x86-64
$ lsb_release -ircs
ManjaroLinux 23.0.3 Uranos
$ pacman -Qs libreswan
libreswan 3.32-3
networkmanager-libreswan 1.2.16-1
$ pacman -Qi networkmanager-libreswan
Depends On      : libsecret  libreswan  libnl  gtk3  libnma

Also reported this upstream: https://gitlab.gnome.org/GNOME/NetworkManager-libreswan/-/issues/11

Jose_Ramirez commented on 2020-03-18 13:17 (UTC)

The installation path seems to be incorrect. The package use /usr/lib/networkmanager but the existing path is /usr/lib/NetworkManager

NoSync commented on 2020-01-08 17:48 (UTC)

Same here - after installing this package and libreswan, nothing shows up in NetworkManager even after a restart.

JochenJ commented on 2019-10-15 19:35 (UTC)

@LittleHuba: thanks for the info. I added the missing dependencies. gtk3 and gettext were also missing.

JochenJ commented on 2019-10-15 19:34 (UTC)

@stramaz: I installed this package today on an clean installation of RebornOS with gnome desktop and after restarting networkmanager there was a new VPN option (IPSec based VPN). So everything seens to work for me. Did you figure out your problem?

LittleHuba commented on 2019-10-14 23:05 (UTC)

Missing dependency on 'libnma'

stramaz commented on 2019-09-05 09:14 (UTC)

Thank you @JochenJ, Now the installation works. I don't know exactly why but in NetworkManager I don't see a Ipsec based VPN (libreswan) but just Ipsec based VPN (openswan) and Ipsec based VPN (strongswan). But maybe it's not depending on this installation package

JochenJ commented on 2019-09-03 14:04 (UTC)

@stramaz: I removed the dependency to libnm-gtk. It works fine for me without. I also updated the version to 1.2.12.

Please let me know if it works for you too.

Thanks for you feedback.