Merge lp:~afrantzis/unity8/fix-1371597-remove-stale-trusted-socket into lp:unity8

Proposed by Alexandros Frantzis
Status: Merged
Approved by: Albert Astals Cid
Approved revision: 1288
Merged at revision: 1306
Proposed branch: lp:~afrantzis/unity8/fix-1371597-remove-stale-trusted-socket
Merge into: lp:unity8
Diff against target: 20 lines (+5/-1)
1 file modified
data/unity8.conf (+5/-1)
To merge this branch: bzr merge lp:~afrantzis/unity8/fix-1371597-remove-stale-trusted-socket
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Abstain
PS Jenkins bot (community) continuous-integration Needs Fixing
Albert Astals Cid (community) Abstain
Ying-Chun Liu (community) Approve
Review via email: mp+235289@code.launchpad.net

Commit message

Remove stale trusted socket before starting unity8 from upstart (LP: #1371597)

Description of the change

* Are there any related MPs required for this MP to build/function as expected? Please list.
No.

* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes.

* Did you make sure that your branch does not contain spurious tags?
Yes.

* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable.

* If you changed the UI, has there been a design review?
Not applicable.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ying-Chun Liu (paulliu) wrote :

Tested. It does clean the trusted socket.

 * Did you perform an exploratory manual test run of the code change and any related functionality?
 Yes

 * Did CI run pass? If not, please explain why.
 No, unrelated reasons.

review: Approve
Revision history for this message
Michael Zanetti (mzanetti) wrote :

please strip stale tags.

This also uses the outdated checklist which doesn't have the check for stale tags in it.

review: Needs Fixing
1288. By Alexandros Frantzis

Remove stale trusted socket before starting unity8 from upstart

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

> please strip stale tags.

Done. Repushed basing on a clean unity8 branch.

> This also uses the outdated checklist which doesn't have the check for stale tags in it.

Fixed.

Revision history for this message
Albert Astals Cid (aacid) wrote :

Remote "broken" tags are still there, use http://people.canonical.com/~msawicz/unity8/strip-u8-tags.py to help them die

review: Needs Fixing
Revision history for this message
Albert Astals Cid (aacid) wrote :

remote broken tags are gone, reapproving.

Revision history for this message
Albert Astals Cid (aacid) :
review: Abstain
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

> Remote "broken" tags are still there, use http://people.canonical.com/~msawicz/unity8/strip-u8-tags.py to help them die

Thanks. Fixed.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

tags gone. thanks. landing this soon

review: Abstain

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/unity8.conf'
2--- data/unity8.conf 2014-08-11 19:03:22 +0000
3+++ data/unity8.conf 2014-09-23 12:31:47 +0000
4@@ -34,11 +34,15 @@
5 gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'MIR_SOCKET': '$MIR_SERVER_FILE'}"
6 fi
7
8- # Remove the socket if still there
9+ # Remove the normal and trusted sockets if still there
10 if [ -S "$MIR_SERVER_FILE" ]; then
11 rm "$MIR_SERVER_FILE"
12 fi
13
14+ if [ -S "${MIR_SERVER_FILE}_trusted" ]; then
15+ rm "${MIR_SERVER_FILE}_trusted"
16+ fi
17+
18 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
19
20 initctl emit --no-wait indicator-services-start

Subscribers

People subscribed via source and target branches