On line 44 of /etc/init.d/bootmisc there is a command ( find /var/lock -type f -print0 | xargs -0 rm -f -- 1>&2 ) For some reason this causes a problem, it is not critical as far as I can determine, but annoying none the less. As this is non-critical bug, there is three things that can be done: 1. ignore it. 2. change the command to read something like: ( find /var/local -type f -exec rm -rf -- "{}" \; ) which I suspect might not actually solve the problem. 3. Pipe stderr to /dev/null. Reproducible: Always Steps to Reproduce: 1. Reboot your system and watch carefully. Actual Results: Nothing critical as far as I can determine. It might be that the exec cannot execute and any locks held thus will not be deleted. Expected Results: Not show the error message unless it is critical. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test5) ================================================================= System uname: 2.6.0-test5 i686 Pentium III (Coppermine) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 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 /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://ftp.up.ac.za/mirrors/gentoo.org/gentoo ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://ftp.up.ac.za/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl gpm tcpd pam ssl perl python imlib oggvorbis gtk qt kde opengl mozilla dga fbcon gtk2 imap innodb jikes ladcca maildir mbox moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mysql nocardbus nptl oav odbc pic samba sasl slp sse tiff vim-with-x wmf xml xosd -bonobo -esd -gnome -motif -scanner"
This appears to have already been changed in the latest baselayout package. # qpkg -I -v baselayout sys-apps/baselayout-1.8.6.10-r1 * # grep \/var\/lock bootmisc ebegin "Cleaning /var/lock, /var/run" ( find /var/lock -type f -exec rm -f -- {} \; ) # Create the .keep to stop portage from removing /var/lock >/var/lock/.keep
*** This bug has been marked as a duplicate of 21438 ***