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!
Search Criteria
Package Details: piavpn-bin 1:3.6.1-4
Package Actions
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: | 24 |
Popularity: | 0.136814 |
First Submitted: | 2020-04-14 15:32 (UTC) |
Last Updated: | 2024-11-24 23:42 (UTC) |
Dependencies (5)
- libnl (libnl-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- zip (zip-natspecAUR)
- libcap (make)
- WIREGUARD-MODULE (linux-mainline-anbox-gitAUR, linux-sgxAUR, wireguard-dkmsAUR, linux-xanmod-rt510AUR, linux-yoga9AUR, linux-lts510-nvme-fixAUR, linux-zen-515ltsAUR, linux-ck-ltsAUR, linux-covolunablu-gamingAUR, linux-hdr-gitAUR, wireguard-module-gitAUR, linux-clear-binAUR, linux-lts-huawei-amd-audioAUR, linux-huawei-amd-audioAUR, linux-ranghoAUR, linux-clear-lts2021AUR, linux-clear-lts2020AUR, linux-clear-lts2019AUR, linux-clear-lts2018AUR, linux-lts-515-gitAUR, linux-intel-lts-sriovAUR, linux-kamakiriAUR, linux-hardened-gitAUR, linux-clear-ltscurrentAUR, linux-ath-dfsAUR, linux-jcoreAUR, linux-clear-cjkttyAUR, linux-echoAUR, linux-babyAUR, linux-clear-preempt-rtAUR, linux-manjaro-xanmodAUR, linux-zencjkAUR, linux-gitAUR, linux-amd-colorAUR, linux-clear-ltsprevAUR, linux-rt-lts61AUR, linux-intelAUR, linux-amdAUR, linux-amdvcnfixAUR, linux-sched-ext-gitAUR, linux-tip-gitAUR, linux-zen-pdsAUR, linux-zen-bmqAUR, linux-multimediaAUR, linux-rcAUR, linux-boreAUR, linux-llvmAUR, linux-eevdfAUR, linux-intel-alderlakeAUR, linux-amd-znver2AUR, linux-lts-amd-bc250AUR, linux-xanmod-gitAUR, linux-ckAUR, linux-hardened-ltsAUR, linux-drm-tip-gitAUR, linux-amd-gitAUR, linux-drm-intel-next-gitAUR, linux-amd-staging-drm-next-gitAUR, linux-drm-next-gitAUR, linux-bnx2x-2.5gAUR, linux-bcachefs-gitAUR, linux-cachyos-serverAUR, linux-shmileeAUR, linux-cachyos-bmqAUR, linux-lts-bnx2x-2.5gAUR, linux-lts510AUR, linux-rustAUR, linux-cachyos-rcAUR, linux-xanmod-rtAUR, linux-xanmod-ltsAUR, linux-clearAUR, linux-clear-cjktty-zfsAUR, linux6.6.72-1-lts-binAUR, linux-libreAUR, linux-cachyos-hardenedAUR, linux6.12.10.arch1-1-binAUR, linux6.12.10.zen1-1-zen-binAUR, linux-mainlineAUR, linux-neptune-65AUR, linux-next-gitAUR, linux-flowx13AUR, linux-lts515AUR, linux-vfio-ltsAUR, linux-xanmodAUR, linux-amd-drm-nextAUR, linux-xanmod-anboxAUR, linux6.12.10.hardened1-1-hardened-binAUR, linux-xanmod-binAUR, linux-lqxAUR, linux-xanmod-edgeAUR, linux-fsync-nobara-binAUR, linux-pfAUR, linux-xanmod-boreAUR, linux-lts66AUR, linux-lts61AUR, linux-vfioAUR, linux-mainline-um5606AUR, linux-g14AUR, linux-amd-drm-fixesAUR, linux-cachyosAUR, linux-cachyos-boreAUR, linux-cachyos-eevdfAUR, linux-cachyos-ltsAUR, linux-gaokun3AUR, linux-nitrousAUR, linux, linux-hardened, linux-lts, linux-rt, linux-rt-lts, linux-zen) (optional) – to use the wireguard kernel module instead
Required by (0)
Sources (2)
lobroc commented on 2024-11-24 23:36 (UTC)
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.
p2a commented on 2024-03-29 02:59 (UTC)
@lobroc I think your iproute2 edit might be working, but during install these still pop up which give the impression of it not working:
:: Processing package changes...
cp: cannot stat '/usr/lib/iproute2/rt_tables': No such file or directory
awk: fatal: cannot open file `/etc/iproute2/rt_tables' for reading: No such file or directory
grep: /etc/iproute2/rt_tables: No such file or directory
(1/1) installing piavpn-bin [###################################################################################] 100%
You need to start the daemon with 'sudo systemctl start piavpn.service'
Also run 'sudo systemctl enable piavpn.service' to make it automatically start at boot
Optional dependencies for piavpn-bin
WIREGUARD-MODULE: to use the wireguard kernel module instead [installed]
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
It's also not clear how to ensure connection at system start. I'm going to test this more, but so far it's not actually connecting at start until I manually trigger piactl connect
. My goal is to have the killswitch active and so no network traffic leaves the system when it's not connected, but this is all eluding me for some reason right now. I guess in part the wiki entry is just entirely unrelated to this, even though this package is the recommended option.
lobroc commented on 2023-11-28 18:52 (UTC)
As a small note, broken split tunnelling with iproute2>=6.5.0 is now fixed as of client version 3.5.2!
lobroc commented on 2023-10-24 17:05 (UTC) (edited on 2023-10-24 17:11 (UTC) by lobroc)
Yeah, I agree, and had already considered this. This was just a way of avoiding incrementing the epoch, but sure, I'll make the change if it makes things clearer for everyone. Sorry for all the updates :(
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.