Further investigation revealed that I was unable to reproduce again as I originally reported. My problem was that my unbuilt tree had 700 permissions, which I had not realised. I have amended the description accordingly.
** Summary changed: - --unbuilt-tree fails with adt-virt-lxc + --unbuilt-tree fails with adt-virt-lxc if the tree has 700 permissions ** Description changed: Steps to reproduce: sudo apt-get install autopkgtest lxc ubuntu-dev-tools sudo lxc-create -t ubuntu-cloud -n trusty -- -r trusty -s daily sudo chmod 755 /var/lib/lxc # workaround for bug 1266809 pull-lp-source apache2 2.4.6-2ubuntu4 + chmod 700 2.4.6-2ubuntu4 adt-run --gain-root=sudo --unbuilt-tree apache2-2.4.6 --- adt-virt-lxc --ephemeral trusty Expected results: successful test. Actual results: cp: cannot open ‘/tmp/adt-downtmp/ubtree0-ubtree/./debian/changelog’ for reading: Permission denied Debug output here: http://paste.ubuntu.com/6709295/ It looks like the unbuilt tree is owned by root, and the user ubuntu cannot read it. I think this is a regression. Present in: autopkgtest 2.5.5 Workaround: build a source package from the unbuilt tree manually, and then give adt-run a .dsc instead. ** Changed in: autopkgtest (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266811 Title: --unbuilt-tree fails with adt-virt-lxc if the tree has 700 permissions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1266811/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
