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

Bug 570924

Summary: sys-devel/distcc: distcc-config should not export default settings in env.d
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: CONFIRMED ---    
Severity: enhancement CC: cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2016-01-04 23:51:35 UTC
files in env.d get exported to the environment of all processes, even ones unrelated to distcc.  distcc-config writes out a bunch of variables there, even the default values.  this just adds overhead/noise.

please make distcc-config smarter so it only writes out settings when they are different from the default.
Comment 1 sylvain.miossec 2021-10-14 13:36:18 UTC
Additionally, configuration in /etc/env.d/02distcc with distcc-config seems to override configuration in /etc/systemd/system/distccd.service.d/00gentoo.conf as proposed to use in the wiki page of distcc.