Skip to content

Split Tunnel doesn't behave on non FSH Linux systems #555

Description

@CoutHi

Bug report

Describe your environment

  • OS name and version: NixOS unstable
  • IVPN app version: 3.15.6

Describe the problem

On non FHS systems the split tunnel function doesn't properly work.
For example NixOS exposes binaries through /run/current-system/sw/bin, those are not accessible when trying to use the split tunnel, you have to supply the full path, the binary name isn't enough (I guess whatever finally calls the command up the chain doesn't inherit user's PATH)
You also don't get apps listed when trying to use split tunneling through the UI. The only apps that show up are flatpak apps (without icons), but you can't launch them either because of the path issue.

So:

ivpn splittun flatpak run <app.id> 

doesn't work as flatpak isn't resolved

ivpn splittun /run/current-system/sw/bin/flatpak run <app.id> 

does work.

Steps to reproduce:

  1. install NixOS
  2. try to run an app through the split tunnel either through the UI or the CLI

Expected Results:

A proper iconed list of apps as it is on Ubuntu and proper PATH both in the CLI and the UI

Edit

I was mistaken in saying that it finds flatpak apps in the UI. it only finds a couple, and some other normal apps, do not know where the difference is with these ones that leads to them getting found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions