Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running as superuser never actually exits #1878

Open
metal450 opened this issue Jan 2, 2023 · 0 comments
Open

Running as superuser never actually exits #1878

metal450 opened this issue Jan 2, 2023 · 0 comments

Comments

@metal450
Copy link

metal450 commented Jan 2, 2023

When Syncthing is configured to run as superuser, exiting the app doesn't stop it from syncing:

  • If I go to Menu->Exit, the SyncThing statusbar icon disappears (as expected), but it’s actually still silently syncing in the background (which there is no indication of, except that I see changes to the phone’s files still being pushed to the PC)
  • If I go to Developer Options->Running Services & kill it, changes still get synced to the PC
  • Even if I use SwiftBackup to “Disable” it, changes still get synced to the PC

It seems like the only way to actually get it to stop is to go to the web UI, Actions->Shutdown, then go back out to the app & “Exit.” Anything short of explicitly visiting the Web UI seems to leave SyncThing silently syncing in the background.

The issue does not occur when not running as root: the moment you exit the SyncThing app, it will stop syncing, as expected.

See for further discussion: https://forum.syncthing.net/t/syncthing-as-superuser-never-actually-exits/19575

Version Information

App Version: 1.22.2
Syncthing Version: 1.22.2
Android Version: Android 12
@imsodin imsodin changed the title SyncThing as superuser never actually exits Running as superuser never actually exits Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant