Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47684 - Bootstrapping over NFS, pids file write: No locks available
Summary: Bootstrapping over NFS, pids file write: No locks available
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 03:42 UTC by Hans-Christian Armingeon
Modified: 2004-06-11 16:24 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 Hans-Christian Armingeon 2004-04-13 03:42:53 UTC
I am bootstrapping on an nfs mounted share.
I did a mount --bind /dev /mnt/gentoo , and so on with /dev/pts and /proc from the host system.

The NFS share is exported via <share> <ip>(rw,no_root_squash,no_all_squash,sync) in /etc/exports on the server.

I've some diskless boxes booting from that server without problems.

#scripts/bootstrap.sh

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2004 Gentoo Technologies, Inc.; Distributed under the GPL
Starting Bootstrap of base system ...

Using >=sys-apps/baselayout-1.7.9-r1
Using >=sys-apps/portage-2.0.25
Using >=sys-devel/binutils-2.13.90.0.4
Using >=sys-devel/gcc-3.2
Using sys-devel/gettext
Using >=sys-libs/glibc-2.2.5
Using >=sys-apps/texinfo-4.2-r1
Using sys-libs/zlib
Using >=sys-libs/ncurses-5.2.20020112a

Configuring environment...
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r5 to /
>>> md5 src_uri ;-) portage-2.0.50-r5.tar.bz2
>>> /tmp/sandboxpids.tmp fcntl file lock: No locks available
>>> pids file write: No locks available

Has anybody got an idea, what the problem could be?

Thanks in advance,

Johnny

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




Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) 
================================================================= 
System uname: 2.4.25 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.3.13 
Autoconf: 
Automake: 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=i486 -fomit-frame-pointer" 
CHOST="i486-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i486 -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://triton/gentoo-portage" 
USE="acl acpi apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr 
encode fam foomaticdb gdbm gif gpm imap imlib jpeg ldap libg++ libwww mad 
maildir mbox memlimit mikmod mmx motif mpeg mysql ncurses nls obdc oggvorbis 
opengl oss pam pdflib perl png pnp postgres ppds prelude python quicktime 
readline samba sasl sdl slang slp snmp socks5 spell sse ssl svga tcpd tiff 
truetype usb wmf x86 xml2 xmms xv zlib"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-04-13 17:41:45 UTC
You could mount /tmp from the local system.
Locks are supported if your kernel supports them for NFS.
Comment 2 SpanKY gentoo-dev 2004-06-11 16:24:46 UTC
yep, read up on nfs and locking support (which, like nick said, sucks for nfs)