-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce support for Synology NAS #4754
Comments
@russjones @webvictim any ideas on why it may fail like this? |
@klizhentas It fails for the same reason that caused us to create separate CentOS 6 binaries - the glibc version on the Synology boxes seems to be lower than we require. @ekrekeler If your Synology were Intel-based, you could likely run https://get.gravitational.com/teleport-v4.4.4-linux-amd64-centos6-bin.tar.gz on it; I know Synology’s OS is Debian-based, but there’s actually nothing about these binaries specific to RHEL or CentOS - they’re just compiled against a lower version of glibc (albeit in a CentOS build environment) I need to investigate Dockerized builds on the ARM platform soon anyway, so I’ll look into whether we can do a similar thing to build against a lower glibc version for ARM platforms. |
Yes some of the more expensive Synology models have Intel-based processors, but most of the SOHO customers like me use the ARM-based models. @webvictim Thanks for looking into it, and let me know if you'd like me to test anything. I also have an RPi4 which I can use to test armv7 and arm64 containers. |
Statically-compiled binaries would fix this (#4896) but are untested and have historically introduced a number of other issues with unpredictable DNS resolution when running in Docker/Kubernetes. One workaround for this which would prevent huge fragmentation of our build matrix while also not needing us to switch to statically-compiled binaries may be to just change the Teleport buildbox to always bootstrap and build Go from source in a container which uses an older glibc version; we do this already for CentOS 6 binaries. We could use CentOS 7 which would give us glibc 2.18. Here's the list of required glibc versions that I know of so far (run
|
As an update for anyone following the issue, we're unlikely to be changing our Teleport build box to use a lower version of glibc any time soon. The reason is because downgrading the build box to an old enough distro to satisfy all the glibc requirements above will result in breaking changes to Teleport's enhanced session recording functionality. Downgrading glibc too far is also undesirable from a security perspective as older versions contain unpatched vulnerabilities. If you're experiencing an error like git clone https://github.com/gravitational/teleport
cd teleport
git checkout v5.1.2 # update this to whatever version you'd like to compile
make release Other notes:
|
This is mostly a comment for anyone else coming across this issue, but I actually built a Synology package for x64 / DSM7 devices and those interested can probably figure out how to get a packaged built for ARM with a little effort: https://github.com/yostinso/spksrc-teleport/releases/tag/teleport-v8.0.7 |
I tried on my DSM 7.1.1 ... compiled the actual arch, I was not able to make it work. Also tried the latest precompiled package, 13.1.1 spk. It didn't worked either for me. Mind that I'm following the step to make elevate its privilege, generating a tctl nodes add and using the token and ca-pin. Any hints @yostinso ? Cheers |
@Gugatec probably want to continue this over here: yostinso/spksrc-teleport#2 Assuming it's installing, you probably want to check with |
We have in fact downgraded the glibc version in the buildbox since this issue was created, so I'd be curious to know whether this is still an issue when running v15 Teleport binaries on ARM-based Synologies. I should be able to test it myself in a couple of weeks if nobody else can. |
Closing this one out, as we currently do a better job at trying to keep our glibc dependency to a version as old as possible while still meeting security objectives. You may find that the latest builds do work, but if they don't we won't go out of our way to support Synologies. |
Sry, I missed this message/email. FYI it is a Intel based synology DS220+
(Intel Celeron J4025)
*DAFNIS GUSTAVO FRULLANI*
: ***@***.***
( + 971 58 566-4902
: linkedin.com/in/gustavofrullani
<https://www.linkedin.com/in/gustavofrullani/?ppe=1>
…On Thu, 11 Apr 2024 at 05:09, Gus Luxton ***@***.***> wrote:
We have in fact downgraded the glibc version in the buildbox since this
issue was created, so I'd be curious to know whether this is still an issue
when running v15 Teleport binaries on ARM-based Synologies. I should be
able to test it myself in a couple of weeks if nobody else can.
—
Reply to this email directly, view it on GitHub
<#4754 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN6E5GS2Q5YD54AMYRNFYLY4XPFDAVCNFSM4TOVE2E2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBUHA3TENJRHE3A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Understood, thank you!
*DAFNIS GUSTAVO FRULLANI*
: ***@***.***
( + 971 58 566-4902
: linkedin.com/in/gustavofrullani
<https://www.linkedin.com/in/gustavofrullani/?ppe=1>
…On Tue, 17 Sept 2024 at 01:00, Zac Bergquist ***@***.***> wrote:
Closing this one out, as we currently do a better job at trying to keep
our glibc dependency to a version as old as possible while still meeting
security objectives. You may find that the latest builds do work, but if
they don't we won't go out of our way to support Synologies.
—
Reply to this email directly, view it on GitHub
<#4754 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN6E5HDF4NJJTHCLD4MBPTZW5BIXAVCNFSM4TOVE2E2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMZVGQYDENJVGA3A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Feature Request
At this time, the binaries compiled for the ARMv7 platform are incompatible with DiskStation on Synology NAS (currently DSM 6.2.3-25426 Update 2). Running the teleport command fails with error:
teleport: /lib/libc.so.6: version 'GLIBC_2.28' not found (required by teleport)
Motivation
Using a jump server such as Teleport would be beneficial for enabling CLI access without port forwarding or configuring a VPN. Since the DiskStation GUI doesn't include a terminal, the only way to access the CLI is to enable SSH or Telnet server.
Who's it for?
Synology customers, power users
The text was updated successfully, but these errors were encountered: