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

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 28 09:47:31 UTC 2014


I cannot reproduce this with either autopkgtest 2.5.5 nor the current
2.6. The only difference is that I ran adt-run as root, as it doesn't
really work as user (it tries to use per-user containers in trusty, and
in saucy it wasn't supported at all). But I suppose that was the crucial
difference? I also ran it with apache2 2.4.7-1ubuntu1, but that should
hardly matter.

In your bug description you were quite meticulous in putting your exact
commands including the sudos, and you did not use it for adt-run. Can
you please confirm that you still see the bug with autopkgtest 2.6, and
that you can still reproduce this with "sudo adt-run"?

If this only happens with lxc user mode, then I need to look into
setting this up.

Thanks!

** Changed in: autopkgtest (Ubuntu)
       Status: New => Incomplete

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

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