I’m not sure whether this is LXC specific, or whether this is some specific VM setting I should have configured differently. From var/build.log
:
0[sudo] password for ubuntu: Sorry, try again.
1[sudo] password for ubuntu:
2sudo: 1 incorrect password attempt
This is due to the following, introduced in #8188
0echo "ubuntu" | sudo -S true
1sudo mkdir -p /usr/include/i386-linux-gnu/
2sudo ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/i386-linux-gnu/asm
I don’t think gitian base image setup ever gave me the chance to configure a password. Looking at /etc/shadow
confirms this, there isn’t one:
0ubuntu:x:1000:1000:ubuntu,,,:/home/ubuntu:/bin/bash
I think we need to find an alternative solution to this.
Possibly a change to gitian descriptors: a preparation script that is executed as root? This works fine:
0LXC_ARCH=amd64 LXC_SUITE=trusty libexec/on-target -u root
1root@gitian:~#