I have a very simple policy that calls a SMB mount script for a specific computer. It runs ongoing at login.
According to the JSS, the Policy is stuck in a "Pending" state.
The computer shows up in the correct Policy criteria (A specific Dept in this case). The JSS shws the Mac is in the correct Smart Groups/Policies etc.
The script itself can be ran manually outside of the Policy just fine. The script is rock-solid and runs on other systems (with different Dept criteria and different drive variables)
I mocked-up an IT test Mac with the same Dept Smart Groups, and Policy, etc and the Policy runs perfect every time.
If I manually force the Policy to run over SSH (via sudo jamf policy -id xxx) it runs, but I get a failure in the JSS logs:
"28:74: execution error: Finder got an error: Application isn’t running. (-600)" But the Finder is running."
(The bash script calls a AppleScript to do the 'heavy lifting' of the mounting to /Volumes mount point)
So it appears that one specific Mac is choking on the Policy. Cant figure out why.
The computer is brand new. Fresh image from Capser Imaging (9.8.1). The computer is checking in to JSS and updating inventory fine. Other policies are working too. I can send packages and scripts to it via Capser Remote also.
Any thoughts on what would make this computer different? Why would it appear as "Pending"?
