Package: sbuild
Version: 0.77.0-3
Severity: normal

Hi,

while following https://www.eyrie.org/~eagle/notes/debian/sbuild.html to
create a sbuild setup using btrfs, the sbuild creation on a btrfs
subvolume fails:

sbuild-createchroot --arch=amd64 --include=debhelper,eatmydata \
    --components=main,contrib,non-free sid \
    /var/lib/schroot.sbuild/sid-amd64-sbuild \
    http://localhost:3142/debian
/var/lib/schroot.sbuild/sid-amd64-sbuild is not empty at 
/usr/bin/sbuild-createchroot line 278.

Of course, the subvolume was just created, and it is empty. However, you
can't rmdir the directory of a btrfs subvolume, so the check fails for
the wrong reason.

I believe this is due to the fix of #888710.

Maybe checking if this is a mountpoint / btrfs subvolume first ?

Cheers,

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

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

Versions of packages sbuild depends on:
ii  adduser         3.117
ii  libsbuild-perl  0.77.0-3
ii  perl            5.26.2-6

Versions of packages sbuild recommends:
ii  autopkgtest  5.4.1
ii  debootstrap  1.0.106
ii  schroot      1.6.10-5

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  kmod       25-1
ii  wget       1.19.5-1

-- no debconf information

Reply via email to