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.
Created attachment 15748 [details] distccd init script init script for distccd that uses DISTCC_TMPDIR from /etc/conf.d/distccd
Ah! Good call! I'll also update the conf.d script accordingly. I've just put these into CVS. Thank you.