Package Details: piavpn-bin 1:3.6.1-4

Git Clone URL: https://aur.archlinux.org/piavpn-bin.git (read-only, click to copy)
Package Base: piavpn-bin
Description: Private Internet Access client
Upstream URL: https://privateinternetaccess.com/
Keywords: private-internet-access vpn
Licenses: custom
Conflicts: pia-launch, pia-manager, pia-tools, private-internet-access-vpn
Provides: piavpn
Submitter: solsticedhiver
Maintainer: lobroc (solsticedhiver)
Last Packager: lobroc
Votes: 23
Popularity: 0.034854
First Submitted: 2020-04-14 15:32 (UTC)
Last Updated: 2024-11-24 23:42 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Pinned Comments

lobroc commented on 2023-09-20 15:26 (UTC) (edited on 2023-09-20 15:30 (UTC) by lobroc)

Warning: the iproute2 package has updated from version 6.4.0 to 6.5.0, and with it the default rt_tables location has changed from /etc/iproute2/rt_tables to /usr/lib/iproute2/rt_tables. I've rolled out a fix for this change in the latest version. When updating your package, please remove the package, and then reinstall it, so that everything in the piavpn-bin.install gets re-run. You will need to re-run 'sudo systemctl enable --now piavpn.service'

Arvid commented on 2023-02-18 00:39 (UTC) (edited on 2023-02-18 01:07 (UTC) by Arvid)

The client is here:

/opt/piavpn/bin/pia-client

solsticedhiver commented on 2023-02-17 19:16 (UTC) (edited on 2023-02-17 19:41 (UTC) by solsticedhiver)

You need to enable and start piavpn.service. Run sudo systemctl enable --now piavpn.service

Then pia-client will complete the quick tour guide, and let you login.

Latest Comments

1 2 3 4 5 6 7 Next › Last »

lobroc commented on 2025-04-02 11:11 (UTC)

I checked your claim @InvisibleRasta, the symlink is still required as of systemd 257, or else I will reproduce the same issues discussed below. I'll be leaving the change in-place for now. I'm glad that you have found a solution that works for you.

InvisibleRasta commented on 2025-03-11 23:08 (UTC)

The problem with the piavpn.service hanging at reboot/shutdown seems to be caused by the symlink created at line 73 of the PKGBUILD. Removing that line fixes the problem.

InvisibleRasta commented on 2025-02-28 21:31 (UTC)

There seems to be something wrong with the application. The service hangs at shutdown for 1-2 minutes

lobroc commented on 2024-11-24 23:36 (UTC)

Hi @solsticedhiver, this whole problem has been somewhat unclear to me. You are right that I should have checked things with ldd myself before blindly applying your solution, and @coolreader18 was right about the fact that I should have double-checked the package before submitting. To prevent issues like this from occurring in the future, I have added you as co-maintainer, as you were the person which submitted this package anyway. If I am ever excessively slow at packaging a new version or submitting an appropriate patch, please feel free to help me out!

solsticedhiver commented on 2024-11-24 23:15 (UTC) (edited on 2024-11-24 23:16 (UTC) by solsticedhiver)

It's only me that is affected or what? because the fix does not work as it is now.

The symlink is in the wrong directory. It should be in /opt/piavpn/lib, and remove the library before making the symlink.

oops, my previous comment was incorrect /o\ sorry

lobroc commented on 2024-11-18 21:04 (UTC)

Ah you're right. I had symlinked it manually before, so I didn't realise. Thanks for pointing it out!

coolreader18 commented on 2024-11-18 20:15 (UTC)

The fix is a bit janky I think - you put the ln line in the heredoc for debug.txt, so it doesn't actually run, but the command is installed to the first few lines of /opt/piavpn/var/debug.txt :^)

lobroc commented on 2024-11-18 15:00 (UTC)

Hi, thanks for your message @solsticedhiver. I've made a temporary, primitive fix for the problem, and will revert it when the root cause is addressed upstream.

solsticedhiver commented on 2024-11-16 11:47 (UTC)

pia couldn't connect this morning. I got an error about DNS.

I found that line in the daemon.log

[2024-11-16 11:26:21.698][5e3e][common.process.stderr][src/exec.cpp:109][warning] resolvectl: /opt/piavpn/lib/libcrypto.so.3: version `OPENSSL_3.4.0' not found (required by /usr/lib/systemd/libsystemd-shared-256.8-1.so)

And systemd has been updated yesterday here from 256.7-1 to 256.8-1

So to fix it, i copied /usr/lib/libcrypto.so.3 to /opt/piavpn/libcrypto.so.3 (made a backup first)

It works now.

lobroc commented on 2024-04-07 07:13 (UTC) (edited on 2024-04-07 07:16 (UTC) by lobroc)

Thanks @p2a, it seems you were right: the default location for rt_tables has moved from /usr/lib/iproute2/rt_tables to /usr/share/iproute2/rt_tables... The existing edit will now work post the adjustment that I made. Ty for the heads-up!

For your second point, maybe you can try piactl background enable and then setting the kill-switch and auto-connection from the GUI? On subsequent connections, I'm guessing that everything should work.