install-systemd.sh install script on fedora server

Open
#183 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
fedora, linux, shell

Research direction

Start with scripts/systemd/install-systemd.sh and reproduce the installation on a fresh Fedora Linux 43 Server system. Check the reported dependency names, service execution under SELinux, and firewall guidance. Done means the installer completes and the sendspin.service starts without the manual workarounds described in the issue.

Written by the indexing model from the issue text.

Description

I tried to run installer

curl -fsSL https://raw.githubusercontent.com/Sendspin/sendspin-cli/refs/heads/main/scripts/systemd/install-systemd.sh | sudo bash

On Fedora Linux 43 (Server Edition) fresh installation

libportaudio2

sudo dnf install libportaudio2

failed because there is no libportaudio2

Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: libportaudio2

instead installing just portaudio fixes it

sudo dnf install portaudio

SELinux - Permission denied

After installation service fails to start with:

sendspin.service: Failed at step EXEC spawning /home/sendspin/.local/bin/sendspin: Permission denied

I was able to workaround that by doing:

sudo ausearch -c sendspin --raw | audit2allow -M sendspin_local
sudo semodule -i sendspin_local.pp

or

sudo setenforce 0
Not recomended (but can be considered as debug measure to confirm that is actual issue)

Ai also suggests to Move the binary to /usr/local/bin This is the standard, SELinux‑approved solution.
But I did not try that:

sudo mv /home/sendspin/.local/bin/sendspin /usr/local/bin/sendspin
sudo chmod +x /usr/local/bin/sendspin

Update your service:

ExecStart=/usr/local/bin/sendspin

Reload:

sudo systemctl daemon-reload
sudo systemctl restart sendspin.service

Firewall rules

Out of the box firewall is enabled and adding rule may be nessecary

sudo firewall-cmd --add-port=8080/tcp --permanent
sudo firewall-cmd --reload

Missing: libopenblas0

Installer script will complain abnout missing libopenblas0 and propts to install it.

Install now? (dnf install -y openblas) [Y/n]
as soon as Y is input:

Repositories loaded.
Package "openblas-0.3.29-2.fc43.x86_64" is already installed.
Nothing to do.

it will say its installed already. But therea is no functional issue with this. Just put "Y" when running the script and it will work.

Dominant language
Python
Stars
190
Forks
36
Avg merge
11d 19h
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Sendspin/sendspin-python-cli

All issues in Sendspin/sendspin-python-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.