When extra routes are configured for a ZeroTier network (in addition to the "local" route), these routes aren't applied in clients. This is due to zerotier-one expecting the "ip" tool to be at /sbin/ip, but the iproute2 ebuild installs it at /bin/ip. The attached patch fixes the issue for me. Reproducible: Always
Created attachment 555366 [details, diff] Fix the path to the "ip" tool
Can `#define ZT_LINUX_IP_COMMAND "/bin/ip"`, be defined at build time via `emake CXX="$(tc-getCXX)" STRIP=: ZT_LINUX_IP_COMMAND="/bin/ip" one` specified in `src_compile()`?
Created attachment 556758 [details, diff] net-misc/zerotier: fix iproute2 path
should this version just be dropped then?
AFAICT, the patch is still necessary for 1.4.6.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c859fcb16318235b1d16e95d8d693bc2aec348e commit 2c859fcb16318235b1d16e95d8d693bc2aec348e Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-01-25 21:15:36 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-25 21:15:43 +0000 net-misc/zerotier: Bump to version 1.6.2 Closes: https://bugs.gentoo.org/755908 Closes: https://bugs.gentoo.org/671298 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-misc/zerotier/Manifest | 1 + net-misc/zerotier/files/zerotier.init-r1 | 12 +++++ net-misc/zerotier/zerotier-1.6.2.ebuild | 80 ++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+)