zerotier / ZeroTierOne

A Smart Ethernet Switch for Earth
https://zerotier.com
Other
14.65k stars 1.71k forks source link

Installation script for Centos9 and Fedora 36 #1655

Open LecrisUT opened 2 years ago

LecrisUT commented 2 years ago

There is a minor issue with the installation when run on CentOS9, i.e. a symlink does not exist at http://download.zerotier.com/redhat/el/9/repodata/repomd.xml.

But the main issue for both is that zerotier built there requires OpenSSL 1.1 (i.e. /usr/sbin/zerotier-one: error while loading shared libraries: libssl.so.1.1), although that is not included in either of these distros (3.0). There are compat-openssl11 pacakges available to make zerotier run on these distros, but these need to be included in the installation script. But alternatively, when will ZeroTier upgrade to openssl 3.0?

*The installation script being that on https://install.zerotier.com

erikh commented 2 years ago

So, this is basically the same as #1652; the issue is with the missing dep on libssl3. We're preparing packages which should be ready in the next few days.

LecrisUT commented 2 years ago

Indeed, but don't forget the missing symlink for RHEL9. It would be preferable to have it on copr or eventually on the main Fedora repository so that it can be tested for the next releases.

jguizarj commented 2 years ago

Hi! any update on Fedora 36?

someara commented 2 years ago

Hello! We're actively working on the packaging situaiton. Stay tuned.

goshansp commented 2 years ago

Workaround: Fedora 36 dnf install openssl1.1 and for Fedora 36 Silverbluerpm-ostree install openssl1.1 does work for me.

LecrisUT commented 2 years ago

Is there a compat-openssl11 package instead? Does openssl1.1 package conflict with 3.x one?

goshansp commented 2 years ago

no, there is no compat-openssl11 as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1879067 and from my understanding fedora packages do not conflict. i have 11 and 3 installed alongside.

LecrisUT commented 2 years ago

Tip because a previous zerotier installation script was broken for fedora: delete the old zerotier package and rerun the script on install.zerotier.com

There was an issue that zerotier was pulling 1.8.10-1.el7 instead of 1.8.10-1.el8. But arguably it should be either 1.8.10-1.el9 or better yet 1.8.10-1.fc36. If the latter, it will help confirm/detect issues as we upgrade Fedora versions, e.g. it will be marked for remove-retired-packages.