Package: btrfs-progs
Version: 4.16.1-2
Severity: normal

btrfs-progs 4.16.1 introduced a regression in btrfs send.  After
creating a snapshot of / in /var/backups, I've sent an incremental
stream to a filesystem mounted on /backups:

% btrfs subvolume snapshot -r / /var/backups/weekly-20180517T123915Z
Create a readonly snapshot of '/' in '/var/backups/weekly-20180517T123915Z'

% btrfs send -p /var/backups/monthly /var/backups/weekly-20180517T123915Z | 
btrfs receive /backups
ERROR: not on mount point: /
ERROR: empty stream is not considered valid

In the pipeline above, btrfs send always fails with "ERROR: not on mount
point: /".

The problem seems to be related to bug
https://github.com/kdave/btrfs-progs/issues/96

Pull request https://github.com/kdave/btrfs-progs/pull/138 should fix
this regression.

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

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

Versions of packages btrfs-progs depends on:
ii  libblkid1  2.32-0.1
ii  libc6      2.27-3
ii  liblzo2-2  2.10-0.1
ii  libuuid1   2.32-0.1
ii  zlib1g     1:1.2.11.dfsg-1

btrfs-progs recommends no packages.

Versions of packages btrfs-progs suggests:
pn  duperemove  <none>

-- no debconf information

Reply via email to