Bug 32345 - updatedb seems to hang when run on machine with 2.6.x kernel
Bug#: 32345 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: x86-kernel@gentoo.org Reported By: jforman@gentoo.org
Component: Core system
URL: 
Summary: updatedb seems to hang when run on machine with 2.6.x kernel
Keywords:  
Status Whiteboard: 
Opened: 2003-10-30 15:07 0000
Description:   Opened: 2003-10-30 15:07 0000
running updatedb on my machine with a 2.6.0-test8-mm1 kernel, seems to hang.
when ran as 'updatedb -v' for verbosity, it hangs while parsing the /sys
directory, a new 2.6 function, and just sits there.

Reproducible: Always
Steps to Reproduce:
1. updatedb 
2. updatedb -v
3.




to fix this, edit your /etc/updatedb.conf file and add 'sysfs' to the PRUNEFS
variable and run updatedb as usual. 

jforman@tribeca jforman $ emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test8-mm1)
=================================================================
System uname: 2.6.0-test8-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.oregonstate.edu/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline tetex bonobo svga java guile sdl gpm tcpd pam libwww ssl
perl python esd imlib oggvorbis gtk motif opengl mozilla gphoto2 ldap cdr X alsa
cups -gnome qt -kde pda -arts ipv6 gtk2 -mysql"

------- Comment #1 From Brian Jackson (RETIRED) 2003-10-31 13:18:57 0000 -------
fixed in cvs, thanks for the heads up