Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1234385

Summary: Exclude /srv/node from updatedb.conf to ignore Swift storage
Product: Red Hat Enterprise Linux 7 Reporter: Christian Schwede (cschwede) <cschwede>
Component: mlocateAssignee: Frantisek Kluknavsky <fkluknav>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: amarts, bugs, cschwede, derekh, fharshav, msekleta, nkinder, pavan, rmeggins, sac, scohen, vijay, vraman, yeylon, zaitcev
Target Milestone: pre-dev-freeze   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: GLUSTER-538 Environment:
Last Closed: 2016-02-03 13:36:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Schwede (cschwede) 2015-06-22 12:57:51 UTC
By default the periodic updatedb process also incluses Swift storage files, and this affects performance quite a bit. It's likely that this is not required, thus excluding the default path /srv/node from the updatedb process is probably a good idea.

In /etc/updatedb.conf:

PRUNEPATHS="... /tmp ... /var/spool ... /srv/node"

Submitted upstream doc change: https://review.openstack.org/194126 

A note to the manual setup guide (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/6/html/Deploying_OpenStack_Learning_Environments/index.html) should be added as well.

Comment 3 Pete Zaitcev 2015-12-01 03:44:39 UTC
Let's have mlocate maintainer to consider this request.

BTW, the names look sorted, so /srv/node goes between /sfc and /tmp.

Comment 4 Frantisek Kluknavsky 2015-12-08 15:59:24 UTC
This seems to me as something admin should deliberately configure, not a default. /srv/node is not necessarily Swift. A lot of things can be under /srv/node. Especially with the popularity of node.js, people might really want /srv/node indexed. The world is bigger than just OpenStack.

As an operating system distribution, RHEL is not supposed to impose structure on /srv.

(after consultation with msekleta): A setup where you want *some* nodes indexed is also imaginable. /srv/node seems to be too general.

Close notabug?