Hey All, I'm getting this message and also one that says JamfDaemon need updating. I've gone through all of my scripts and EAs to see which ones were calling/using Python and all have been resolved, but I'm still seeing this on new Monterey installs. Any ideas where else I can look?
Solved! Go to Solution.
Started going through everything again this morning. Found one EA that my previous searches didn't find using python. I believe I'm good now. Rebuilt a machine a couple times this morning and no longer seeing the popups.
Went through all our EAs with a fine tooth comb and removed all with python code. I don't believe I have any python scripts now in our EAs but after two new enrolments (on Monterey) this morning, I am still seeing the popup "JamfDaemon" needs to be updated. Any ideas if there is a different root cause? thanks.
I'm also getting the popup about JamfDaemon needs to be updated.
If I have EAs written in both
#!/bin/sh or #!/bin/bash
Would these be a problem? They work fine.
Would python code be inside these scripts?
Or would i be able to easily see wich ones are python based on the script not starting with #!/bin/sh or #!/bin/bash ?
So basically every time a RECON runs and goes through the Extension Attributes these 2 jamfdaemon or jamfmanagementservice warning will popup.
i don't see this PythoWrapper directory to get to the plist file to help pinpoint the possible cause =
Hi all, I face the same alert. We are using the "jamf depnotify deploy script", to install our Clients. Inside the script, there are some python calls. Is there a way to get rid of these calls and use the script anyway?
In Line 545 to 547 -> call to detect the current user
# After the Apple Setup completed. Now safe to grab the current user. CURRENT_USER=$(/usr/bin/python -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None]); username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username + "\n");') echo "$(date "+%a %h %d %H:%M:%S"): Current user set to $CURRENT_USER." >> "$DEP_NOTIFY_DEBUG"
How do I clear the JamfManagementService and JamfDaemon popups that previously appeared? So when I test it will look like the popups never appeared and popups will appear if a python script was run?
I've been seeing this lately and it's annoying me and I decided to do something about it, which lead me to this thread, which lead me to search through my Jamf environment. I've got several scripts and EA that use python to find the logged in user, because that was once upon a time considered Apple's best practice according to Apple's own documentation - https://developer.apple.com/library/archive/qa/qa1133/_index.html - but it's apparently no longer updated, so does anyone know where to find the best current practice for determining logged in user? I'm familiar with the more traditional shell script ways of getting the logged in username, but I was trying to be a good apple... now I find out Apple's yet again moved the goalposts.
Also need to dissect the DEPNotify config left by my predecessor since I see others here saying it's got python calls... This isn't going to be fun. My developers are already upset that built-in Python goes away in 12.3... my manager isn't going to be happy that our management tools need updating/modification because the mothership can't help themselves from pulling the rug out from under us (I know this has been forewarned for a long time, but they could have still incorporated an easy temporary bridge like when you run try to run git without it installed...
Can anyone confirm whether installing my own python makes this warning go away, or will it prompt whenever it seens any python running through Jamf?