Stale trusted socket may stop Unity8 from restarting after an abnormal exit
Bug #1371597 reported by
Alexandros Frantzis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In some cases (like bug #1371593) unity8 crashes leaving the mir_socket and mir_socket_trusted sockets in the filesystem. When unity8 tries to restart it fails with "bind: address already in use" because of the left over mir_socket_trusted.
There are two aspects to this bug:
1. The unity8 upstart script should clean up the trusted socket before starting, like it does for the normal socket
2. If Mir is instantiated using the mir::run_mir() helper function, it is able to clean up the sockets even when the server crashes. However unity8 doesn't currently use the helper (also see bug #1371621).
Related branches
lp:~afrantzis/unity8/fix-1371597-remove-stale-trusted-socket
- Michael Zanetti (community): Abstain
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Albert Astals Cid (community): Abstain
- Ying-Chun Liu (community): Approve
-
Diff: 20 lines (+5/-1)1 file modifieddata/unity8.conf (+5/-1)
This bug was fixed in the package unity8 - 8.00+14. 10.20140930. 2-0ubuntu1
--------------- 10.20140930. 2-0ubuntu1) utopic; urgency=low
unity8 (8.00+14.
[ Alexandros Frantzis ]
* Remove stale trusted socket before starting unity8 from upstart (LP:
#1371597) (LP: #1371597)
[ CI bot ]
* Resync trunk
[ Andrea Cimitan ]
* Move activity indicator on top of keyboard (LP: #1354519)
[ Gerry Boland ]
* Cleanup: Remove unused member and fix small syntax error in
OrientationLock
[ josharenson ]
* Fix lp:1367894 by correcting how the minute value is calculated in
the panel. (LP: #1367894)
[ Nick Dedekind ] rPage test. Fixed warnings from test.
* Fixed DefaultIndicato
[ Ying-Chun Liu ]
* Remove maxLineCount in preview. (LP: 1328513) (LP: #1328513)
[ Michael Terry ]
* Fix some code that accidentally landed in trunk before it got
cleaned up. The current code just has some duplication to it that
should be unified.
* Implement latest visual designs for passphrase lockscreen.
* Make it easier to use the Lockscreen component from the welcome
wizard.
* Limit how much memory we reserve for the greeter background image,
allowing giant images to appear correctly.
[ Daniel d'Andrada ] tName build targets
* Add gdbTestComponen
-- Ubuntu daily release <email address hidden> Tue, 30 Sep 2014 16:57:28 +0000