Jump to content
Not connected, Your IP: 3.227.229.194
C5475

AirVPN 2.9.0/2.10 can't self elevate to root

Recommended Posts

Using airvpn 2.9.0 (latest stable, reinstalled today) or experimental 2.10.0 (also installed today) rpm client on updated fedora 22 airvpn can't self elevate to root privileges without crashing

 

example, running as user:

 

 

➜  ~  airvpn 
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
I 2015.06.12 13:56:55 - AirVPN client version: 2.9.2, System: Linux, Name: Fedora release 22 (Twenty Two)Kernel \r on an \m (\l), Architecture: x64
. 2015.06.12 13:56:55 - Reading options from /home/luminoso/.airvpn/AirVPN.xml
. 2015.06.12 13:56:55 - Restarting with admin privileges
➜ ~  WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
;1R
Unhandled Exception:
System.IO.IOException: Invalid handle to path "/home/luminoso/[Unknown]"
  at System.IO.FileStream.ReadData (System.Runtime.InteropServices.SafeHandle safeHandle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0 
  at System.TermInfoDriver.GetCursorPosition () [0x00000] in <filename unknown>:0 
  at System.TermInfoDriver.Init () [0x00000] in <filename unknown>:0 
  at System.ConsoleDriver.Init () [0x00000] in <filename unknown>:0 
  at System.Console.add_CancelKeyPress (System.ConsoleCancelEventHandler value) [0x00000] in <filename unknown>:0 
  at AirVPN.Core.Engine.Initialization () [0x00000] in <filename unknown>:0 
  at AirVPN.UI.Linux.Program.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: Invalid handle to path "/home/luminoso/[Unknown]"
  at System.IO.FileStream.ReadData (System.Runtime.InteropServices.SafeHandle safeHandle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0 
  at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0 
  at System.TermInfoDriver.GetCursorPosition () [0x00000] in <filename unknown>:0 
  at System.TermInfoDriver.Init () [0x00000] in <filename unknown>:0 
  at System.ConsoleDriver.Init () [0x00000] in <filename unknown>:0 
  at System.Console.add_CancelKeyPress (System.ConsoleCancelEventHandler value) [0x00000] in <filename unknown>:0 
  at AirVPN.Core.Engine.Initialization () [0x00000] in <filename unknown>:0 
  at AirVPN.UI.Linux.Program.Main () [0x00000] in <filename unknown>:0 

 

However running as "beesu airvpn" everything works as expected. I've edited /usr/share/applications/AirVPN.desktop

 

from:

 

Exec=/usr/bin/airvpn

 

 

to:

 

Exec=beesu /usr/bin/airvpn

 

 

And it works as expected. Still, I hadn't this problem before.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...