On 02/18/2014 05:47 PM, Sage Weil wrote:
Dan at CERN noticed that his performance was tanking because updatedb was
running against /var/lib/ceph. updatedb has a PRUNE line in
/etc/updatedb.conf that we should presumably be adding ourselves to. One
user pointed out a package that uses sed to rewrite this line in the init
script on start.
I have two questions:
- is there no better way than sed to add ourselves to this list?
- should we do it in the init script, or postinst, or both?
Well, I don't have a clue. postinst seems very dirty to me. It's a
bummer that updatedb doesn't support a .d directory for configuration.
Presumably this is a problem others have solved with other packages.
http://tracker.ceph.com/issues/7451
Not completely the same, but I filed something similar at Ubuntu
yesterday: https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1281074
It's to prevent Ceph clients from indexing CephFS or Ceph Fuse.
Hopefully that makes it into 14.04.
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Wido den Hollander
42on B.V.
Phone: +31 (0)20 700 9902
Skype: contact42on
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html