Synology Package

439 views
Skip to first unread message

ejj...@gmail.com

unread,
Dec 3, 2015, 2:08:55 AM12/3/15
to Sandstorm Development
First of all my compliments to your excellent product. As a non-technical person i had it working on an old spare laptop running Ubuntu in a short time. However as a Synology owner i was wondering whether maybe a Synology package for Sandstorm would be possible ?

Kind regards,

Erik Jonker

Kenton Varda

unread,
Dec 4, 2015, 7:40:25 PM12/4/15
to ejj...@gmail.com, Ross Light, Sandstorm Development
Hi Erik,

Sandstorm on Synology would be pretty cool. I believe Ross (cc'd) was looking into hacking on this.

Note that it would only work on x86-64 Synologies, since all the app packages are compiled for x86-64.

-Kenton


--
You received this message because you are subscribed to the Google Groups "Sandstorm Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sandstorm-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Erik Jonker

unread,
Dec 5, 2015, 1:21:08 PM12/5/15
to Sandstorm Development, ejj...@gmail.com, ro...@zombiezen.com
Thanks for your reply,that will not work for me, even a quite new diskstation like my DS216play does not have x86 processor (STM STiH412)   . I'll keep it running happily on my laptop :-)

Regards,

Erik

Op zaterdag 5 december 2015 01:40:25 UTC+1 schreef Kenton Varda:

tiagofr...@gmail.com

unread,
May 27, 2016, 2:17:39 PM5/27/16
to Sandstorm Development, ejj...@gmail.com, ro...@zombiezen.com
Hi,

I have a x86_64 Synology DS415+.

Trying to install sandstorm using Docker, but the kernel doesn't have unprivileged_userns_clone...

$ sudo sysctl -w kernel.unprivileged_userns_clone=1

sysctl: cannot stat /proc/sys/kernel/unprivileged_userns_clone: No such file or directory

admin@nas:~$ uname -a
Linux nas 3.10.77 #7321 SMP Thu Apr 21 14:35:22 CST 2016 x86_64 GNU/Linux synology_avoton_415+

Ross Light

unread,
May 27, 2016, 2:23:17 PM5/27/16
to tiagofr...@gmail.com, Sandstorm Development, ejj...@gmail.com
I'm not sure when I'll get into trying this again. However, last time I looked at it, you do need to be using Synology's beta to get a new enough kernel to try running it.

Asheesh Laroia

unread,
Jun 10, 2016, 7:42:27 PM6/10/16
to Tiago Freitas, Sandstorm Development, ejj...@gmail.com, Ross Light
Hi Tiago!

Linux 3.10 is too old to run Sandstorm, per this comment in install.sh: https://github.com/sandstorm-io/sandstorm/blob/master/install.sh#L416

Have you been able to get a newer kernel somehow?

Jade Wang

unread,
Jun 13, 2016, 4:35:26 PM6/13/16
to Asheesh Laroia, Tiago Freitas, Sandstorm Development, ejj...@gmail.com, Ross Light
Hey Ross,

What kernel version is the new beta?

Thanks!
Jade
--
Sandstorm.io - a radically easier way to host a private cloud

Ross Light

unread,
Jun 16, 2016, 2:10:18 PM6/16/16
to Jade Wang, Asheesh Laroia, Tiago Freitas, Sandstorm Development, ejj...@gmail.com
Not super sure.  I think it was at least 4.X, but I can't seem to find my notes about it.

Ross Light

unread,
Jun 16, 2016, 2:15:15 PM6/16/16
to Jade Wang, Asheesh Laroia, Tiago Freitas, Sandstorm Development, ejj...@gmail.com
Of course, found my notes after I already sent the last message.  Synology 6.0 (no longer in beta) is 3.10.77. :(

I guess we'll have to wait for the next major Synology release...

-Ross

Tiago Freitas

unread,
Jun 16, 2016, 3:32:23 PM6/16/16
to Ross Light, Jade Wang, Asheesh Laroia, Tiago Freitas, Sandstorm Development, ejj...@gmail.com
I will install it in Virtual Box that is running in Docker.

I think Sinology is using a heavily modified kernel with lots of backports, so it may be many years until they upgrade the version.
Besides DSM 6 was just released so a major release will take a long time.

Maybe the current kernel even has the features that Sandstorm needs in a nonstandard way, someone needs to check. They have virtualisation of DSM and Docker, not sure if any of it uses what you need.

Kenton Varda

unread,
Jun 17, 2016, 4:08:50 PM6/17/16
to Tiago Freitas, Ross Light, Jade Wang, Asheesh Laroia, Sandstorm Development, Erik Jonker
In theory, user namespaces were added in 3.8. I vaguely remember there being some important fixes in 3.12. 3.13 is Ubuntu Trusty which gets lots of testing, so we set the cutoff there.

In theory, 3.10 might be good enough. I am not sure. Someone should try removing the checks and see if it works.

-Kenton

eric...@gmail.com

unread,
Dec 2, 2017, 4:31:11 PM12/2/17
to Sandstorm Development
Sorry to bump this old thread. I am getting a higher-spec Synology and might be that someone. Or will the change removing the requirement for USER_NS make the installer work unmodified? I guess I will find out once I order/set up :D

Hoping this will work out, as I've been wanting a stable sandstorm server for ages. Otherwise I will have to keep it on my NUC, which gets more experimental stuff on it.

Kenton Varda

unread,
Dec 2, 2017, 4:46:33 PM12/2/17
to eric...@gmail.com, Sandstorm Development
Hey Eric,

Sorry, your messages were caught in the moderation queue for a few days.

Excited to hear you'll be working on this. Indeed, it may be easier now that user NS is not needed -- as long as Synology lets apps get root.

I notice that some Synologies have two LAN ports. I'm not sure if this is relevant in the context of Synology, but I've always thought that if Sandstorm were to sell a Sandstorm device, it should have two LAN ports and instruct the user to place it between their internet router and their computer. This would allow it to hijack DNS to make it really easy to get to the initial configuration interface by web browser, and to work around lack of hairpin routing in many routers once you've set up sandcats.

But that's probably more of an idea for a dedicated Sandstorm box, not a Synology... oh well.

-Kenton

To unsubscribe from this group and stop receiving emails from it, send an email to sandstorm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sandstorm-dev/9b60817e-2928-4352-b4df-2014d660a679%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages