View previous topic :: View next topic |
Author |
Message |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 24
|
Posted: Sat Mar 09, 2024 1:53 pm Post subject: Private Internet Access GUI [solved] |
|
|
I've tried to get the PIA GUI to work with OpenRC but no luck. I have it working with Void Linux's Runit init system and was thinking if I could somehow add the Runit system working with OpenRC. The wiki page https://wiki.gentoo.org/wiki/Runit says: Quote: | It can be used as alternative to sysvinit or systemd, either by itself or in conjunction with OpenRC. It can also be used as a helper for supervising OpenRC services. |
The way it works with Void is descripted in Reddit https://www.reddit.com/r/voidlinux/comments/ot3du9/how_to_install_private_internet_access_on_void
1. Run bash pia-linux-x-x.run -- --skip-service
this gives error on Gentoo:
Code: |
bash pia-linux-3.5.1-07760.run -- --skip-service
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Private Internet Access 100%
=================================
Private Internet Access Installer
=================================
Installing PIA for x86_64, system is x86_64
✘ Build is not compatible with this system.
/tmp/selfgz890631105/piafiles/bin/piactl --version
/tmp/selfgz890631105/piafiles/bin/piactl: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
This upgrade does not appear to be compatible with this system.
If this is an older distribution, it may no longer be supported.
The PIA installation will not be modified.
You can stop receiving update notifications if this distribution is out of support.
Stop receiving update notifications? [y/N]
|
2. Create a file /etc/sv/piavpn/run
Code: |
#!/bin/sh
exec /opt/piavpn/bin/pia-daemon
|
3. chmod +x /etc/sv/piavpn/run
4. ln -s /etc/sv/piavpn /var/service
sv start piavpn + launch the app.
So how should I add the runit to run the PIA app or is there any other way? I can connect PIA with their cli script but it's not so intuitive to use.
Last edited by tedlasso on Sun Mar 10, 2024 11:25 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54349 Location: 56N 3W
|
Posted: Sat Mar 09, 2024 2:21 pm Post subject: |
|
|
tedlasso,
Code: | bash pia-linux-3.5.1-07760.run | installs random files all over your gentoo install, potentally overwriting files installed and managed by portage.
That's a very bad thing for the rest of your system.
If it installs to /opt, or /usr/local, it should "mostly harmless".
Its complaining about a missing dependency. Code: | error while loading shared libraries: libgssapi_krb5.so.2: |
You need to provide that.
Searching https://www.portagefilelist.de/ for libgssapi_krb5* shows that its provided by in gentoo, so you need to install that package. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 24
|
Posted: Sat Mar 09, 2024 6:36 pm Post subject: |
|
|
Thank you Neddy! I'll try if installing that package helps. And thanks for the heads up on the script installing random files. I'll try it on a spare computer for a while to see if anything breaks. I know it's not a good practice to use some scripts instead of Portage. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54349 Location: 56N 3W
|
Posted: Sat Mar 09, 2024 6:44 pm Post subject: |
|
|
tedlasso,
Try the -h or --help option. It may give you an install path option.
It may have several missing libraries too. You will discover them one at a time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 24
|
Posted: Sun Mar 10, 2024 11:24 am Post subject: |
|
|
update: I emerged the
and then proceeded with
Code: | bash pia-linux-3.5.1-07760.run -- --skip-service |
Quote: | Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Private Internet Access 100%
=================================
Private Internet Access Installer
=================================
Installing PIA for x86_64, system is x86_64
✔ Copied Private Internet Access files
✔ Allow non-root /opt/piavpn/bin/pia-unbound to bind to privileged ports
✔ Created var folder
✔ Installed icon
✔ Created desktop entry
✔ Finished. You will need to manually configure /opt/piavpn/bin/pia-daemon to start at boot.
|
Code: | pete@gentoo ~/Downloads $ sudo mkdir /etc/sv
pete@gentoo ~/Downloads $ sudo mkdir /etc/sv/piavpn
pete@gentoo ~/Downloads $ sudo touch /etc/sv/piavpn/run
pete@gentoo ~/Downloads $ sudo nano /etc/sv/piavpn/run
|
this it the /etc/sv/piavpn/run file:
Code: | #!/bin/sh
exec /opt/piavpn/bin/pia-daemon |
Code: |
pete@gentoo ~/Downloads $ sudo chmod +x /etc/sv/piavpn/run
pete@gentoo ~/Downloads $ sudo ln -s /etc/sv/piavpn /var/service
pete@gentoo ~/Downloads $ rc-service piavpn start
* piavpn: superuser access required
pete@gentoo ~/Downloads $ sudo !!
sudo rc-service piavpn start
* Caching service dependencies ... [ ok ]
* Starting piavpn ... [ ok ]
|
and the GUI works! Thank you Neddy! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54349 Location: 56N 3W
|
Posted: Sun Mar 10, 2024 11:57 am Post subject: |
|
|
tedlasso,
that looks like a well behaved binary install too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 24
|
Posted: Sat Mar 16, 2024 9:29 am Post subject: |
|
|
a quick update: the PIA GUI doesn't work anymore. I've given up with the GUI and just use cli to enable PIA WG |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54349 Location: 56N 3W
|
Posted: Sat Mar 16, 2024 12:03 pm Post subject: |
|
|
tedlasso,
Quote: | doesn't work anymore | is not a good bug report. For us to help fix it, we need to know what it does do.
As its installed outside of portage, keeping the dependencies it needs is your problem.
We already identified app-crypt/mit-krb5 as not being installed at all.
Its quite possible that portage has removed another library as you system does not need it or updated something to an incompatible version.
The error message from PIA will give more information.
Try starting the GUI from a terminal window if you don't get an error message. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 24
|
Posted: Wed Mar 20, 2024 4:53 pm Post subject: |
|
|
Hi Neddy,
sorry for my late reply. I've opened a ticket to Private Internet Access and they informed that they don't have plans to make the GUI work with OpenRC anytime soon. So I gave up trying to use the app. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|