[Bug 1266811] Re: --unbuilt-tree fails with adt-virt-lxc if the tree has 700 permissions
Launchpad Bug Tracker
1266811 at bugs.launchpad.net
Wed Jan 29 10:21:45 UTC 2014
** Branch linked: lp:debian/autopkgtest
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1266811
Title:
--unbuilt-tree fails with adt-virt-lxc if the tree has 700 permissions
Status in “autopkgtest” package in Ubuntu:
Fix Committed
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1266811/+subscriptions
More information about the foundations-bugs
mailing list