The mysterious SHAuthorizationRight key

View: New views
3 Messages — Rating Filter:   Alert me  

The mysterious SHAuthorizationRight key

by huntc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

Running 10.5.1, I see the following in my syslog:

        com.apple.launchd[1] (org.apache.httpd): Unknown key:  
SHAuthorizationRight

Upon investigating the launchd plist for httpd there is a declaration:

        <key>SHAuthorizationRight</key>
        <string>system.preferences</string>

Unfortunately I have been unable to find launchd documentation  
describing this key. Can you please advise; I like to know what my  
syslog messages mean. :-)

Cheers,
-C
_______________________________________________
launchd-dev mailing list
launchd-dev@...
http://lists.macosforge.org/mailman/listinfo/launchd-dev

Re: The mysterious SHAuthorizationRight key

by Dave Zarzycki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A project at Apple is overloading the launchd configuration file  
schema to store non-launchd preferences. We hope to resolve this  
matter in the next major version of Mac OS X.

davez




On Dec 2, 2007, at 4:38 AM, Christopher Hunt wrote:

> Hi there,
>
> Running 10.5.1, I see the following in my syslog:
>
> com.apple.launchd[1] (org.apache.httpd): Unknown key:  
> SHAuthorizationRight
>
> Upon investigating the launchd plist for httpd there is a declaration:
>
> <key>SHAuthorizationRight</key>
> <string>system.preferences</string>
>
> Unfortunately I have been unable to find launchd documentation  
> describing this key. Can you please advise; I like to know what my  
> syslog messages mean. :-)
>
> Cheers,
> -C
> _______________________________________________
> launchd-dev mailing list
> launchd-dev@...
> http://lists.macosforge.org/mailman/listinfo/launchd-dev

_______________________________________________
launchd-dev mailing list
launchd-dev@...
http://lists.macosforge.org/mailman/listinfo/launchd-dev

Re: The mysterious SHAuthorizationRight key

by dan_nl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I also saw this log message and played a bit with the org.apache.httpd.plist to see what would happen.

1. I removed the following lines in the <dict> element:
    <key>SHAuthorizationRight</key>
    <string>system.preferences</string>

2. Saved the file and re-booted.

That eliminated the system.log message "com.apple.launchd[1] (org.apache.httpd): Unknown key:  
SHAuthorizationRight", however I was no longer able to "control" apache via the System Preferences Sharing control. While the Web Sharing checkbox still existed and I could click on it, it wouldn't actually start or stop apache. I could only start and stop apache from the command line.

I replaced the deleted <key> and <string> elements and I still get the system.log message, but I can control Web Sharing via the System Preferences panel again.

It looks like the com.apple.launchd app and/or maybe apache(?) needs to accept the <key>SHAuthorizationRight</key> in order to not log the message.

Hopefully that helps explain what's going on a bit more ... just hope Apple is able to change whatever it needs to so the system.log message goes away ;)

o Dan

huntc wrote:
Hi there,

Running 10.5.1, I see the following in my syslog:

        com.apple.launchd[1] (org.apache.httpd): Unknown key:  
SHAuthorizationRight

Upon investigating the launchd plist for httpd there is a declaration:

        <key>SHAuthorizationRight</key>
        <string>system.preferences</string>

Unfortunately I have been unable to find launchd documentation  
describing this key. Can you please advise; I like to know what my  
syslog messages mean. :-)

Cheers,
-C