updatedb will index /var/lib/ceph
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?
#2 Updated by Ken Dreyer over 5 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.
#6 Updated by Ken Dreyer about 4 years ago
As background info:
The original thread:
More discussion on ceph-devel:
Filed at Fedora: https://bugzilla.redhat.com/1223582
Filed at Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1281074