below a a fixed version:

--- snip ---

# Currently started by the dbus service file
# start on dbus-activation com.canonical.hud

description "Unity HUD"

start on started dbus and ((xsession SESSION=ubuntu-touch) or (xsession 
SESSION=ubuntu-touch-surfaceflinger) or (xsession SESSION=ubuntu))
stop on desktop-end

env HUD_SERVICE_TIMEOUT=0
export HUD_SERVICE_TIMEOUT

pre-start script
        if [ -z $DBUS_SESSION_BUS_ADDRESS ]; then
                echo "Working around missing DBUS_SESSION_BUS_ADDRESS variable"
                printf "DuplicateSignature\0DBusSessionAddressNotSet" | 
/usr/share/apport/recoverable_problem -p `pidof -s -o 1 init`
                . "${HOME}/.cache/upstart/dbus-session"
                initctl set-env 
"DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
        fi
end script

exec /usr/lib/arm-linux-gnueabihf/hud/hud-service

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to hud in Ubuntu.
https://bugs.launchpad.net/bugs/1299806

Title:
  the hud package ships a messed up upstart session job

Status in “hud” package in Ubuntu:
  New

Bug description:
  going through the session upstart jobs on image 268 i found that the
  hud.conf upstart session job carries its pre-start script twice and
  generally looks a bit disordered (paste error or some such ?)

  http://paste.ubuntu.com/7179957/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hud/+bug/1299806/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to