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

Broken Fedora Silverblue package #389

Open
flexagoon opened this issue Jul 11, 2024 · 4 comments
Open

Broken Fedora Silverblue package #389

flexagoon opened this issue Jul 11, 2024 · 4 comments

Comments

@flexagoon
Copy link

flexagoon commented Jul 11, 2024

Bug report

Describe your environment

  • Device: Dell XPS 15 9520
  • OS name and version: Fedora Silverblue 40 (custom build)
  • IVPN app version: 3.14.14

Describe the problem

Steps to reproduce:

  1. Follow installation instructions here

Observed Results:

The CLI app is installed, but doesn't work:

❯ ivpn
ERROR: Unable to connect to service: please, ensure IVPN daemon is running (connection-info not exists)
Please, restart 'ivpn-service'

❯ systemctl restart ivpn-service

❯ ivpn
ERROR: Unable to connect to service: please, ensure IVPN daemon is running (connection-info not exists)
Please, restart 'ivpn-service'

The GUI app does not appear in the app launcher at all, and its files seem to not be installed correctly:

❯ rpm -ql ivpn-ui
/opt/ivpn/ui/IVPN.desktop
/opt/ivpn/ui/bin/LICENSE.electron.txt
/opt/ivpn/ui/bin/LICENSES.chromium.html
# ... other files starting with /opt/ivpn

❯ rpm -ql ivpn
/opt/ivpn/dnscrypt-proxy/dnscrypt-proxy
/opt/ivpn/etc/ca.crt
/opt/ivpn/etc/client.down
# ...

❯ locate IVPN.desktop
/sysroot/ostree/deploy/default/deploy/682a3b364f879c63ea651843e6c680b47d812405a566aecf3e6242e2fc6efdb7.0/usr/share/applications/IVPN.desktop
/sysroot/ostree/deploy/default/deploy/94866e7d00c7e0c78013dfc373fd8c91230aa3517391f39336a9f97fdc3b89a4.0/usr/share/applications/IVPN.desktop
/usr/share/applications/IVPN.desktop

❯ ls -l /usr/share/applications/IVPN.desktop
lrwxrwxrwx. 4 root root 25 Jul  1 23:28 /usr/share/applications/IVPN.desktop -> /opt/ivpn/ui/IVPN.desktop

❯ ls /opt/ivpn
ls: cannot access '/opt/ivpn': No such file or directory

It seems like files in /opt/ivpn don't get installed correctly.

Expected Results:

The app should be properly installed

@stenya
Copy link
Member

stenya commented Jul 11, 2024

@flexagoon

Just to confirm, did you execute the commands to reboot the system, enable, and start the service? The order is important.

# reboot system
systemctl reboot

# enable IVPN service to start automatically
sudo systemctl enable ivpn-service

# start IVPN stervice
sudo systemctl start ivpn-service

@flexagoon
Copy link
Author

flexagoon commented Jul 11, 2024

@stenya yes, I did all of that. As my provided commands show, the issue is that files aren't getting installed into /opt

(btw, there's systemctl enable --now, which is the same as systemctl enable && systemctl start)

@stenya
Copy link
Member

stenya commented Jul 11, 2024

Hi @flexagoon

We just checked the installation process on the official Fedora Silverblue 40 (not custom) and found no issues.

I’m afraid the issue might be with your custom build or local configuration.

We test our applications on the official distribution version. Unfortunately, we cannot support all custom builds for different Linux distributions.
cc @gorkapernas

@flexagoon
Copy link
Author

@stenya it seems like the issue doesn't happen when layering ivpn on top of an already installed system, but it does happen when ivpn is installed during the image build process

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