My user account is in group portage, so it has access to the .distcc dir used by portage, yet I still can't use distccmon-* to watch over it. The problem is that it does a check for orphaned processes using the kill syscall, but doesn't check the return value correctly. I reported this bug to the distcc-mailing list, but they don't seem to be very interrested, so maybe you could add this one-line patch to the distcc ebuild. Reproducible: Always Steps to Reproduce: 1. emerge something (FEATURES=distcc...) 2. try to run DISTCC_TMPDIR=/var/tmp/portage/.distcc distccmon-text 1 3. run the same under strace to clearly see the bug. (kill-syscalls failing with EPERM) Actual Results: distccmon doesn't display any info as it regards every process as dead. Expected Results: It should display something :)
Created attachment 23378 [details, diff] patch to add missing check for errno==EPERM One-line patch to src/mon.c that fixes the bug.
When Martin releases 2.12.1 I'll see if he put this patch into the code. If not I'll apply it and mark it ~arch.
2.12.1 addresses this.