Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99631 - sys-apps/slocate should ignore more nodev filesystems
Summary: sys-apps/slocate should ignore more nodev filesystems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 01:02 UTC by Robin Johnson
Modified: 2005-07-20 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-20 01:02:30 UTC
updatedb.conf needs a few more entries for it's PRUNEFS:
eventpollfs
futexfs
hugetlbfs
mqueue
nfsd
pipefs 
rpc_pipefs
sockfs
vperfctrfs

These are all nodev filesystems used for interaction with kernel-level 
implementations of various features.

hugetlbfs esp. should be removed, as reads/writes to files on that filesystem 
are NOT valid operations.
Comment 1 SpanKY gentoo-dev 2005-07-20 18:06:42 UTC
most of those arent a problem because they're mounted under /proc which is pruned

at any rate, added them all to updatedb.conf
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-20 19:40:57 UTC
thanks. Just trimming /proc isn't really sufficent to catch them, as there's 
actually no reason they can't be mounted somewhere else. eg, I have hugetlbfs 
on /mnt/hugetlbfs