Re: bootstrap_register: permission denied: what's next?
Re: bootstrap_register: permission denied: what's next?
- Subject: Re: bootstrap_register: permission denied: what's next?
- From: Dave Zarzycki <email@hidden>
- Date: Wed, 5 Dec 2007 09:43:24 -0800
On Dec 4, 2007, at 1:59 PM, Jack Repenning wrote:
On Dec 3, 2007, at 10:33 AM, Dave Zarzycki wrote:
I suspect that you need to change the daemon to use
bootstrap_check_in() instead of bootstrap_register().
Hmmm ... but I don't call bootstrap_register() myself. I call
CFMessagePortCreateLocal(), which calls bootstrap_register() (give
or take a few intervening frames). There doesn't seem to be any
alternative to calling CFMessagePortCreateLocal(), nor any hint in
the dox at that level as to why it might call *_register() vice
*_check_in().
Odd. CFMessagePortCreateLocal() does a check_in() before register().
Something else weird is going on. How was the process created?
Can you enable debugging in launchd and email me the log messages? One
can enable it like so:
launchctl log level debug # your launchd
sudo launchctl log level debug # the system launchd
sudo vi /etc/syslog.conf # change *.notice to *.*
sudo killall -HUP syslogd # to restart syslogd
Then you can browse /var/log/system.log.
davez
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden