Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35571 - The default updatedb.conf should include supermount as one of the pruned filesystems
Summary: The default updatedb.conf should include supermount as one of the pruned file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 21:04 UTC by Tommy Li
Modified: 2004-01-06 08:17 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 Tommy Li 2003-12-10 21:04:33 UTC
Supermount is not included in the default updatedb.conf filesystems. Supermount is commonly used and convienient - it is also for removeable media, which shouldn't be indexed anyway.

If it isn't pruned, a "locate -u" will try and index those mounts, which will lead to slocate hanging. Control-C doesn't end it. Only multiple "killall -9 locate" commands will end the process.

Reproducible: Always
Steps to Reproduce:
1. Have a supermount type mount mounted.
2. Type "locate -u" as root.
3.

Actual Results:  
Locate hangs. Must be killed from a different console with repeated "killall -9
locate" commands.

Expected Results:  
The default configuration should be to include supermount as one of the pruned
filesystems.

Slocate should not hang on supermount filesystems.

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r1)
=================================================================
System uname: 2.4.22-gentoo-r1 i686 AMD Athlon(tm) XP  2400+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/
http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo
rsync://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/
http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
rsync://cudlug.cudenver.edu/gentoo http://gentoo.ccccom.com
ftp://gentoo.ccccom.com http://oss.redundant.com/pub/gentoo
ftp://oss.redundant.com/pub/gentoo http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo rsync://mirrors.tds.net/gentoo
http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://mirror.tucdemonic.org/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/ http://128.213.5.34/gentoo/
http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/source
rsync://lug.mtu.edu/distfiles"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome
gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses
nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl
slang spell ssl svga tcpd truetype x86 xft xml2 xmms xv zlib"
Comment 1 Tommy Li 2003-12-10 21:06:21 UTC
Err - the first sentence of the description should be changed to:

Supermount is not included in the list of pruned filesystems in update.conf
Comment 2 Tommy Li 2003-12-12 20:55:19 UTC
The "locate -u" command still seems to hang, while an "updatedb" command works well. The problem may be something else...
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-01-06 08:17:11 UTC
All set in slocate-2.7-r4, thanks for the bug report!