[plug] Gentoo Distcc Problem

Timothy White weirdo at tigris.org
Fri Dec 24 00:27:23 WST 2004


In short I think I have a umask problem or something similar (I am
almost certain it is a permissions problem.)

Basically I can't get distcc to work with emerge as it can't open/unlink
the lock/state files from distcc (This is what I think is happening.)
Googling hasn't helped.

The error and the end of a emerge ebuild. It doesn't install the
application as far as I can see.
----
...
making executable: /usr/lib/libpcre.so.0.0.1
making executable: /usr/lib/libpcreposix.so.0.0.0
 >>> Completed installing into /var/tmp/portage/libpcre-4.5/image/

------------------ ACCESS VIOLATION SUMMARY ----------------------
LOG FILE = "/tmp/sandbox-dev-libs_-_libpcre-4.5-14224.log"

open_wr:   /portage/.distcc/lock/cpu_localhost_0
open_wr:   /portage/.distcc/state/binstate_14465
unlink:    /portage/.distcc/state/binstate_14465
------------------------------------------------------------------
tim at dopey tim $
----
It appears that it can't remove the state and lock files.
BUT!!
While it is running the lock directory is as below.
----
tim at dopey lock $ vdir
total 4
-rw-r--r--  1 root portage 1 Dec 21 06:21 
backoff_tcp_linmedia.white.lan_3632_0
-rw-r--r--  1 root portage 0 Dec 21 06:21 cpu_localhost_0
-rw-r--r--  1 root portage 0 Dec 21 06:21 cpu_tcp_linmedia.white.lan_3632_0
---- But when it has finished ----
tim at dopey lock $ vdir
total 0
-rw-r--r--  1 root portage 0 Dec 21 06:21 cpu_localhost_0
-rw-r--r--  1 root portage 0 Dec 21 06:21 cpu_tcp_linmedia.white.lan_3632_0
----
This suggests that it can remove files, just not the ones it needs to.

Other possibly useful information [1]
It happens with a umask of 002 and 022 (the system default.)

Tim

[1]
tim at dopey lock $ vdir ../
total 8
drwsrwsr-x  2 portage portage 4096 Dec 21 06:23 lock
drwsrwsr-x  2 portage portage 4096 Dec 21 06:23 state
-- 
Tim White - Use the Fox, Luke!
PGP/GPG id: 602E944D, Pub Key Serv: subkeys.pgp.net
Fingerprint: 04C2 9682 B7B2 3006 009D  A9F3 067E EDCD 602E 944D
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!
--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20041224/c3668ff7/attachment.pgp>


More information about the plug mailing list