Merge lp:~ogra/hud/new-dbus-address into lp:hud/14.10

Proposed by Pete Woods
Status: Superseded
Proposed branch: lp:~ogra/hud/new-dbus-address
Merge into: lp:hud/14.10
Prerequisite: lp:~unity-api-team/hud/forward-port
Diff against target: 67 lines (+12/-13) (has conflicts)
3 files modified
data/hud.conf.in (+1/-12)
data/window-stack-bridge.conf.in (+1/-1)
debian/changelog (+10/-0)
Text conflict in debian/changelog
To merge this branch: bzr merge lp:~ogra/hud/new-dbus-address
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Ted Gould Pending
Review via email: mp+223024@code.launchpad.net

This proposal supersedes a proposal from 2014-05-19.

This proposal has been superseded by a proposal from 2014-06-13.

Description of the change

move to new dbus-session address handling in XDG_RUNTIME_DIR (needs https://code.launchpad.net/~ogra/ubuntu-touch-session/fix-dbus-location/+merge/220064)

To post a comment you must log in.
Revision history for this message
Oliver Grawert (ogra) wrote : Posted in a previous version of this proposal

needs also http://paste.ubuntu.com/7488802/ to land at the same time

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) wrote : Posted in a previous version of this proposal

I think that we still need to report the recoverable error here as it isn't entirely fixed:

https://errors.ubuntu.com/bucket/?id=DBusSessionAddressNotSet

review: Needs Fixing
Revision history for this message
Oliver Grawert (ogra) wrote : Posted in a previous version of this proposal

well, this isn't any kind of fix for that session bus address issue but in conjunction with the other branches and the pending dbus upload a fix for a critical bug leaving you with a completely unbootable phone if the homedir is 100% filled ... please see bug 1316978, i will open a HUD task for it...

Revision history for this message
Ted Gould (ted) wrote : Posted in a previous version of this proposal

On Mon, 2014-05-19 at 19:01 +0000, Oliver Grawert wrote:

> well, this isn't any kind of fix for that session bus address issue
> but in conjunction with the other branches and the pending dbus upload
> a fix for a critical bug leaving you with a completely unbootable
> phone if the homedir is 100% filled ... please see bug 1316978, i will
> open a HUD task for it...

Not expecting this to fix it, but you're removing the reporting of it
which is done in that pre-start script.

Revision history for this message
Oliver Grawert (ogra) wrote : Posted in a previous version of this proposal

erm, did you look at the current upstart job ? it is completely broken containing two identical pre-start script blocks, i am just remooving the duplication.

Revision history for this message
Ted Gould (ted) wrote : Posted in a previous version of this proposal

On Mon, 2014-05-19 at 21:15 +0000, Oliver Grawert wrote:

> erm, did you look at the current upstart job ? it is completely broken containing two identical pre-start script blocks, i am just remooving the duplication.

Uhg, sorry, no. Just looked at the diff. Not sure how that happened.

Revision history for this message
Ted Gould (ted) : Posted in a previous version of this proposal
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

392. By Oliver Grawert

fix duplicated pre-start script blocks in upstart jobs, make sure to use dbus-session address from new location

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/hud.conf.in'
2--- data/hud.conf.in 2013-11-27 14:28:43 +0000
3+++ data/hud.conf.in 2014-06-13 07:39:06 +0000
4@@ -1,16 +1,5 @@
5 description "Unity HUD"
6
7-pre-start script
8- if [ -z $DBUS_SESSION_BUS_ADDRESS ]; then
9- echo "Working around missing DBUS_SESSION_BUS_ADDRESS variable"
10- printf "DuplicateSignature\0DBusSessionAddressNotSet" | /usr/share/apport/recoverable_problem -p `pidof -s -o 1 init`
11- . "${HOME}/.cache/upstart/dbus-session"
12- initctl set-env "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
13- fi
14-end script
15-
16-# Currently started by the dbus service file
17-# start on dbus-activation com.canonical.hud
18 stop on desktop-end
19 start on started dbus and ((xsession SESSION=ubuntu-touch) or (xsession SESSION=ubuntu-touch-surfaceflinger) or (xsession SESSION=ubuntu))
20
21@@ -21,7 +10,7 @@
22 if [ -z $DBUS_SESSION_BUS_ADDRESS ]; then
23 echo "Working around missing DBUS_SESSION_BUS_ADDRESS variable"
24 printf "DuplicateSignature\0DBusSessionAddressNotSet" | /usr/share/apport/recoverable_problem -p `pidof -s -o 1 init`
25- . "${HOME}/.cache/upstart/dbus-session"
26+ . "$XDG_RUNTIME_DIR/dbus-session"
27 initctl set-env "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
28 fi
29 end script
30
31=== modified file 'data/window-stack-bridge.conf.in'
32--- data/window-stack-bridge.conf.in 2013-10-09 09:15:55 +0000
33+++ data/window-stack-bridge.conf.in 2014-06-13 07:39:06 +0000
34@@ -7,7 +7,7 @@
35 if [ -z $DBUS_SESSION_BUS_ADDRESS ]; then
36 echo "Working around missing DBUS_SESSION_BUS_ADDRESS variable"
37 printf "DuplicateSignature\0DBusSessionAddressNotSet" | /usr/share/apport/recoverable_problem -p `pidof -s -o 1 init`
38- . "${HOME}/.cache/upstart/dbus-session"
39+ . "$XDG_RUNTIME_DIR/dbus-session"
40 initctl set-env "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
41 fi
42 end script
43
44=== modified file 'debian/changelog'
45--- debian/changelog 2014-06-09 14:06:31 +0000
46+++ debian/changelog 2014-06-13 07:39:06 +0000
47@@ -1,3 +1,4 @@
48+<<<<<<< TREE
49 hud (13.10.1+14.10.20140609-0ubuntu1) utopic; urgency=low
50
51 [ Ubuntu daily release ]
52@@ -8,6 +9,15 @@
53
54 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 09 Jun 2014 14:06:31 +0000
55
56+=======
57+hud (13.10.1+14.04.20140519-0ubuntu1) UNRELEASED; urgency=medium
58+
59+ * fix duplicated pre-start blocks in upstart jobs
60+ * make sure we use dbus address from /run/user/$USER
61+
62+ -- Oliver Grawert <ogra@ubuntu.com> Mon, 19 May 2014 16:30:07 +0200
63+
64+>>>>>>> MERGE-SOURCE
65 hud (13.10.1+14.04.20140402-0ubuntu2) utopic; urgency=medium
66
67 * No-change rebuild for shlib changes in qtbase and qtdeclarative.

Subscribers

People subscribed via source and target branches