From e4aa4f2372c923bd10c69d015d24607cb855e43d Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 2 Oct 2026 23:10:04 +0300 Subject: [PATCH] conf(gstfsd): show how to allow a remote bind in supervisor and systemd gstfsd only listens on loopback unless GSTFSD_BIND_HOST and GSTFSD_ALLOW_REMOTE=1 are set; add commented environment lines for both service definitions. gstfsd.conf now ends with a newline, which matters because dev/libvirt-bootstrap.sh appends it to /etc/supervisor.conf. --- conf/supervisor/gstfsd.conf | 4 +++- conf/systemd/webvirt-gstfsd.service | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/supervisor/gstfsd.conf b/conf/supervisor/gstfsd.conf index 71592aaf..a5976d69 100644 --- a/conf/supervisor/gstfsd.conf +++ b/conf/supervisor/gstfsd.conf @@ -4,4 +4,6 @@ directory=/usr/local/bin user=root autostart=true autorestart=true -redirect_stderr=true \ No newline at end of file +redirect_stderr=true +# Remote compute (unauthenticated root service, trusted networks only): +;environment=GSTFSD_BIND_HOST="0.0.0.0",GSTFSD_ALLOW_REMOTE="1" diff --git a/conf/systemd/webvirt-gstfsd.service b/conf/systemd/webvirt-gstfsd.service index 6e89e1cb..53950027 100644 --- a/conf/systemd/webvirt-gstfsd.service +++ b/conf/systemd/webvirt-gstfsd.service @@ -8,6 +8,9 @@ Type=simple Restart=on-failure RestartSec=10 LimitNOFILE=64000 +# Remote compute (unauthenticated root service, trusted networks only): +#Environment=GSTFSD_BIND_HOST=0.0.0.0 +#Environment=GSTFSD_ALLOW_REMOTE=1 ExecStart=/usr/bin/python3 /usr/local/bin/gstfsd