Issues with Arch Linux

I had some issues using the client in Arch Linux.

First, when installing the package, some errors are shown:

:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) upgrading twingate                                                                                            [#####################################################################] 100%
/tmp/alpm_f10XrM/.INSTALL: line 11: syntax error near unexpected token `fi'
/tmp/alpm_f10XrM/.INSTALL: line 11: `	fi'
/usr/bin/bash: line 1: post_upgrade: command not found
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...

these seem to be harmless, but just pointing out…

After using twingate for a while, when I try to start the systemd service I get another error, but this time the daemon fails to start:

Apr 12 14:17:14 jitterpad twingated[225746]: [2023-04-12T14:17:14.9043+0100] [WARNING] [client] [225746] Failed to open '/etc/twingate/user_intention_file': 'No such file or directory'
Apr 12 14:17:14 jitterpad twingated[225746]: array [
Apr 12 14:17:14 jitterpad twingated[225746]:    dict_entry {


...


Apr 12 14:25:45 jitterpad twingated[227945]: [2023-04-12T14:25:45.333585+0100] [INFO] [libsdwan][227945] sdwan_state: Offline
Apr 12 14:25:45 jitterpad twingated[227945]: [2023-04-12T14:25:45.333601+0100] [INFO] [client] [227945] State: Offline
Apr 12 14:25:45 jitterpad twingated[227945]: [2023-04-12T14:25:45.333668+0100] [INFO] [libsdwan][227945] sdwan_state: Unrecoverable Error
Apr 12 14:25:45 jitterpad twingated[227945]: [2023-04-12T14:25:45.333680+0100] [INFO] [client] [227945] State: Unrecoverable Error
Apr 12 14:25:45 jitterpad twingated[227945]: [2023-04-12T14:25:45.333786+0100] [WARNING] [libsdwan][227945] [controller] run_state_machine: STATE_UNRECOVERABLE_ERROR has been activated
Apr 12 14:25:46 jitterpad twingated[227945]: [2023-04-12T14:25:46.439416+0100] [INFO] [libsdwan][227945] sdwan_state: Offline
Apr 12 14:25:46 jitterpad twingated[227945]: [2023-04-12T14:25:46.439463+0100] [INFO] [client] [227945] State: Offline
Apr 12 14:25:46 jitterpad twingated[227945]: [2023-04-12T14:25:46.439907+0100] [WARNING] [client] [227945] Failed to open '/etc/twingate/purge_file': 'No such file or directory'
Apr 12 14:25:46 jitterpad twingated[227945]: [2023-04-12T14:25:46.439942+0100] [INFO] [client] [227945] Exiting Twingate Client
Apr 12 14:25:46 jitterpad systemd[1]: twingate.service: Deactivated successfully.

but surprise, if I create the /etc/twingate/user_intention_file manually with root:

[jitterpad ~]# echo "true" > /etc/twingate/user_intention_file

then surprise, I can start the daemon correctly.

Hi @abel_jit, thanks for trying Twingate and reporting such detailed feedback. And apologies for not responding sooner. At the moment we only support the distributions listed here. If Arch Linux is popular we can consider adding support for it.

Hi @Emrul

The documentation in this link does list Archlinux as supported for my architecture:

I used the packages provided by Twingate, for clients (not connectors).

Also, Archlinux is a very popular distribution. Manjaro, which is an Arch based distribution that uses pacman, is listed #4 in distrowatch.com.

I understand if it’s not supported for connectors, but for dekstop linux those issues above should be resolved.

Oh @abel_jit, I overlooked this was the client. I do apologise for the issue you faced - I’ll log an issue in our internal ticket system for this.

Hi @abel_jit - just following up again. We have tickets already logged for some of these issues but we’re keen to get more insight into the unrecoverable error. We would be grateful if you’re able to reproduce it with debug logging enabled and then submit it via help.twingate.com (please also reference this forum post when you contact support).

Please see here for instructions on how to enable debug logging for the Linux client.

Once again, thank you for reporting these issues and for your patience as we address them.

Hi @abel_jit - regarding the installation issue, the problem is fixed and is planned to be included in the next client release. The missing user intention file warning is part of normal operation and should not affect the functionality of the program.

Many thanks

Emrul

1 Like

Thanks Emrul, I will update the client then.