Getting repeated attempts to set up management framework...

JCMBowman
New Contributor III

I have a few (a couple dozen out of 2000+) machines that are doing strange things. I first noticed the issue when we were not seeing any application usage data on the Casper server. On further inspection, We saw this repeating over and over and over on the client machines in /var/log/jamf.log. We're running Casper 8.6, the Machines are running 10.8.3 and 10.8.4. We removed the framework and re-added the machines witha quickadd package, but the issue persists. Any thoughts?

Tue Aug 06 02:51:14 W21718 jamf[81189]: Enforcing management framework...
Tue Aug 06 02:51:15 W21718 jamf[81189]: Enforcing scheduled tasks...
Tue Aug 06 02:51:15 W21718 jamf[81189]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist...
Tue Aug 06 02:51:15 W21718 jamf[81189]: Adding launchd task com.jamfsoftware.task.1...
Tue Aug 06 02:51:17 W21718 jamf[81189]: Creating launch daemon...
Tue Aug 06 02:51:17 W21718 jamf[81189]: Creating launch agent...
Tue Aug 06 02:52:11 W21718 jamf[81488]: Enforcing management framework...
Tue Aug 06 02:52:12 W21718 jamf[81488]: Enforcing scheduled tasks...
Tue Aug 06 02:52:12 W21718 jamf[81488]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist...
Tue Aug 06 02:52:12 W21718 jamf[81488]: Adding launchd task com.jamfsoftware.task.1...
Tue Aug 06 02:52:14 W21718 jamf[81488]: Creating launch daemon...
Tue Aug 06 02:52:14 W21718 jamf[81488]: Creating launch agent...
Tue Aug 06 02:53:14 W21718 jamf[81720]: Enforcing management framework...
Tue Aug 06 02:53:15 W21718 jamf[81720]: Enforcing scheduled tasks...
Tue Aug 06 02:53:15 W21718 jamf[81720]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist...
Tue Aug 06 02:53:15 W21718 jamf[81720]: Adding launchd task com.jamfsoftware.task.1...
Tue Aug 06 02:53:17 W21718 jamf[81720]: Creating launch daemon...
Tue Aug 06 02:53:17 W21718 jamf[81720]: Creating launch agent...
Tue Aug 06 02:54:13 W21718 jamf[82031]: Enforcing management framework...
Tue Aug 06 02:54:14 W21718 jamf[82031]: Enforcing scheduled tasks...
Tue Aug 06 02:54:14 W21718 jamf[82031]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist...
Tue Aug 06 02:54:14 W21718 jamf[82031]: Adding launchd task com.jamfsoftware.task.1...
Tue Aug 06 02:54:16 W21718 jamf[82031]: Creating launch daemon...
Tue Aug 06 02:54:16 W21718 jamf[82031]: Creating launch agent...
Tue Aug 06 02:55:17 W21718 jamf[82346]: Enforcing management framework...
Tue Aug 06 02:55:18 W21718 jamf[82346]: Enforcing scheduled tasks...
Tue Aug 06 02:55:18 W21718 jamf[82346]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist...
Tue Aug 06 02:55:18 W21718 jamf[82346]: Adding launchd task com.jamfsoftware.task.1...
Tue Aug 06 02:55:19 W21718 jamf[82346]: Creating launch daemon...
Tue Aug 06 02:55:20 W21718 jamf[82346]: Creating launch agent...
Tue Aug 06 02:56:15 W21718 jamf[82971]: Enforcing management framework...
Tue Aug 06 02:56:16 W21718 jamf[82971]: Enforcing scheduled tasks...
Tue Aug 06 02:56:16 W21718 jamf[82971]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist...
Tue Aug 06 02:56:16 W21718 jamf[82971]: Adding launchd task com.jamfsoftware.task.1...
Tue Aug 06 02:56:18 W21718 jamf[82971]: Creating launch daemon...
Tue Aug 06 02:56:18 W21718 jamf[82971]: Creating launch agent...

2 REPLIES 2

bbass
Contributor

We see this on a regular basis with freshly imaged machines. It's due to a sticky LaunchDaemon. The following commands will restore jamf binary functionality to normal:

launchctl unload -w /Library/LaunchDaemons/com.jamfsoftware.task.checkForTasks.plist rm -f /Library/LaunchDaemons/com.jamfsoftware.task.checkForTasks.plist

This is a homegrown solution to this issue, by the way. Attempts to work with JAMF support have been a bit unsuccessful. Originally, they said this was a bug in 8.6 and that it was fixed in 8.6.2 (if I recall correctly) but we continue to see it in 8.64.

bbass
Contributor

Just checked my email. The defect was "fixed" in 8.64. From the release notes:

[D-003247] Fixed an issue with restricted software and application usage monitoring that caused the management framework to be enforced repeatedly.

We even turned off application usage monitoring and that didn't help, either. As for our workaround, JAMF did not indicate any concern as that LaunchDaemon is supposed to be unloaded and removed automatically.