outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Support Arch Linux for Outline Client

Open da-the-dev opened this issue 2 years ago • 6 comments

Describe the bug Outline Proxy Routing Controller Linux service no longer starts due to a core dump error

To Reproduce

  • Have latest version of Arch (my kernel version is 6.4.7-arch1-3)
  • Install latest Outline client and install the service like described here
  • Restart the PC for good measure
  • Observe the service that failed to start via systemctl status outline_proxy_controller.service

Expected behavior A running service

Screenshots outline_proxy_controller.service - Outline Proxy Routing Controller Loaded: loaded (/etc/systemd/system/outline_proxy_controller.service; enabled; preset: disabled) Active: failed (Result: core-dump) since Fri 2023-08-04 11:46:46 MSK; 5min ago Duration: 559ms Process: 532 ExecStart=/usr/local/sbin/OutlineProxyController --socket-filename=/var/run/outline_controller --owning-user-id=1000 (code=dumped, signal=ABR> Main PID: 532 (code=dumped, signal=ABRT) CPU: 11ms

Aug 04 11:46:45 powerpc systemd[1]: Started Outline Proxy Routing Controller. Aug 04 11:46:46 powerpc OutlineProxyController[532]: 1691138806.122492: [INFO] successfully set the tun device ip address Aug 04 11:46:46 powerpc OutlineProxyController[532]: 1691138806.123335: [INFO] successfully added outline gateway routing entry Aug 04 11:46:46 powerpc OutlineProxyController[532]: 1691138806.124181: [ERROR] Error: any valid prefix is expected rather than "". Aug 04 11:46:46 powerpc OutlineProxyController[532]: Aug 04 11:46:46 powerpc OutlineProxyController[532]: 1691138806.124534: [WARN] unable to query the default route to the outline proxy Aug 04 11:46:46 powerpc OutlineProxyController[532]: 1691138806.124543: [WARN] we could not detect the best interface, will try again at connect Aug 04 11:46:46 powerpc OutlineProxyController[532]: Assertion 'p->n_ref > 0' failed at src/shared/varlink.c:495, function varlink_unref(). Aborting. Aug 04 11:46:46 powerpc systemd[1]: outline_proxy_controller.service: Main process exited, code=dumped, status=6/ABRT Aug 04 11:46:46 powerpc systemd[1]: outline_proxy_controller.service: Failed with result 'core-dump'.

Client System (please complete the following information):

  • Outline Client Version Linux 1.11.0
  • Your Operating System: Arch Linux (kernel 6.4.7-arch1-3)

Submit Feedback Please submit feedback through the app and label it with this issue number.

Additional context Add any other context about the problem here.

da-the-dev avatar Aug 04 '23 08:08 da-the-dev

I've looked into the assertion error and have figured out that src/shared/varlink.c is a file related to systemd. I then found that file is systemd's repository. A new version of systemd was released a week ago and I have done a full system upgrade a few days ago. This might be the issue.

da-the-dev avatar Aug 04 '23 23:08 da-the-dev

Downgrading systemd to version 253 haven't helped

da-the-dev avatar Aug 05 '23 11:08 da-the-dev

Thanks for reaching out! Tagging this as a feature request since we do not currently support Arch Linux for Outline Client.

maddyhof avatar Aug 07 '23 18:08 maddyhof

We now have a CLI that should work on Arch Linux: https://github.com/Jigsaw-Code/outline-sdk/tree/main/x/examples/outline-cli

@cocoonkid also posted a workaround on this issue: https://github.com/Jigsaw-Code/outline-client/issues/1825

daniellacosse avatar Jan 29 '24 16:01 daniellacosse

We now have a CLI that should work on Arch Linux: https://github.com/Jigsaw-Code/outline-sdk/tree/main/x/examples/outline-cli

Seems to be broken on arch again. This error appears on both outline-cli and systemctl's outline_proxy_controller daemon. Is there a solution? Can i disable ipv6 manually and skip this step in outline?

[ERROR] 2024/03/18 21:45:59 failed to disable IPv6: failed to read IPv6 config: open /proc/sys/net/ipv6/conf/all/disable_ipv6: no such file or directory

UPD. My apologise, this error is caused BY manualy disabling ipv6. If someone get the same error, just remove ipv6.disable from grub kernel parameters.

arabel1a avatar Mar 18 '24 18:03 arabel1a

We now have a CLI that should work on Arch Linux: https://github.com/Jigsaw-Code/outline-sdk/tree/main/x/examples/outline-cli

[ERROR] 2024/07/20 13:58:50 failed to create OutlineDevice: invalid server hostname: lookup Y2hh...(the rest of the ss-file content follows, everything between 'ss://' and '#')...NzU0: no such host

Up-to-date arch linux.

adequacy1 avatar Jul 20 '24 11:07 adequacy1