Failed to execute child process “/usr/sbin/vpnc” (Permission denied)

I can create a VPN connection via network manager, but when activating i read

Aug 11 09:13:04 device.local NetworkManager[1508]: <warn>  [1754896384.30000] vpn[0x557a81af2d60,3bef07b6-d08d-42b4-ab5a-fcae154d2d68,"myvpnvonnection"]: failed to connect: 'Failed to execute child process “/usr/sbin/vpnc” (Permission denied)'

what permission do I have to set and where?

❯ NetworkManager --version
1.52.1-1.fc42
❯ sudo vpnc --version
vpnc version 0.5.3

I am on Fedora 42 using Kernel 6.15.9

Thanks!

Same issue for me (Fedora WS 43).

I saw that /bin/vpnc is a symlink to /bin/consolehelper by default.
I got it working with NM by linking it to /usr/libexec/vpnc:

sudo ln -sf /usr/libexec/vpnc /usr/sbin/vpnc

I guess something with SELinux permissions and legacy binaries (since vpnc seems to be quite old), but I am no expert. Maybe somebody here is and can provide an explanaition?

2 Likes

thanks for sharing.

1 Like

I do not think so, since /bin/vpnc, /usr/bin/vpnc and /usr/sbin/vpnc are all just identical symlinks. Happened on both a fresh install of f43 and an upgraded f42→f43.

1 Like