From 6276c3feeab50e8bc3f37fc43d59a0e92dfd9aa1 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Tue, 18 Aug 2026 22:44:58 +0200 Subject: [PATCH] [fix](trx-rs): allow systemd hardware discovery Do not restrict socket families in the generic user units because SoapySDR and libusb require netlink sockets to enumerate radio hardware. Assisted-By: OpenAI Codex (GPT-5) Signed-off-by: Stan Grams --- packaging/systemd/trx-client.service | 3 --- packaging/systemd/trx-server.service | 3 --- 2 files changed, 6 deletions(-) diff --git a/packaging/systemd/trx-client.service b/packaging/systemd/trx-client.service index a6b851cb..bf3e1775 100644 --- a/packaging/systemd/trx-client.service +++ b/packaging/systemd/trx-client.service @@ -33,9 +33,6 @@ RestartSec=2 KillSignal=SIGINT TimeoutStopSec=15 NoNewPrivileges=true -# The client opens outbound TCP connections to remote servers and binds TCP -# listeners for its configured HTTP, JSON, rigctl, and audio frontends. -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 [Install] WantedBy=default.target diff --git a/packaging/systemd/trx-server.service b/packaging/systemd/trx-server.service index 86e94601..e5dc5781 100644 --- a/packaging/systemd/trx-server.service +++ b/packaging/systemd/trx-server.service @@ -33,9 +33,6 @@ RestartSec=2 KillSignal=SIGINT TimeoutStopSec=15 NoNewPrivileges=true -# Permit local IPC plus IPv4/IPv6 listening and outbound connections. Ports -# are configuration-defined, so SocketBindAllow= cannot safely narrow them. -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 [Install] WantedBy=default.target