can't create emulator instance on vivid

Bug #1412261 reported by Dimitri John Ledkov
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
goget-ubuntu-touch (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ sudo ubuntu-emulator create --arch armhf --channel ubuntu-touch/devel-proposed --revision 68 vivid2
Creating "vivid2" from ubuntu-touch/devel-proposed revision 68
Downloading...
3.61 MB / 3.61 MB [========================================] 100.00 % 3.74 MB/s
31.62 MB / 31.62 MB [======================================] 100.00 % 3.49 MB/s
323.62 MB / 323.62 MB [====================================] 100.00 % 9.46 MB/s
Setting up...
Setting up a default password for phablet to: '0000'
Can't create tempfile to create emulator instance

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in goget-ubuntu-touch (Ubuntu):
status: New → Confirmed
Revision history for this message
Rex Tsai (chihchun) wrote :

verified the issue, it failed if the user did not assign default password

sudo ubuntu-emulator create --arch armhf --channel ubuntu-touch/devel-proposed vivid-armhf
Creating "vivid-armhf" from ubuntu-touch/devel-proposed revision 164
Downloading...
Setting up...
Setting up a default password for phablet to: ''
No password supplied
No password supplied
No password supplied
chpasswd: (user phablet) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user phablet) password not changed

sudo ubuntu-emulator create --arch armhf --channel ubuntu-touch/devel-proposed --password=1234 vivid-armhf
Creating "vivid-armhf" from ubuntu-touch/devel-proposed revision 164
Downloading...
Setting up...
Setting up a default password for phablet to: '1234'
Creating snapshots for disks...
Succesfully created emulator instance vivid-armhf in /home/chihchun/.local/share/ubuntu-emulator/vivid-armhf

$ dpkg-query -W ubuntu-emulator
ubuntu-emulator 0.19-0~142~ubuntu14.04.1

Revision history for this message
Ferry Toth (ftoth) wrote :

Nope, not in my case. Without default pw it tries to create '0000', with --password=1234 it tries to create '1234'.

And then fails in the same way as the reporter copied in:
ferry@chromium:~$ sudo ubuntu-emulator create --arch=i386 --password=1234 myinstance
Creating "myinstance" from ubuntu-touch/devel revision 2
Downloading...
Setting up...
Setting up a default password for phablet to: '1234'
Can't create tempfile to create emulator instance

ferry@chromium:~$ dpkg-query -W ubuntu-emulator
ubuntu-emulator 0.20-0ubuntu1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.