[Bug 1318681] [NEW] lightdm not started when running the ubuntu-touch x86 emulator

Ricardo Salveti rsalveti at rsalveti.net
Mon May 12 14:21:59 UTC 2014


Public bug reported:

How to reproduce:
sudo ubuntu-emulator create --channel=ubuntu-touch/utopic-proposed --use-raw-disk --arch=i386 --revision=22 test_x86 
ubuntu-emulator run test_x86 --memory=720

>From time to time upstart doesn't start lightdm, leaving the emulator
window with just a black screen.

Here is the lightdm.override file:
root at ubuntu-phablet:~# cat /etc/init/lightdm.override 
limit nice 40 40
oom score -10

# lightdm job normally waits for plymouth-ready, but since we disable plymouth,
# we remove that condition from lightdm's start stanza
start on ((filesystem
           and runlevel [!06]
           and started dbus
           and android)
          or runlevel PREVLEVEL=S)

And the full boot log with --debug: http://paste.ubuntu.com/7452481/

You can see from the logs that all required events were sent to upstart,
but for some reason the job wasn't started. Other jobs depending on the
same set of events (just not all together) all started just fine .

Can't reproduce this bug after removing the 'runlevel [!06]' line.

** Affects: ubuntu-touch-session (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1318681

Title:
  lightdm not started when running the ubuntu-touch x86 emulator

Status in “ubuntu-touch-session” package in Ubuntu:
  New
Status in “upstart” package in Ubuntu:
  New

Bug description:
  How to reproduce:
  sudo ubuntu-emulator create --channel=ubuntu-touch/utopic-proposed --use-raw-disk --arch=i386 --revision=22 test_x86 
  ubuntu-emulator run test_x86 --memory=720

  From time to time upstart doesn't start lightdm, leaving the emulator
  window with just a black screen.

  Here is the lightdm.override file:
  root at ubuntu-phablet:~# cat /etc/init/lightdm.override 
  limit nice 40 40
  oom score -10

  # lightdm job normally waits for plymouth-ready, but since we disable plymouth,
  # we remove that condition from lightdm's start stanza
  start on ((filesystem
             and runlevel [!06]
             and started dbus
             and android)
            or runlevel PREVLEVEL=S)

  And the full boot log with --debug: http://paste.ubuntu.com/7452481/

  You can see from the logs that all required events were sent to
  upstart, but for some reason the job wasn't started. Other jobs
  depending on the same set of events (just not all together) all
  started just fine .

  Can't reproduce this bug after removing the 'runlevel [!06]' line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-session/+bug/1318681/+subscriptions



More information about the foundations-bugs mailing list