After migrating one of my systems to an NFS mounted root filesystem, perl-5.8.2-r1 will not emerge. I get lots of open_wr access violations before the emerge fails. Reproducible: Always Steps to Reproduce: 1. emerge perl 2. 3. Actual Results: Migrated from local hard disk to an NFS mounted root file system. Expected Results: Perl should emerge without open_wr access violations. I really don't want to disable the sandbox in order to get perl upgraded. control root # emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.20- gentoo-r9_control) ================================================================= System uname: 2.4.20-gentoo-r9_control i686 VIA Nehemiah Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -funroll-loops -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.2/share/config /usr/kde/3/share/config /usr/share/con fig /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -funroll-loops -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" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb dvd encode esd fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imap imlib jpeg kde libg++ libwww lirc mad mcal mikmod motif mpeg mpeg2 mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd transcode truetype x86 xine xml2 xmms xv zlib" --- Note that I've also tried without FEATURES="-ccache". Same result. --- The /tmp/sandbox-dev-lang_-_perl-5.8.2-r1-XXXX.log is the same every time I try: unlink: /Op_stat.tmp2 symlink: /Op_stat.tmp2 unlink: /Op_stat.tmp2 unlink: /Op_stat.tmp symlink: /dolzero unlink: /Op_stat.tmp open_wr: /echo11718 open_wr: /misctmp001 open_wr: /Op_write.tmp open_wr: /Uni_write.tmp rmdir: /lib open_wr: /xreftest.out open_wr: /__db.dbbtree.tmp. open_wr: /__db.dbhash.tmp. open_wr: /recno.tmp open_wr: /tmon.out open_wr: /err open_wr: /err open_wr: /err open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /err open_wr: /err open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /err open_wr: /err open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /err open_wr: /err open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /tmon.out open_wr: /err open_wr: /peek11883 open_wr: /no-existing-file.11886 open_wr: /ext/Encode/t/11895.utf open_wr: /f0 open_wr: /ext/Encode/t/11898.enc open_wr: /f0 open_wr: /ext/Encode/t/11909.sio open_wr: /fcntl11912 open_wr: /big1 open_wr: /big mkdir: /pteerslo open_wr: /Ax.pl open_wr: /Bx.pl open_wr: /Cx.pl open_wr: /aY.pl open_wr: /bY.pl open_wr: /cY.pl open_wr: /MyTest.pm open_wr: /Op.dbmx open_wr: /Op.dbmx open_wr: /SubDB.pm open_wr: /Io.dup rmdir: /lib open_wr: /__taint__11941 open_wr: /io_utf8 open_wr: /Op.dbmx.pag open_wr: /Op.dbmx.pag open_wr: /SubDB.pm open_wr: /grk11977 open_wr: /utf11977 open_wr: /fail11978 open_wr: /fallback11979.txt open_wr: /txt11981 open_wr: /bin11981 open_wr: /utf11981 open_wr: /via11983 open_wr: /via11983 open_wr: /nasty.pl open_wr: /Op_dbmx.pag open_wr: /Op_dbmx.pag open_wr: /SubDB.pm open_wr: /store open_wr: /store open_wr: /store open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /integer.12007 open_wr: /store open_wr: /malice.12010 open_wr: /store open_wr: /store open_wr: /utfhash.po open_wr: /foo.out open_wr: /stdio.tmp open_wr: /Op_dbmx.pag open_wr: /Op_dbmx.pag mkdir: /auto-12059 open_wr: /auto-12059 rmdir: /blib rmdir: /blib rmdir: /blib mkdir: /blib rmdir: /blib rmdir: /blib rmdir: /blib open_wr: /lib/unicore/xyzzy_alias.pl mkdir: /SSI-12147 open_wr: /calibrate_mtime.tmp open_wr: /testfile.foo mkdir: /ext-12164 open_wr: /embed_test.c mkdir: /hints open_wr: /hints mkdir: /mantest open_wr: /foo open_wr: /MANIFEST rmdir: /moretest rmdir: /copy open_wr: /mkboot.bs open_wr: /.bs open_wr: /VERSION.tmp open_wr: /eplist open_wr: /calibrate_mtime.tmp mkdir: /Odd-Version open_wr: /Version open_wr: /foo open_wr: /foo open_wr: /foo open_wr: /foo open_wr: /Foo_Bar open_wr: /file-12248 open_wr: /rel2abs2rel12258.pl open_wr: /h2xst.h open_wr: /dummydb open_wr: /dummydb.pag open_wr: /dummydb.pag open_wr: /TESTFILE open_wr: /utf8 open_wr: /a open_wr: /b open_wr: /test.qp open_wr: /out.tmp open_wr: /12445.pod open_wr: /out.tmp open_wr: /test.tex open_wr: /out.tmp open_wr: /out.tmp open_wr: /out.tmp open_wr: /dict-12463 open_wr: /foo-12464 mkdir: /self-12465 open_wr: /sht0001 open_wr: /abc open_wr: /abc open_wr: /foo open_wr: /fails open_wr: /mix open_wr: /junk open_wr: /skips open_wr: /todo open_wr: /tf12666.txt open_wr: /tf12667.txt open_wr: /tf12668.txt open_wr: /tf12669.txt open_wr: /tf12670.txt open_wr: /tf12671.txt open_wr: /tf12672.txt open_wr: /tf12673.txt open_wr: /tf12674.txt open_wr: /tf12674.txt open_wr: /tf12674.txt open_wr: /tf12675.txt open_wr: /tf12676.txt open_wr: /tf12677.txt open_wr: /tf12678.txt open_wr: /tf12679.txt open_wr: /tf12680.txt open_wr: /tf12681.txt open_wr: /tf12682.txt open_wr: /tf12683.txt open_wr: /tf12684.txt open_wr: /tf12685.txt open_wr: /tf12688.txt open_wr: /tf12689.txt open_wr: /tf12690.txt open_wr: /tf12691.txt open_wr: /tf12692.txt open_wr: /tf12693.txt open_wr: /tf12694.txt open_wr: /tf12695.txt open_wr: /tf12696.txt open_wr: /tf12697.txt open_wr: /tf12698.txt open_wr: /tf12699.txt open_wr: /tf12700.txt open_wr: /tf12703.txt open_wr: /afile open_wr: /utf12727 open_wr: /abcd open_wr: /plnr_in.pod open_wr: /pod open_wr: /psed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed open_wr: /s2pt12757.sed
weird ... the only time i've seen that kind of crap is if you `rm -rf` the dir in the middle of emerging ...
Sorry for the trivial question, but is the NFS '/' mounted with nosuid or something like that? Is there any indication on the NFS server that this is a bit squashing error or something similar?
Nope, no_root_squash is specifically optioned on the server... Nothing strange in the system logs or console on either the NFS server or the NFS root mounted client machine.
Same problem here, over NFS root.
I can't find anything in the current docs, but I know that through 5.8.3 there was limited/iffy support for afs and nfs mounted drives when it came to compiling perl. The problem lay in utime values not being updated correctly, which in turn threw off internal time checks in the perl compile.
Curiously, this seems to have gone away with recent ebuilds. I've finally been able to update perl on my NFS root machine again with no recent problems.