|
|
DistCC
I grabbed the source from distcc.samba.org and successfuly compiled and installed it on both my iBook and another machine, both running 10.2.6.
The only problem I had was when I tried to run distccd as a daemon when the current user was root (through the 'sudo' program) -- I did this to try to see what would happen if I set it up as a service in /Library/StartupItems/. When run like this, distccd tries very hard to become a different user ('distcc', or 'nobody', but definitely not root). When it does this, it tries to give up as many privileges of root as it can before it switches to the desired user. One of the things it changes is the access group list for the process, and this is what caused distccd to exit for me. There is a call to setgroups(), passing 0 and NULL in order to clear out the access group list. The result of this call is an error (invalid parameter), and distccd handles this by spitting out an error message and quitting. Talk about a glass jaw! My immediate workaround was to #ifdef out the appropriate lines of code in the source. Works like a charm after that. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|