Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 505220

Summary: sys-apps/mlocate: index additional btrfs subvolumes
Product: Gentoo Linux Reporter: Andrei Slavoiu <ansla80>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: enhancement CC: base-system, trekie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=906591
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrei Slavoiu 2014-03-20 23:58:47 UTC
mlocate treats additional btrfs subvolumes as bind mounts so it will not index any other subvolume except for the first mounted.

Reproducible: Always




/usr/bin/updatedb --debug-pruning
conf_block:
prune_bind_mounts\000
1\000
\000
prunefs\000
AFS\000
ANON_INODEFS\000
AUTO\000
AUTOFS\000
BDEV\000
BINFMT\000
BINFMT_MISC\000
CGROUP\000
CIFS\000
CODA\000
CONFIGFS\000
CPUSET\000
CRAMFS\000
DEBUGFS\000
DEVFS\000
DEVPTS\000
DEVTMPS\000
ECRYPTFS\000
EVENTPOLLFS\000
EXOFS\000
FTPFS\000
FUSE\000
FUSECTL\000
FUTEXFS\000
GFS\000
GFS2\000
HOSTFS\000
HUGETLBFS\000
INOTIFYFS\000
ISO9660\000
JFFS2\000
LUSTRE\000
MISC\000
MQUEUE\000
NCPFS\000
NFS\000
NFS4\000
NFSD\000
NNPFS\000
OCFS\000
OCFS2\000
PIPEFS\000
PROC\000
RAMFS\000
RPC_PIPEFS\000
SECURITYFS\000
SELINUXFS\000
SFS\000
SHFS\000
SMBFS\000
SOCKFS\000
SPUFS\000
SSHFS\000
SUBFS\000
SUPERMOUNT\000
SYSFS\000
TMPFS\000
UBIFS\000
UDF\000
USBFS\000
VBOXSF\000
VPERFCTRFS\000
\000
prunenames\000
.git\000
.hg\000
.svn\000
CVS\000
\000
prunepaths\000
/tmp\000
/var/cache\000
/var/lock\000
/var/run\000
/var/spool\000
/var/tmp\000
\000

-----------------------
Rebuilding bind_mount_paths:
 `/' (14 on 0) is `/ROOT' of `/dev/sda3' (0:13), type `btrfs'
 `/dev' (15 on 14) is `/' of `devtmpfs' (0:4), type `devtmpfs'
 `/proc' (16 on 14) is `/' of `proc' (0:2), type `proc'
 `/run' (17 on 14) is `/' of `tmpfs' (0:16), type `tmpfs'
 `/dev/mqueue' (18 on 15) is `/' of `mqueue' (0:12), type `mqueue'
 `/dev/pts' (19 on 15) is `/' of `devpts' (0:10), type `devpts'
 `/dev/shm' (20 on 15) is `/' of `shm' (0:17), type `tmpfs'
 `/sys' (21 on 14) is `/' of `sysfs' (0:18), type `sysfs'
 `/sys/kernel/debug' (22 on 21) is `/' of `debugfs' (0:6), type `debugfs'
 `/sys/kernel/config' (23 on 21) is `/' of `configfs' (0:19), type `configfs'
 `/sys/fs/cgroup' (24 on 21) is `/' of `cgroup_root' (0:20), type `tmpfs'
 `/sys/firmware/efi/efivars' (25 on 21) is `/' of `efivarfs' (0:21), type `efivarfs'
 `/sys/fs/cgroup/openrc' (26 on 24) is `/' of `openrc' (0:22), type `cgroup'
 `/sys/fs/cgroup/cpuset' (27 on 24) is `/' of `cpuset' (0:23), type `cgroup'
 `/sys/fs/cgroup/cpu' (28 on 24) is `/' of `cpu' (0:24), type `cgroup'
 `/sys/fs/cgroup/cpuacct' (29 on 24) is `/' of `cpuacct' (0:25), type `cgroup'
 `/sys/fs/cgroup/freezer' (30 on 24) is `/' of `freezer' (0:26), type `cgroup'
 `/sys/fs/cgroup/blkio' (31 on 24) is `/' of `blkio' (0:27), type `cgroup'
 `/lib64/splash/cache' (32 on 14) is `/' of `cachedir' (0:28), type `tmpfs'
 `/home' (33 on 14) is `/HOME' of `/dev/sda3' (0:13), type `btrfs'
 `/boot/efi' (34 on 14) is `/' of `/dev/sda1' (8:1), type `vfat'
 `/tmp' (35 on 14) is `/' of `none' (0:31), type `tmpfs'
 `/var/tmp/portage' (36 on 14) is `/' of `none' (0:32), type `tmpfs'
 `/proc/sys/fs/binfmt_misc' (37 on 16) is `/' of `binfmt_misc' (0:33), type `binfmt_misc'
 `/sys/fs/cgroup/portage' (39 on 24) is `/' of `tmpfs' (0:35), type `cgroup'
Matching bind_mount_paths:
 => adding `/home'
