Merge lp:~attente/unity8/1634508 into lp:unity8

Proposed by William Hua
Status: Needs review
Proposed branch: lp:~attente/unity8/1634508
Merge into: lp:unity8
Diff against target: 24 lines (+4/-1)
1 file modified
data/unity8.conf (+4/-1)
To merge this branch: bzr merge lp:~attente/unity8/1634508
Reviewer Review Type Date Requested Status
Michał Sawicz Needs Information
Review via email: mp+308737@code.launchpad.net

Description of the change

Sanitize the environment after stopping unity 8

To post a comment you must log in.
Revision history for this message
Michał Sawicz (saviq) :
review: Needs Information
Revision history for this message
Albert Astals Cid (aacid) wrote :

Text conflict in data/unity8.conf
1 conflicts encountered.

Unmerged revisions

2659. By Iain Lane

Sanitize the environment after stopping unity 8

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/unity8.conf'
--- data/unity8.conf 2016-06-27 18:42:23 +0000
+++ data/unity8.conf 2016-10-18 14:37:12 +0000
@@ -31,7 +31,7 @@
31 # Point all future jobs in this session to our Mir socket instead of31 # Point all future jobs in this session to our Mir socket instead of
32 # unity-system-compositor's socket.32 # unity-system-compositor's socket.
33 initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE33 initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
34 gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'MIR_SOCKET': '$MIR_SERVER_FILE'}"34 dbus-update-activation-environment --verbose --systemd MIR_SOCKET=${MIR_SERVER_FILE}
35 fi35 fi
3636
37 # Remove the normal and trusted sockets if still there37 # Remove the normal and trusted sockets if still there
@@ -82,8 +82,11 @@
82end script82end script
8383
84post-stop script84post-stop script
85 dbus-update-activation-environment --verbose --systemd MIR_SOCKET=${UNITY_MIR_SOCKET}
85 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET86 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
87 dbus-update-activation-environment --verbose --systemd UNITY_MIR_SOCKET=
86 initctl unset-env --global UNITY_MIR_SOCKET88 initctl unset-env --global UNITY_MIR_SOCKET
89 dbus-update-activation-environment --verbose --systemd MIR_SERVER_PROMPT_FILE=
87 initctl unset-env --global MIR_SERVER_PROMPT_FILE90 initctl unset-env --global MIR_SERVER_PROMPT_FILE
88 initctl emit application-end91 initctl emit application-end
89end script92end script

Subscribers

People subscribed via source and target branches