The post rm script calls `nuke-graph-directory.sh` which relies on these
predicates to identify btrfs subvolumes:

if command -v btrfs > /dev/null 2>&1; then
        # Find btrfs subvolumes under $dir checking for inode 256
        # Source: http://stackoverflow.com/a/32865333
        for subvol in $(find "$dir" -type d -inum 256 | sort -r)

Which on my system (not using btrfs) returns many directories.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814149

Title:
  docker.io post-removal script fails to delete btrfs subvolume, when
  /var/lib/docker is on an ext4 filesystem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1814149/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to