...done
Checking whether filesystem `/boot/efi' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
 `/dev/pts', type `devpts'
 => type matches, dir `/dev/pts'
 `/dev/shm', type `tmpfs'
 => type matches, dir `/dev/shm'
 `/sys', type `sysfs'
 => type matches, dir `/sys'
 `/sys/kernel/debug', type `debugfs'
 => type matches, dir `/sys/kernel/debug'
 `/sys/kernel/config', type `configfs'
 => type matches, dir `/sys/kernel/config'
 `/sys/fs/cgroup', type `tmpfs'
 => type matches, dir `/sys/fs/cgroup'
 `/sys/firmware/efi/efivars', type `efivarfs'
 `/sys/fs/cgroup/openrc', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/openrc'
 `/sys/fs/cgroup/cpuset', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpuset'
 `/sys/fs/cgroup/cpu', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpu'
 `/sys/fs/cgroup/cpuacct', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpuacct'
 `/sys/fs/cgroup/freezer', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/freezer'
 `/sys/fs/cgroup/blkio', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/blkio'
 `/lib64/splash/cache', type `tmpfs'
 => type matches, dir `/lib64/splash/cache'
 `/home', type `btrfs'
 `/boot/efi', type `vfat'
 `/tmp', type `tmpfs'
 => type matches, dir `/tmp'
 `/var/tmp/portage', type `tmpfs'
 => type matches, dir `/var/tmp/portage'
 `/proc/sys/fs/binfmt_misc', type `binfmt_misc'
 => type matches, dir `/proc/sys/fs/binfmt_misc'
 `/sys/fs/cgroup/portage', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/portage'
...done
Checking whether filesystem `/dev' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
 `/dev/pts', type `devpts'
 => type matches, dir `/dev/pts'
 `/dev/shm', type `tmpfs'
 => type matches, dir `/dev/shm'
 `/sys', type `sysfs'
 => type matches, dir `/sys'
 `/sys/kernel/debug', type `debugfs'
 => type matches, dir `/sys/kernel/debug'
 `/sys/kernel/config', type `configfs'
 => type matches, dir `/sys/kernel/config'
 `/sys/fs/cgroup', type `tmpfs'
 => type matches, dir `/sys/fs/cgroup'
 `/sys/firmware/efi/efivars', type `efivarfs'
 `/sys/fs/cgroup/openrc', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/openrc'
 `/sys/fs/cgroup/cpuset', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpuset'
 `/sys/fs/cgroup/cpu', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpu'
 `/sys/fs/cgroup/cpuacct', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpuacct'
 `/sys/fs/cgroup/freezer', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/freezer'
 `/sys/fs/cgroup/blkio', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/blkio'
 `/lib64/splash/cache', type `tmpfs'
 => type matches, dir `/lib64/splash/cache'
 `/home', type `btrfs'
 `/boot/efi', type `vfat'
 `/tmp', type `tmpfs'
 => type matches, dir `/tmp'
 `/var/tmp/portage', type `tmpfs'
 => type matches, dir `/var/tmp/portage'
 `/proc/sys/fs/binfmt_misc', type `binfmt_misc'
 => type matches, dir `/proc/sys/fs/binfmt_misc'
 `/sys/fs/cgroup/portage', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/portage'
...done
Checking whether filesystem `/dev/mqueue' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
...done
Skipping `/dev/mqueue': in prunefs
Checking whether filesystem `/dev/pts' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
 `/dev/pts', type `devpts'
 => type matches, dir `/dev/pts'
...done
Skipping `/dev/pts': in prunefs
Checking whether filesystem `/dev/shm' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
 `/dev/pts', type `devpts'
 => type matches, dir `/dev/pts'
 `/dev/shm', type `tmpfs'
 => type matches, dir `/dev/shm'
...done
Skipping `/dev/shm': in prunefs
Skipping `/home': bind mount
Checking whether filesystem `/lib64/splash/cache' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
 `/dev/pts', type `devpts'
 => type matches, dir `/dev/pts'
 `/dev/shm', type `tmpfs'
 => type matches, dir `/dev/shm'
 `/sys', type `sysfs'
 => type matches, dir `/sys'
 `/sys/kernel/debug', type `debugfs'
 => type matches, dir `/sys/kernel/debug'
 `/sys/kernel/config', type `configfs'
 => type matches, dir `/sys/kernel/config'
 `/sys/fs/cgroup', type `tmpfs'
 => type matches, dir `/sys/fs/cgroup'
 `/sys/firmware/efi/efivars', type `efivarfs'
 `/sys/fs/cgroup/openrc', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/openrc'
 `/sys/fs/cgroup/cpuset', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpuset'
 `/sys/fs/cgroup/cpu', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpu'
 `/sys/fs/cgroup/cpuacct', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/cpuacct'
 `/sys/fs/cgroup/freezer', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/freezer'
 `/sys/fs/cgroup/blkio', type `cgroup'
 => type matches, dir `/sys/fs/cgroup/blkio'
 `/lib64/splash/cache', type `tmpfs'
 => type matches, dir `/lib64/splash/cache'
...done
Skipping `/lib64/splash/cache': in prunefs
Checking whether filesystem `/proc' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
...done
Skipping `/proc': in prunefs
Checking whether filesystem `/run' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
...done
Skipping `/run': in prunefs
Checking whether filesystem `/sys' is excluded:
 `/', type `rootfs'
 `/', type `btrfs'
 `/dev', type `devtmpfs'
 `/proc', type `proc'
 => type matches, dir `/proc'
 `/run', type `tmpfs'
 => type matches, dir `/run'
 `/dev/mqueue', type `mqueue'
 => type matches, dir `/dev/mqueue'
 `/dev/pts', type `devpts'
 => type matches, dir `/dev/pts'
 `/dev/shm', type `tmpfs'
 => type matches, dir `/dev/shm'
 `/sys', type `sysfs'
 => type matches, dir `/sys'
...done
Skipping `/sys': in prunefs
Skipping `/tmp': in prunepaths
Skipping `/var/cache': in prunepaths
Skipping `/var/lib/layman/gamerlay/.git': in prunenames
Skipping `/var/spool': in prunepaths
Skipping `/var/tmp': in prunepaths