Error in com.apple.touristd.sb

I noticed an error in the console that I wanted to stop showing up. It’s this one:

Failed to enter sandbox: /System/Library/Sandbox/Profiles/com.apple.touristd.sb:68:2: illegal argument: (allow iokit-open "RootDomainUserClient")

Note the last part.

(allow iokit-open "RootDomainUserClient")

That should read:

(allow iokit-open (iokit-user-client-class "RootDomainUserClient"))

I am rather surprised that nobody at Apple checked it.

Advertisements

5 thoughts on “Error in com.apple.touristd.sb

    • Hi Hal,

      That is only a preference for the tourist daemon. Let’s take a look at the LaunchAgent for it:

      cat /System/Library/LaunchAgents/com.apple.touristd.plist

      The result is:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      	<key>Label</key>
      	<string>com.apple.touristd</string>
      	<key>Program</key>
      	<string>/System/Library/PrivateFrameworks/Tourist.framework/Versions/A/Resources/touristd</string>
      	<key>POSIXSpawnType</key>
      	<string>Adaptive</string>
      	<key>EnablePressuredExit</key>
      	<true/>
      	<key>EnableTransactions</key>
      	<true/>
      	<key>LaunchEvents</key>
      	<dict>
      		<key>com.apple.xpc.activity</key>
      		<dict>
      			<key>com.apple.tourist.notify</key>
      			<dict>
      				<key>Delay</key>
      				<string>0</string>
      				<key>Priority</key>
      				<string>Utility</string>
      				<key>Repeating</key>
      				<false/>
      				<key>GracePeriod</key>
      				<integer>30</integer>
      				<key>Interval</key>
      				<integer>60</integer>
      			</dict>
      		</dict>
      	</dict>
      </dict>
      </plist>
      

      Note the string for the program key. That is the actual daemon. The exact location of it – developers may have more tourist daemons on a volume. About how I modified it, and I should have mentioned it, but everything in /System is protected by Apple’s System Integrity Protection (SIP):

      xattr /System

      -> com.apple.rootless
      In short. You need to disable SIP with:

      csrutil disable

      Run that from your RecoveryHD and reboot. Don’t forget to re-enable SIP afterwards with:

      csrutil enable

      . Or just ignore the error.

  1. Hi there,

    I’d like to ask your advice.

    I’m running the High Sierra public beta and having frequent system freezes — the com.apple.touristd launch agent error precedes every reboot in my Console system.log.

    Do you think it could be the cause of the system freezes?

    Cheers,

    Martin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s