Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26204 - distccd should read DISTCC_TMPDIR from /etc/conf.d/distccd
Summary: distccd should read DISTCC_TMPDIR from /etc/conf.d/distccd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 06:12 UTC by John Zheng
Modified: 2003-08-08 13:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
distccd init script (distccd,520 bytes, text/plain)
2003-08-08 06:16 UTC, John Zheng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Zheng 2003-08-08 06:12:35 UTC
There's a patch for distccd to use DISTCC_TMPDIR environment variable.  However, 
that variable cannot be set from the configuration files.  The variable should 
be set either through /etc/conf.d/distccd, or through distcc-config.  /etc/conf.
d/distccd is probably more correct since it's distccd that uses this variable.

To fix it, simply change /etc/init.d/distccd to prepend 
'DISTCC_TMPDIR=${DISTCC_TMPDIR}' before running start-stop-daemon.

Also, to stay consistent, it's probably better to change the patch to use 
DISTCCD_TMPDIR rather than DISTCC_TMPDIR.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 John Zheng 2003-08-08 06:16:05 UTC
Created attachment 15748 [details]
distccd init script

init script for distccd that uses DISTCC_TMPDIR from /etc/conf.d/distccd
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-08-08 13:31:01 UTC
Ah!  Good call! I'll also update the conf.d script accordingly.

I've just put these into CVS.

Thank you.