[GH-ISSUE #147] AmneziaVPN ignores $PATH env variable #52

Closed
opened 2026-10-13 20:11:44 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @naughtyfox on GitHub (Jan 9, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/147

I tried to connect to OpenVPN over cloak server and got the following error:

2023-01-09 12:52:52 critical VpnProtocol error, code ErrorCode::26(Cloak (ck-client) executable missing) Cloak (ck-client) executable missing

Then I downloaded it from github: https://github.com/cbeuw/Cloak/releases/tag/v2.6.0 and copied the executable ck-client to /usr/local/bin which corresponds to my $PATH. Tested if it works:

$ which ck-client 
/usr/local/bin/ck-client

I straced the app and figured out it looks only to:

$ grep ck-client amnezia.strace 
120706 access("/usr/sbin/ck-client", F_OK) = -1 ENOENT (No such file or directory)
120706 access("/usr/bin/ck-client", F_OK) = -1 ENOENT (No such file or directory)

I believe the app should use $PATH.

Thanks.

Originally created by @naughtyfox on GitHub (Jan 9, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/147 I tried to connect to OpenVPN over cloak server and got the following error: ``` 2023-01-09 12:52:52 critical VpnProtocol error, code ErrorCode::26(Cloak (ck-client) executable missing) Cloak (ck-client) executable missing ``` Then I downloaded it from github: https://github.com/cbeuw/Cloak/releases/tag/v2.6.0 and copied the executable `ck-client` to `/usr/local/bin` which corresponds to my `$PATH`. Tested if it works: ``` $ which ck-client /usr/local/bin/ck-client ``` I `strace`d the app and figured out it looks only to: ``` $ grep ck-client amnezia.strace 120706 access("/usr/sbin/ck-client", F_OK) = -1 ENOENT (No such file or directory) 120706 access("/usr/bin/ck-client", F_OK) = -1 ENOENT (No such file or directory) ``` I believe the app should use `$PATH`. Thanks.
Author
Owner

@pokamest commented on GitHub (Dec 6, 2023):

Cloak plugin bundled in latest 4.x releases, issue fixed

<!-- gh-comment-id:1842735562 --> @pokamest commented on GitHub (Dec 6, 2023): Cloak plugin bundled in latest 4.x releases, issue fixed
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#52
No description provided.