🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3204

Bug#1142103: Enables syncthing for system users

#3204
From: Marc Haber
Date: Wed, 04 Nov 2026 08:40
26 lines
2934 bytes
Dear maintainer,

On Wed, Jul 15, 2026 at 12:58:24PM +0200, Guido Günther wrote:
> syncthing is enabled for users on install which is convenient, however
> it also does so for root and system users (like the ones running the
> display manager) which is a security risk. I tried to convince upstream
> 
> https://github.com/syncthing/syncthing/pull/10792
> 
> to disable it by default but they don't agree but hopefully we can at least
> do better in Debian?

This suggests adding
ConditionUser=!@system
to the user syncthing.service unit.

Please do that in the package. I spend three hours of debugging 
yesterday until I found out that the syncthing daemon that my syncthing 
tray applet was happily talking to and looked like having lost its 
configuration was actually the one belonging to sddm and not to my user. 
After "fixing" the configuratoin it took me some time to notice that my 
files were actually not getting synced (because the syncthing daemon was 
happily syncing into /var/lib/sddm).

Greetings
Marc
Technical Details
Message-ID: <NVEHf-9LAv-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <Nh5vk-4SlO-7@gated-at.bofh.it> <Nh5vk-4SlO-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Marc Haber <mh+debian-packages@zugschlus.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1142103: Enables syncthing for system users
Date: Wed, 04 Nov 2026 09:40:01 +0100
Message-ID: <NVEHf-9LAv-1@gated-at.bofh.it>
References: <Nh5vk-4SlO-7@gated-at.bofh.it> <Nh5vk-4SlO-7@gated-at.bofh.it>
X-Original-To: Guido Günther <agx@sigxcpu.org>,
	1142103@bugs.debian.org, 1142103-submitter@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov  4 08:39:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Marc Haber <mh+debian-packages@zugschlus.de>, 1142103@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: followup 1142103
X-Debian-Pr-Package: syncthing
X-Debian-Pr-Keywords: patch security
X-Debian-Pr-Source: syncthing
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/2.4.1 (2026-07-04)
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000568
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 26
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 4 Nov 2026 09:36:18 +0100
X-Original-Message-ID: <aurugrt60-gKf_76@192.168.77.35>
X-Original-References: <aldn0PyVj4S3soCc@quark2.heme.sigxcpu.org> <aldn0PyVj4S3soCc@quark2.heme.sigxcpu.org>