This actually smells something with systemd, as I just noticed that the
original issue is that the mount point gets unmounted right after it
gets mounted by ubuntu-emulator.

rsalveti@evasys:/tmp/sergio$ sudo ubuntu-emulator create 
--channel=ubuntu-touch/vivid-proposed test_x86 --use-raw-disk
Creating "test_x86" from ubuntu-touch/vivid-proposed revision 138
Downloading...
Setting up...
Mount: calling: mount 
/home/rsalveti/.local/share/ubuntu-emulator/test_x86/ubuntu-system.img 
/tmp/ubuntu-system364514705

And from syslog:
Mar 16 19:17:06 evasys systemd[2918]: Unit tmp-ubuntu\x2dsystem364514705.mount 
is bound to inactive unit. Stopping, too.
Mar 16 19:17:06 evasys systemd[1]: Unit tmp-ubuntu\x2dsystem364514705.mount is 
bound to inactive unit. Stopping, too.
Mar 16 19:17:06 evasys systemd[1]: Unmounting /tmp/ubuntu-system364514705...
Mar 16 19:17:06 evasys systemd[2918]: Unmounting /tmp/ubuntu-system364514705...
Mar 16 19:17:06 evasys kernel: [55815.378380] EXT4-fs (loop0): mounted 
filesystem with ordered data mode. Opts: (null)
Mar 16 19:17:06 evasys systemd[1]: Requested transaction contradicts existing 
jobs: Resource deadlock avoided
Mar 16 19:17:06 evasys umount[27719]: umount: /tmp/ubuntu-system364514705: not 
mounted
Mar 16 19:17:06 evasys systemd[2918]: tmp-ubuntu\x2dsystem364514705.mount mount 
process exited, code=exited status=1
Mar 16 19:17:06 evasys systemd[2918]: Unmounted /tmp/ubuntu-system364514705.
Mar 16 19:17:06 evasys systemd[2918]: Unit tmp-ubuntu\x2dsystem364514705.mount 
entered failed state.
Mar 16 19:17:06 evasys systemd[1]: Unmounted /tmp/ubuntu-system364514705.

Same happens when I try to manually mount the system image. And which is
interesting because mount actually works fine, not giving any error, but
then systemd just unmount it right away.

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

Title:
  ubuntu-emulator create fails for devel-proposed: Failed to unmount
  temp dir where system image was created

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to