Comment # 3 on bug 1062068 from
Summarize of the development so far:
* It is not possible to recognize stop from restart just by listening on dbus.
It was rather ugly way to detect it anyway.

* X server could register itself as a transient unit requiring (or binding to,
or wanting, ...) systemd-logind. I have working prototype of this, but now it
seems that there is no way to configure systemd unit to stop if dependency
stops, but do nothing if dependency restarts.

* Could we instead prevent the lockup on virtual console switch? Then we would
not need all this tracking of systemd-logind. Investigating that now.

* Another alternative is to simply not care. Nothing will break if
systemd-logind restarts. If it stops or crashes, then there is the change of
lockup - maybe it would be acceptable?


You are receiving this mail because: