Bug ID | 994663 |
---|---|
Summary | mlocate is confused by btrfs subvols and doesn't descend into all mount points |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.1 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | psychonaut@nothingisreal.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The updatedb indexer of the mlocate package seems to be confused by btrfs subvolumes. It refuses to descend into them and to index them. When installing openSUSE, the partitioner defaults / to btrfs, and creates a number of subvolumes for /opt, /usr/local, and so on. As far as I can tell, none of these directories get indexed by updatedb. Running updatedb with the --debug-pruning option shows that they are treated as bind paths which (according to the default settings in /etc/updatedb.conf) are pruned: # updatedb --debug-pruning ... Skipping `/opt': bind mount Skipping `/usr/local': bind mount ... This is almost certainly not what the user wants (and is not what happens with any other filesystem, AFAIK). A temporary workaround is to disable pruning bind mounts in /etc/updatedb.conf, though the problem really needs to be fixed in mlocate itself I think. See also this Debian report for the same issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746943