unity-gtk-module.service is racy; session services don't stop if session terminates
Bug #1618886 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Fix Released
|
Medium
|
Iain Lane | ||
unity-gtk-module (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
upstart (Ubuntu) |
Fix Released
|
Medium
|
Iain Lane |
Bug Description
Sometimes on session start unity-gtk-
Related branches
lp://staging/~pitti/unity-gtk-module/env-race
- Ted Gould (community): Approve
-
Diff: 51 lines (+4/-10)4 files modifieddata/Makefile.am (+0/-3)
data/unity-gtk-module.override (+0/-1)
data/unity-gtk-module.service (+2/-4)
debian/control (+2/-2)
Changed in unity-gtk-module (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Medium → High |
milestone: | none → ubuntu-16.09 |
Changed in unity-gtk-module (Ubuntu): | |
status: | Triaged → In Progress |
Changed in unity-gtk-module (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in gnome-session (Ubuntu): | |
status: | Triaged → In Progress |
milestone: | none → ubuntu-16.09 |
Changed in upstart (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in gnome-session (Ubuntu): | |
status: | In Progress → Won't Fix |
status: | Won't Fix → Fix Committed |
To post a comment you must log in.
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 vmware: ~:0$ systemctl --user status graphical- session. target session. target - Current graphical user session systemd/ user/graphical- session. target; static; vendor preset: enabled) special( 7)
marco@ubuntu-
● graphical-
Loaded: loaded (/usr/lib/
Active: active since mer 2016-08-31 13:48:21 CEST; 54s ago
Docs: man:systemd.
ago 31 13:48:21 ubuntu-vmware systemd[6159]: Reached target Current graphical user session.