[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#810862: autopkgtest: vmdebootstrap with setup-commands/setup-testbed fails in Vagrant VM

Package: autopkgtest
Version: 3.19.1
Severity: normal

Dear Maintainer,

I am trying to set up a testbed for adt-virt-qemu using the approach outlined
in the adt-virt-qemu man page:

$ sudo vmdebootstrap --verbose --serial-console --distribution=sid \
  --customize=/usr/share/autopkgtest/setup-commands/setup-testbed \
  --user=adt/adt --size=10000000000 --grub --image=adt-sid.raw
Creating disk image
Creating partitions
Installing MBR
Creating filesystem ext4
Mounting /dev/mapper/loop0p1 on /tmp/tmpz8dPDu
Debootstrapping sid [amd64]
Give root an empty password
Removing udev persistent cd and net rules
Setting up networking
Running customize script /usr/share/autopkgtest/setup-commands/setup-testbed
EEEK! Something bad happened...
[Errno 13] Permission denied
Cleaning up
ERROR: Permission denied

I am running Debian testing in a Vagrant VM using VirtualBox.
Is there any way to pass through the output from the vmdebootstrap customize
script? In that case I could set -v in setup-testbed to find the offending


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autopkgtest depends on:
ii  apt-utils       1.1.10
ii  libdpkg-perl    1.18.4
ii  procps          2:3.3.11-3
ii  python3         3.4.3-7
ii  python3-debian  0.1.27

Versions of packages autopkgtest recommends:
ii  autodep8  0.3

Versions of packages autopkgtest suggests:
pn  lxc          <none>
pn  lxd-client   <none>
ii  qemu-system  1:2.5+dfsg-1
ii  qemu-utils   1:2.5+dfsg-1
ii  schroot      1.6.10-2

-- no debconf information

Reply to: