Can't install the Zerotier-one service after compilation in Linux (OpenSUSE)

Hello!

I compiled the software and tried to install it with the ‘‘sudo ./zerotier-one -d’’. But after hitting enter, it shows like executed successfully, but the service isn’t being installed on the systemd.

When i call zerotier-cli to join a network, it shows like nonexistent in the system.

System Info:

artur@artursuse:~> inxi -zv8
System:
  Kernel: 6.8.8-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.8.8-1-default
    root=UUID=a3ae8a23-0251-443b-b14e-825dec9fe44d splash=silent
    mitigations=auto quiet security=apparmor
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.41 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: openSUSE Tumbleweed 20240512
Machine:
  Type: Desktop Mobo: ECS model: A68F2P-M2 v: 1.1 serial: <superuser required>
    uuid: <superuser required> UEFI-[Legacy]: American Megatrends v: 1.1
    date: 10/13/2016
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 8 GiB available: 7.64 GiB used: 2.86 GiB (37.5%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 8 GiB slots: 2 modules: 2 EC: None
    max-module-size: 4 GiB note: est.
  Device-1: Channel-A DIMM 1 type: DDR3 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: 1333 MT/s volts: curr: 2 min: 2 max: 2
    width (bits): data: 64 total: 64 manufacturer: Kingston
    part-no: 99U5471-028.A00LF serial: <filter>
  Device-2: Channel-B DIMM 1 type: DDR3 detail: synchronous unbuffered
    (unregistered) size: 4 GiB speed: 1333 MT/s volts: curr: 2 min: 2 max: 2
    width (bits): data: 64 total: 64 manufacturer: Kingston
    part-no: 99U5471-028.A00LF serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD A4-7300 APU with Radeon HD Graphics bits: 64 type: MT MCP
    arch: Piledriver level: v2 built: 2012-13 process: GF 32nm family: 0x15 (21)
    model-id: 0x13 (19) stepping: 1 microcode: 0x6001119
  Topology: cpus: 1x cores: 2 smt: enabled cache: L1: 96 KiB
    desc: d-2x16 KiB; i-1x64 KiB L2: 1024 KiB desc: 1x1024 KiB
  Speed (MHz): avg: 1800 min/max: 1800/3800 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1800 2: 1800
    bogomips: 15178
  Flags: 3dnowprefetch abm aes aperfmperf apic arat avx bmi1 clflush cmov
    cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists
    extapic extd_apicid f16c flushbyasid fma fma4 fpu fxsr fxsr_opt ht
    hw_pstate ibs lahf_lm lbrv lm lwp mca mce misalignsse mmx mmxext monitor
    msr mtrr nodeid_msr nonstop_tsc nopl npt nrip_save nx osvw pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_nb pfthreshold pge pni
    popcnt pse pse36 rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 svm svm_lock syscall tbm tce topoext tsc tsc_scale vmcb_clean
    vme vmmcall wdt xop xsave
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Richland [Radeon HD 8470D] vendor: Elite Systems
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale-3
    code: Northern Islands process: TSMC 32nm built: 2010-13 ports:
    active: VGA-1 empty: HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:9996
    class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.12 compositor: xfwm4 v: 4.18.0
    driver: X: loaded: modesetting unloaded: fbdev,vesa dri: r600 gpu: radeon
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1360x768 s-size: <missing: xdpyinfo>
  Monitor-1: VGA-1 model: Samsung SMB1930N serial: <filter> built: 2010
    res: 1360x768 hz: 60 dpi: 84 gamma: 1.2 chroma: red: x: 0.651 y: 0.337
    green: x: 0.290 y: 0.604 blue: x: 0.141 y: 0.071 white: x: 0.314 y: 0.329
    size: 410x230mm (16.14x9.06") diag: 470mm (18.5") ratio: 16:9
    modes: 1360x768, 1024x768, 832x624, 800x600, 640x480, 720x400
  API: OpenGL v: 4.5 vendor: mesa v: 24.0.5 glx-v: 1.4 es-v: 3.1
    direct-render: yes renderer: AMD ARUBA (DRM 2.50.0 / 6.8.8-1-default LLVM
    18.1.5) device-ID: 1002:9996 memory: 62.5 MiB unified: no
Audio:
  Device-1: AMD Trinity HDMI Audio vendor: Elite Systems driver: snd_hda_intel
    v: kernel bus-ID: 00:01.1 chip-ID: 1002:9902 class-ID: 0403
  Device-2: AMD FCH Azalia vendor: Elite Systems driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
  API: ALSA v: k6.8.8-1-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000
    bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: temporary dynamic scope: global
  IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager
  WAN IP: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 6-4:2
    chip-ID: 0a12:0001 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6 status: discoverable: no pairing: no class-ID: 6c0104
Logical:
  Message: No logical block device data found.
  Device-1: cr_root maj-min: 254:0 type: LUKS dm: dm-0 size: 39.06 GiB
  Components:
  p-1: sdc4 maj-min: 8:36 size: 39.06 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 775.34 GiB used: 15.92 GiB (2.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3500418AS
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC35 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Hitachi model: HDS721680PLA380
    size: 76.69 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: N/A serial: <filter> fw-rev: A70A scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 870 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: MBR
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GH22NS40 rev: NL01
    dev-links: cdrom
  Features: speed: 48 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 39.06 GiB size: 38.15 GiB (97.67%) used: 15.92 GiB (41.7%)
    fs: ext4 dev: /dev/dm-0 maj-min: 254:0 mapped: cr_root label: N/A uuid: N/A
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.64 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 2 dev: /dev/zram0
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 100 MiB fs: ntfs
    label: Reservado pelo Sistema uuid: 82C4217AC4217219
  ID-2: /dev/sda2 maj-min: 8:2 size: 465.66 GiB fs: bitlocker label: N/A
    uuid: N/A
  ID-3: /dev/sdb1 maj-min: 8:17 size: 76.69 GiB fs: bitlocker label: N/A
    uuid: N/A
  ID-4: /dev/sdc1 maj-min: 8:33 size: 50 MiB fs: ntfs label: System Reserved
    uuid: 9898D48698D46472
  ID-5: /dev/sdc2 maj-min: 8:34 size: 193.27 GiB fs: bitlocker label: N/A
    uuid: N/A
  ID-6: /dev/sdc3 maj-min: 8:35 size: 509 MiB fs: ntfs label: N/A
    uuid: 24EEB951EEB91C4C
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: full speed or root hub ports: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: full speed or root hub ports: 5 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 6-0:1 info: full speed or root hub ports: 5 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 1d6b:0001
    class-ID: 0900
  Device-1: 6-4:2 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
    type: bluetooth driver: btusb interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 0a12:0001
    class-ID: e001
  Hub-7: 7-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 8-0:1 info: full speed or root hub ports: 5 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 1d6b:0001
    class-ID: 0900
  Device-1: 8-4:2 info: Silicon Labs USB OPTICAL MOUSE type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
    chip-ID: 10c4:8108 class-ID: 0301
  Hub-9: 9-0:1 info: full speed or root hub ports: 2 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 1d6b:0001
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 14.0 C mobo: N/A gpu: radeon temp: 2.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: flatpak pkgs: 5
  Active zypp repos in: /etc/zypp/repos.d/download.opensuse.org-non-oss.repo
    1: download.opensuse.org-non-oss ~ http://download.opensuse.org/tumbleweed/repo/non-oss/
  Active zypp repos in: /etc/zypp/repos.d/download.opensuse.org-oss.repo
    1: download.opensuse.org-oss ~ http://download.opensuse.org/tumbleweed/repo/oss/
  Active zypp repos in: /etc/zypp/repos.d/download.opensuse.org-tumbleweed.repo
    1: download.opensuse.org-tumbleweed ~ http://download.opensuse.org/update/tumbleweed/
  Active zypp repos in: /etc/zypp/repos.d/openSUSE-20240508-0.repo
    1: openSUSE-20240508-0 ~ http://download.opensuse.org/tumbleweed/repo/oss/
  Active zypp repos in: /etc/zypp/repos.d/packman.repo
    1: packman ~ https://ftp.fau.de/packman//suse/openSUSE_Tumbleweed/
  No active zypp repos in: /etc/zypp/repos.d/repo-debug.repo
  Active zypp repos in: /etc/zypp/repos.d/repo-openh264.repo
    1: repo-openh264 ~ http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed
  No active zypp repos in: /etc/zypp/repos.d/repo-source.repo
Processes:
  CPU top: 5 of 198
  1: cpu: 15.0% command: firefox pid: 2406 mem: 466.0 MiB (5.9%)
  2: cpu: 8.0% command: firefox pid: 4219 mem: 262.4 MiB (3.3%)
  3: cpu: 5.9% command: firefox pid: 3616 mem: 243.2 MiB (3.1%)
  4: cpu: 3.2% command: firefox pid: 3085 mem: 323.2 MiB (4.1%)
  5: cpu: 3.2% command: firefox pid: 5160 mem: 239.0 MiB (3.0%)
  Memory top: 5 of 198
  1: mem: 466.0 MiB (5.9%) command: firefox pid: 2406 cpu: 15.0%
  2: mem: 323.2 MiB (4.1%) command: firefox pid: 3085 cpu: 3.2%
  3: mem: 262.4 MiB (3.3%) command: firefox pid: 4219 cpu: 8.0%
  4: mem: 243.2 MiB (3.1%) command: firefox pid: 3616 cpu: 5.9%
  5: mem: 239.0 MiB (3.0%) command: firefox pid: 5160 cpu: 3.2%
Info:
  Processes: 198 Power: uptime: 0h 38m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 3.04 GiB services: upowerd,xfce4-power-manager Init: systemd v: 255
    default: graphical tool: systemctl
  Compilers: clang: 18.1.5 gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: xfce4-terminal inxi: 3.3.34

This switch does not install ZeroTier in systemd. You’re probably starting a local binary with a null configuration.

If you are compiling ZeroTier locally for Arch Linux, then you should start with the distro package, merge the changes that you want, and rebuild the entire package so that necessary things like systemd units and FHS components are installed too.