Re: bootstrap_register: permission denied: what's next?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Dec 4, 2007, at 1:59 PM, Jack Repenning wrote: On Dec 3, 2007, at 10:33 AM, Dave Zarzycki wrote: 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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: This email sent to site_archiver@lists.apple.com
participants (1)
-
Dave Zarzycki