Hi, 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? Cheers and thanks for maintaining syncthing in Debian, -- Guido
Dear maintainer, 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
Dear maintainer, 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