From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user-de@lists.gentoo.org
Subject: [gentoo-user-de] distfiles mit NFS exportieren - kann keine Locks erzeugen :(
Date: Mon, 22 Aug 2005 11:08:56 +0200 [thread overview]
Message-ID: <43099628.9050301@mid.email-server.info> (raw)
Hi!
alexander@blatt ~ $ sudo emerge -vf rt2500
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/rt2500-1.1.0_beta3 to /
Traceback (most recent call last):
File "/usr/bin/emerge", line 3200, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 1859, in merge
retval=portage.doebuild(y,"fetch",myroot,self.pkgsettings,edebug,("--pretend" in myopts),fetchonly=1)
File "/usr/lib/portage/pym/portage.py", line 2664, in doebuild
if mydo!="manifest" and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly):
File "/usr/lib/portage/pym/portage.py", line 1819, in fetch
file_lock = portage_locks.lockfile(mysettings["DISTDIR"]+"/"+locks_in_subdir+"/"+myfile,wantnewlockfile=1)
File "/usr/lib/portage/pym/portage_locks.py", line 93, in lockfile
fcntl.lockf(myfd,fcntl.LOCK_EX|fcntl.LOCK_NB)
IOError: [Errno 13] Permission denied
Wie man hier sehen kann, konnte portage (bzw. das Modul
/usr/lib/portage/pym/portage_locks.py) keinen Lock erzeugen. Ist
mit Fehlercode "13 - Zugriff verweigert" gescheitert.
Auf diesem Client habe ich in der make.conf das DISTDIR "umgelegt":
DISTDIR="/Gentoo/Portage/distfiles"
alexander@blatt ~ $ ls -lad /Gentoo/Portage/distfiles /misc/distfiles /misc/distfiles/.locks
lrwxrwxrwx 1 root portage 15 22. Aug 09:43 /Gentoo/Portage/distfiles -> /misc/distfiles
drwxrwsr-x 4 root portage 16384 22. Aug 10:46 /misc/distfiles
drwxrwsr-x 2 root portage 125 22. Aug 10:46 /misc/distfiles/.locks
Normale Dateien können aber Problemlos in $DISTDIR/.locks angelegt
werden:
alexander@blatt ~ $ date > $DISTDIR/.locks/testfile.$(id -un)
alexander@blatt ~ $ date | sudo -u portage dd of=$DISTDIR/.locks/testfile.portage
0+1 Datensätze ein
0+1 Datensätze aus
alexander@blatt ~ $ date | sudo dd of=$DISTDIR/.locks/testfile.root
0+1 Datensätze ein
0+1 Datensätze aus
alexander@blatt ~ $ ls -la $DISTDIR/.locks
insgesamt 32
drwxrwsr-x 2 root portage 4096 22. Aug 10:53 .
drwxrwsr-x 4 root portage 16384 22. Aug 10:52 ..
-rw-r--r-- 1 alexander portage 29 22. Aug 10:52 testfile.alexander
-rw-r--r-- 1 portage portage 29 22. Aug 10:53 testfile.portage
-rw-r--r-- 1 root portage 29 22. Aug 10:54 testfile.root
Warum kann emerge hier keinen Lock im $DISTDIR/.locks Verzeichnis
anlegen? Sowohl auf dem Client wie auch auf dem Server läuft
[lockd] (also rpc.lockd).
Danke sehr,
Alexander Skwar
--
Give your very best today. Heaven knows it's little enough.
--
gentoo-user-de@gentoo.org mailing list
next reply other threads:[~2005-08-22 9:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-22 9:08 Alexander Skwar [this message]
2005-08-22 10:14 ` [gentoo-user-de] distfiles mit NFS exportieren - kann keine Locks erzeugen :( Sevo Stille
2005-08-22 11:28 ` Alexander Skwar
2005-08-22 12:21 ` [gentoo-user-de] " Arnold Krille
2005-09-01 13:37 ` Alexander Skwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43099628.9050301@mid.email-server.info \
--to=listen@alexander.skwar.name \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox