Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101817 - find / -name abc errors: find: /proc/26244/task: No such file or directory
Summary: find / -name abc errors: find: /proc/26244/task: No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ciaran McCreesh
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-08 19:02 UTC by Barry Trout
Modified: 2005-08-09 05:51 UTC (History)
1 user (show)

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 Barry Trout 2005-08-08 19:02:00 UTC
when using find cmd 
find / -name abc

following error
find: /proc/26244/task: No such file or directory

find /usr -name abc 
seems to act as expected


Reproducible: Always
Steps to Reproduce:
1. see above
2.
3.

Actual Results:  
see above

Expected Results:  
should find the file or nothing
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-08 20:31:34 UTC
Works fine here. Which version of findutils have you installed? Also, emerge
--info is missing.
Comment 2 Barry Trout 2005-08-08 21:43:28 UTC
using the lastest version
Latest version available: 4.1.20-r1
Latest version installed: 4.1.20-r1


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://prometheus.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/
http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.netnitco.net"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache apache2 apm arts avi berkdb bitmap-fonts cdr crypt css
cups db2 dbx dvd eds emboss encode fam fastcgi foomaticdb fortran gd gdbm gif
gpm gstreamer gtk2 imlib ipv6 java jpeg jpg ldap libg++ libwww mad mikmod motif
mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl php png
postgres ppds python quicktime readline ruby samba sdl session snmp spell ssl
tcpd tiff truetype truetype-fonts type1-fonts usbi vhosts vorbis xls xml xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 3 Ciaran McCreesh 2005-08-09 05:51:30 UTC
Yes, findutils will give an error if a file was present when it checked a
directory listing but removed by the time it gets to processing it. This is sane
behaviour.