[Bug 1266811] [NEW] --unbuilt-tree fails with adt-virt-lxc

Robie Basak 1266811 at bugs.launchpad.net
Tue Jan 7 15:17:30 UTC 2014


Public bug reported:

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
(cd apache-2.4.6 && quilt push -a)  # workaround for bug 1212208
adt-run --gain-root=sudo --unbuilt-tree apache-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.

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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

Status in “autopkgtest” package in Ubuntu:
  New

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
  (cd apache-2.4.6 && quilt push -a)  # workaround for bug 1212208
  adt-run --gain-root=sudo --unbuilt-tree apache-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