• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Who is using me for distributed builds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Who is using me for distributed builds?


  • Subject: Re: Who is using me for distributed builds?
  • From: email@hidden
  • Date: Fri, 16 Dec 2005 15:28:30 -0500

OK, thanks! This was the way to go, I set up a log file and I was able to confirm who was leeching. Still won't turn it on though so now I need to figure out how to deny him access to our machines. Any suggestions?

I looked at the distccd man pages and it has an "--allow IPADDR" that allows you to only authorize specific IP numbers. However, there does not seem to be a --deny option which is really what I need. Yes, I could use --allow and list the IP addresses of all the Good Guys, but then I'd have to update it every time someone joins the distributed build network. Any suggestions?

I guess the way to go now is to configure the firewall to do this.

Thanks!


On Dec 15, 2005, at 2:35 PM, Art Isbell wrote:

On Dec 15, 2005, at 8:29 AM, Dave Thorup wrote:

Figuring out how to get the daemon to output stuff is probably the way to go though.

distcc is a daemon controlled by launchd. Its config file is / System/Library/LaunchDaemons/distccd.plist. launchd supports redirecting standard out and standard error for the daemons that it controls to specified files. To do this, you'd need to edit distccd.plist.


The launchd.plist man page lists the XML keys supported by launchd config files. You could add the StandardOutPath key and maybe the StandardErrorPath key with values that are paths to log files. You could edit distccd.plist in your favorite XML editor or in Lingon (http://lingon.sourceforge.net), a Cocoa launchd config file editor.

Of course, you should save a copy of the original distccd.plist so that you could revert to it should you need to. I have no idea whether adding a modified distccd.plist to /Library/LaunchDaemons would result in it being used instead of the one in /System/Library/ LaunchDaemons. That might be worth a try.

After editing, you can unload and then load distccd.plist to put the modified distccd.plist into use. See the launchctl man page or Lingon.

I have no idea whether distccd outputs the info that you need, but this would certainly be worth a try.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Who is using me for distributed builds?
      • From: Dave Camp <email@hidden>
References: 
 >Re: Who is using me for distributed builds? (From: James Bucanek <email@hidden>)
 >Re: Who is using me for distributed builds? (From: Dave Thorup <email@hidden>)
 >Re: Who is using me for distributed builds? (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Creating an Xcode target in AppleScript
  • Next by Date: Re: line endings
  • Previous by thread: Re: Who is using me for distributed builds?
  • Next by thread: Re: Who is using me for distributed builds?
  • Index(es):
    • Date
    • Thread