~phablet-team/ubuntu-touch-session/trunk

Viewing all changes in revision 294.

  • Committer: Bileto Bot
  • Author(s): Alexandros Frantzis
  • Date: 2016-11-17 15:41:06 UTC
  • mfrom: (293.1.1 ubuntu-touch-session)
  • Revision ID: ci-train-bot@canonical.com-20161117154106-i1xciw132s3347qk
Fix potential upstart job race between lightdm and keep-display-on-during-boot (LP: #1642360)

If lightdm happens to start before keep-display-on-during-boot, then keep-display-on-during-boot will never receive the "started lightdm" event, and will therefore never release the display-on lock.

This MP ensures that the keep-display-on-during-boot job does not acquire a display-on lock if lightdm is already running, thus avoiding the scenario described above. (LP: #1642360)

Approved by: Pat McGowan, Łukasz Zemczak

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: