Comment 1 for bug 1618886

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote : Re: unity-gtk-module.service is racy

More than this unit, it seems related to the fact that it doesn't get deactivated on events such as Xorg being killed.
And this is not the only module with this issue. Also gnome-keyring-ssh.

In general any script which is on graphical-session doesn't get stopped. And in fact:

sudo killall -9 Xorg
marco@ubuntu-vmware:~:0$ systemctl --user status graphical-session.target
● graphical-session.target - Current graphical user session
   Loaded: loaded (/usr/lib/systemd/user/graphical-session.target; static; vendor preset: enabled)
   Active: active since mer 2016-08-31 13:48:21 CEST; 54s ago
     Docs: man:systemd.special(7)

ago 31 13:48:21 ubuntu-vmware systemd[6159]: Reached target Current graphical user session.