Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap_register: permission denied: what's next?



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: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: bootstrap_register: permission denied: what's next? (From: Dave Zarzycki <email@hidden>)
 >Re: bootstrap_register: permission denied: what's next? (From: Jack Repenning <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.