Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install on Fedora Atomics #70

Open
telorand opened this issue Jul 9, 2024 · 1 comment
Open

Unable to install on Fedora Atomics #70

telorand opened this issue Jul 9, 2024 · 1 comment

Comments

@telorand
Copy link

telorand commented Jul 9, 2024

=================================
Private Internet Access Installer
=================================

Installing PIA for x86_64, system is x86_64
[sudo] password for telorand: 
✔ Added group piavpn
✔ Added group piahnsd
✔ Copied Private Internet Access files
✔ Allow non-root /opt/piavpn/bin/pia-unbound to bind to privileged ports
✔ Created var folder
cp: cannot create regular file '/usr/share/pixmaps/piavpn.png': Read-only file system

Due to the fact that Fedora Atomics and derivative distros are generally immutable, the .run script fails when it tries to install the icons to /usr/share/pixmaps, as that directory is read-only; there's even a note in the preceding lines stating that this isn't ideal. Likewise, installing the .desktop entry would also fail (if it could get to that step), because /usr/share/applications is read-only. Note that /opt from the above output is "mutable," because it's actually a symlink from /var (one of the only mutable directories).

The primary mutable directory in several immutable distros is /var. Can the install script be modified to work only with that directory?

@Cwavs
Copy link

Cwavs commented Feb 14, 2025

An alternative could be to provide an rpm package. This could be layered with rpm-ostree or exported from distrobox. Neither is an amazing solution, but I think those are good ways to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants