[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 <sjg@haxx.space>
This commit is contained in:
sjg
2026-08-18 22:44:58 +02:00
parent 110c0e1d49
commit 6276c3feea
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -33,9 +33,6 @@ RestartSec=2
KillSignal=SIGINT KillSignal=SIGINT
TimeoutStopSec=15 TimeoutStopSec=15
NoNewPrivileges=true 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] [Install]
WantedBy=default.target WantedBy=default.target
-3
View File
@@ -33,9 +33,6 @@ RestartSec=2
KillSignal=SIGINT KillSignal=SIGINT
TimeoutStopSec=15 TimeoutStopSec=15
NoNewPrivileges=true 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] [Install]
WantedBy=default.target WantedBy=default.target