Package: vmdebootstrap
Version: 1.11-1
Severity: important

Dear Maintainer,

I am trying to run vmdebootstrap, but I am getting the error below:

-----
$ sudo vmdebootstrap --verbose --image=${IMG} --size=5g --distribution=sid 
--grub --enable-dhcp --package=openssh-server --owner=$USER
Creating disk image
Creating partitions
Creating filesystem ext4
Mounting /dev/mapper/loop1p1 on /tmp/tmpyf1aME
Debootstrapping sid [amd64]
Give root an empty password
Removing udev persistent cd and net rules
Enabling systemd-networkd for DHCP
Enabling systemctl-resolved for DNS
Updating the initramfs
Configuring grub2
Optimizing image for compression
Umounting /tmp/tmpyf1aME
EEEK! Something bad happened...
command failed: ['umount', '/tmp/tmpyf1aME']

umount: /tmp/tmpyf1aME: target is busy.

Cleaning up
ERROR: /tmp/tmpyf1aME/etc/machine-id: Device or resource busy
-----

Also the versions the package reports seems to diverge the version
reported by the binary:

# /usr/sbin/vmdebootstrap --version
1.6

$ dpkg -s vmdebootstrap
Package: vmdebootstrap
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 353
Maintainer: Lars Wirzenius <l...@liw.fi>
Architecture: amd64
Version: 1.11-1
...

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages vmdebootstrap depends on:
ii  debootstrap         1.0.99
ii  kpartx              0.7.4-3
ii  libjs-sphinxdoc     1.7.4-1
ii  parted              3.2-21+b1
ii  python              2.7.15~rc1-1
ii  python-cliapp       1.20170827-1
ii  python-distro-info  0.18
ii  python2.7           2.7.15-1
ii  qemu-utils          1:2.12+dfsg-1+b1

Versions of packages vmdebootstrap recommends:
ii  dosfstools        4.1-2
ii  extlinux          3:6.03+dfsg1-2
ii  grub2-common      2.02+dfsg1-4
ii  python-guestfs    1:1.38.1-1
ii  qemu-system       1:2.12+dfsg-1+b1
ii  qemu-user-static  1:2.12+dfsg-1+b1
ii  squashfs-tools    1:4.3-6

Versions of packages vmdebootstrap suggests:
pn  cmdtest  <none>
pn  mbr      <none>
ii  pandoc   2.2-1
pn  u-boot   <none>

-- no debconf information

Reply via email to