On Nov 9, 2007, at 3:04 PM, Vince Admin Account wrote:

First, policyd-weight is working EXTREMELY well.
I am running it in daemon mode. The only problem is starting it automatically after a reboot. I created a launchd plist and launchd does start the polw daemon, but on one of the machines (the busy one) it does not connect properly to the DNS server, causing all the DNS lookups to fail. Manually restarting polw makes everything work.

To be clear, you are not having this problem on any other OSX machine on which you are also starting policyd-weight via launchd?

My conjecture is that MacOS is starting it too early in the boot process, before the DNS service is completely established. So I need to determine either how to have MacOS start it later or have policyd-weight check to see if the DNS is working before
starting (and perhaps sleep a bit before continuing -- like freshclam)

Unfortunately, there does not appear to be any way to feed dependencies to launchd -- Apple considers this a feature. But I do not know if your problem stems from boot order or something specific to your machine -- especially if everything is working fine on your other OSX boxes.

Can anyone help?

Show logs.

____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/

Reply via email to