Ticket #1257 (new defect)
sugar-datastore not stopped on logout (+automatic re-login)
|Reported by:||sascha_silbe||Owned by:||tomeu|
|Component:||sugar||Version:||Git as of bugdate|
After choosing "Logout" sugar-datastore keeps running, so when the next Sugar session starts up (which is immediately afterwards on DebXO) two sugar-datastore instances are running, both trying to write the Xapian index and both failing. We should make sure sugar-datastore has stopped (wait for DBus signal Stopped) before exiting sugar-session.
On unclean shutdowns (e.g. zapping the X server with Alt+Ctrl+BS) the situation is similar, though it's less clear how to handle that case (as the old instance cannot be reached via DBus from the new session - maybe use a PID file?).