← Back to team overview

dx-packages team mailing list archive

[Bug 1618886] Re: unity-gtk-module.service is racy; session services don't stop if session terminates

 

This isn't quite enough in this situation.

- Log in over SSH or in a vt (so there is a logind session alive for your user)
- Log into the same user in Unity
- Simulate an Xorg crash (pkill -f -SEGV Xorg)
- Log back in

You don't have GTK_MODULES set properly. The previous gnome-session is
lingering.

To fix that, something like comment #3 is needed. Such as looping over
all 'active' units that are PartOf graphical-session.target and stopping
them all.

gnome-session needs a fix to its ExecStopPost to not kill the one we
just started.

I'll upload this and it can be reviewed in the queue.

** Changed in: gnome-session (Ubuntu)
       Status: Fix Released => Triaged

** Changed in: gnome-session (Ubuntu)
   Importance: Undecided => High

** Changed in: upstart (Ubuntu)
       Status: Fix Released => Triaged

** Changed in: upstart (Ubuntu)
   Importance: Undecided => Medium

** Changed in: gnome-session (Ubuntu)
   Importance: High => Medium

** Changed in: gnome-session (Ubuntu)
     Assignee: Martin Pitt (pitti) => Iain Lane (laney)

** Changed in: upstart (Ubuntu)
     Assignee: Martin Pitt (pitti) => Iain Lane (laney)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-gtk-module in Ubuntu.
https://bugs.launchpad.net/bugs/1618886

Title:
  unity-gtk-module.service is racy; session services don't stop if
  session terminates

Status in gnome-session package in Ubuntu:
  Triaged
Status in unity-gtk-module package in Ubuntu:
  Fix Released
Status in upstart package in Ubuntu:
  Triaged

Bug description:
  Sometimes on session start unity-gtk-module.service runs too late or
  something, and $GTK_MODULES does not include "unity". It is in
  "systemctl --user show-environment" but not in a terminal bash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1618886/+subscriptions


References