First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 37592
Alias:
Product:
Component:
Status: RESOLVED
Resolution: LATER
Assigned To: Lisa Seelye (RETIRED) <lisa@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ernst Bachmann <e.bachmann@xebec.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
patch patch to add missing check for errno==EPERM patch Ernst Bachmann 2004-01-08 04:57 0000 621 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 37592 depends on: Show dependency tree
Show dependency graph
Bug 37592 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-08 04:55 0000
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 :)

------- Comment #1 From Ernst Bachmann 2004-01-08 04:57:23 0000 -------
Created an attachment (id=23378) [edit]
patch to add missing check for errno==EPERM

One-line patch to src/mon.c that fixes the bug.

------- Comment #2 From Lisa Seelye (RETIRED) 2004-01-08 17:34:25 0000 -------
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.

------- Comment #3 From Lisa Seelye (RETIRED) 2004-01-09 09:32:31 0000 -------
2.12.1 addresses this.

First Last Prev Next    No search results available      Search page      Enter new bug