Skip to content

install-systemd.sh install script on fedora server #183

@tegelane89

Description

@tegelane89

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions