public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-de] distfiles mit NFS exportieren - kann keine Locks erzeugen :(
@ 2005-08-22  9:08 Alexander Skwar
  2005-08-22 10:14 ` Sevo Stille
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Skwar @ 2005-08-22  9:08 UTC (permalink / raw
  To: gentoo-user-de

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-01 13:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22  9:08 [gentoo-user-de] distfiles mit NFS exportieren - kann keine Locks erzeugen :( Alexander Skwar
2005-08-22 10:14 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox