Unity doesn't respawn all the times on crashes

Bug #1308800 reported by Marco Trevisan (Treviño)
324
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Unity
In Progress
Critical
Marco Trevisan (Treviño)
7.2
In Progress
Critical
Marco Trevisan (Treviño)
gnome-session (Ubuntu)
Fix Released
Critical
Marco Trevisan (Treviño)
Xenial
Fix Released
Critical
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
Critical
Marco Trevisan (Treviño)
Xenial
Fix Released
Critical
Marco Trevisan (Treviño)

Bug Description

[Impact]
Killing compiz repeatedly doesn't make unity to reload all the times.

This is caused by the fact that due to a regression unity7 is not loaded anymore by upstart (but by gnome-session) and thus it seems that sometimes it doesn't properly gets restarted.

This is also a security issue, because if the session was locked, and unity is not reloaded the session won't be locked anymore.

[Test Case]
From a terminal run killall -9 compiz multiple times, it should always reload, but it fails after a couple of times.

[Regression Potential]
The fix is about always making unity to be launched by upstart.
Regression potential is low, since upstart is now used by most ubuntu desktop applications, and it ensures compiz will run properly anyway.

Related branches

Changed in unity (Ubuntu):
status: New → Confirmed
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
milestone: 7.1.2 → 7.2.1
description: updated
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Changed in gnome-session (Ubuntu):
status: New → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Not to get regressions with gnome-keyring, bug #1271591 should be also fixed with this.

Changed in unity:
assignee: Marco Trevisan (Treviño) (3v1n0) → Irfan Fauzan (irfan-it2988)
Changed in unity (Ubuntu):
assignee: Marco Trevisan (Treviño) (3v1n0) → Irfan Fauzan (irfan-it2988)
Martin Pitt (pitti)
Changed in gnome-session (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-session - 3.9.90-0ubuntu13

---------------
gnome-session (3.9.90-0ubuntu13) utopic; urgency=medium

  * 50_ubuntu_sessions.patch: Don't set compiz as one of the
    RequiredComponents, it uses upstart. (LP: #1308800)
 -- Marco Trevisan (Trevino) <mail@3v1n0.net> Wed, 04 Jun 2014 14:26:54 +0200

Changed in gnome-session (Ubuntu):
status: Fix Committed → Fix Released
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.2.1 → 7.2.2
Changed in unity:
assignee: Irfan Fauzan (irfan-it2988) → Marco Trevisan (Treviño) (3v1n0)
Changed in unity (Ubuntu):
assignee: Irfan Fauzan (irfan-it2988) → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
milestone: 7.2.2 → 7.2.3
Changed in unity:
milestone: 7.2.3 → 7.3.1
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.1 → 7.3.2
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.2 → 7.3.3
Revision history for this message
Neal McBurnett (nealmcb) wrote :

It is now a year since this bug was marked "Critical", but it keeps being postponed. I think this was part of the cause of an embarrassing experience during my recent presentation to a Linux Users Group, where Unity went away twice, forcing me to reboot the first time, and borrow a (gasp!) Apple computer the second time to finish the presentation.

What is the status of the overall fix?
What is the story with the "fix released" aspect of this for gnome-session? Was that just one aspect of the fix?
When it is fixed, will it be backported to Trusty?

Thanks!

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Mhm... Well, the fix was supposed to land in trusty as soon as the fixes for the gnome-keyring bug #1271591 (and related regressions) were backported.
Now this has happened, and we might go ahead, however, I've just noticed that the gnome-session fix needed for this, was overwritten by a merge (http://bazaar.launchpad.net/~ubuntu-desktop/gnome-session/ubuntu/revision/320) and so we need to redo this again on the unstable branch and then again backport this to trusty :(.

Also, the bug #1433013 is somewhat connected to this.

tags: added: rls-w-incoming
Changed in unity:
milestone: 7.3.3 → 7.4.0
tags: added: rls-x-incoming
removed: rls-w-incoming
Mathew Hodson (mhodson)
Changed in gnome-session (Ubuntu):
importance: Undecided → Critical
Will Cooke (willcooke)
tags: removed: rls-x-incoming
Changed in unity (Ubuntu Xenial):
milestone: none → ubuntu-16.04
tags: added: unity-backlog
Will Cooke (willcooke)
tags: added: u7-trello-import
tags: removed: u7-trello-import
Will Cooke (willcooke)
tags: added: u7-trello-import
tags: removed: u7-trello-import
Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity (Ubuntu Xenial):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.