• 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: bootstrap_register: permission denied: what's next?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
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>)

  • Prev by Date: Re: bootstrap_register: permission denied: what's next?
  • Next by Date: Re: Resident Memory, Private Memory, Shared Memory (top, Activity Monitor and vmmap)
  • Previous by thread: Re: bootstrap_register: permission denied: what's next?
  • Next by thread: Re: Darwin-dev Digest, Vol 4, Issue 258
  • Index(es):
    • Date
    • Thread