Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 15769

Summary: distcc init.d script incorrectly references /var/tmp/ for pidfile
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] ServerAssignee: Zach Welch (RETIRED) <zwelch>
Status: RESOLVED FIXED    
Severity: normal CC: max
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2003-02-16 00:40:01 UTC
should use /var/run/ ;)
Comment 1 Zach Welch (RETIRED) gentoo-dev 2003-02-17 15:37:36 UTC
Fixed with distcc-1.1-r9. Thanks.
Comment 2 Max Kalika (RETIRED) gentoo-dev 2003-02-17 16:22:05 UTC
I'm confused.  This is something I mention in #15048.  How is the user "nobody" supposed to be able to write the pid file in /var/run?  Unless the privileges get dropped after the pid file is written?  Or the file is written after the process is started as nobody and control is returned back to the init script?  In either case, this also solves 15048 (which was the main reason to make distccd run as distccd and not nobody).
Comment 3 Zach Welch (RETIRED) gentoo-dev 2003-02-17 18:15:22 UTC
erm.. Okay, so I broke things with -r9... I'm fixing things in -r10
and package.mask'ing distcc-1.1-r9 in the meantime

Sorry for the confusion.
Comment 4 Zach Welch (RETIRED) gentoo-dev 2003-02-17 18:49:03 UTC
Okay, try the latest -r10 that's out now.  and sorry for that last one. :/