Bug #7451
closedupdatedb will index /var/lib/ceph
0%
Description
See http://git.openvz.org/?p=vzctl;a=commitdiff;h=47334979b9b5340f84d84639b2d77a8a1f0bb7cf for one example of a package that add itself to the prune list.
I'm not sure the init script is the place to do it.. maybe the package postinst?
Updated by Dietmar Maurer about 10 years ago
Sage Weil wrote:
I'm not sure the init script is the place to do it.. maybe the package postinst?
postinst is not good enough, because a later update of package 'mlocate' can overwrite the setting.
Updated by Ken Dreyer about 10 years ago
This should also be reported to mlocate upstream (at Fedora) and to Red Hat for RHEL 7.
Here's the upstream updatedb.conf: http://pkgs.fedoraproject.org/cgit/mlocate.git/tree/updatedb.conf
To confirm, is "ceph" the proper filesystem type (from getmntent(3)->mnt_type ?)
EDIT: er, maybe we would need to simply exclude all /var/lib/ceph and not rely on mnt_type.
Updated by Loïc Dachary about 9 years ago
- Backport changed from dumpling, emperor to hammer, firefly
schedule backport to LTS
Updated by Ken Dreyer almost 9 years ago
- Assignee set to Ken Dreyer
- Regression set to No
Updated by Ken Dreyer almost 9 years ago
As background info:
The original thread:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-February/037446.html
More discussion on ceph-devel:
http://www.spinics.net/lists/ceph-devel/msg18098.html
Filed at Fedora: https://bugzilla.redhat.com/1223582
Filed at Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1281074
Updated by Ken Dreyer almost 9 years ago
- Status changed from 12 to 15
- Backport deleted (
hammer, firefly)