Comments (7)
Very interesting.
First, by skipping the LaunchDaemon, you are going to cause problems for the Jamf agent. Specifically, if it takes a long time for the super
workflow, during that time the Jamf agent will be hung waiting for super
to complete. What if the download does take over an hour, or worse, what if the user doesn't make a dialog selection for many hours? In either case, super
will wait indefinitely and thus also the Jamf agent will hang and not perform any other management.
Second, the LanchDaemon literally just restarts super
via the super-starter
script, so it is very strange that there is any difference at all between that restart run of super
vs manually via Terminal. Are you sure it's not just that the first run of softwareupdate
hung, but the second run on the same system worked?
In any case, I'll run some more tests to see if I can replicate the issue.
from super.
@Macjutsu Thank you for the quick reply. Trust me I went through your script and understand the reason for LaunchDaemon. I was skipping for testing point of view only to pin point the issue. We have this issue on few devices we are testing (a laptop ,VM) I am currently testing on VM, so for every test, I can revert back to the same state where I never triggered the Softwareupdate.
also to rule out when the script was ran from Jamf with out LaunchDaemon its working fine so the first run of softwareupdate is not causing that issue, its only causing the issue when run from the LaunchDaemon.
I will do some more testing on a clean VM with out Jamf and our customizations to rule out if anything that we added causing this issue.
Thank you so much again.
from super.
I also use VMs for testing, and I can confirm that for both Intel and Apple Silicon, softwareupdate --download --all
on macOS 12 is hanging, but only when run via super and via the LaunchDaemon.
This is exceptionally weird because it works fine via MDM command, or on older OSes, or when running super
directly from Terminal.
from super.
More evidence... https://developer.apple.com/forums/thread/701096
Looks like it's related to the download notifications, which I would prefer to hide anyhow as they would likely collide with IBM Notifier and jamfHelper.
from super.
Thank you for testing and confirming. Thinking and researching about other workarounds and what others are doing.
from super.
I'm testing one right now! I will share once the workaround is confirmed.
from super.
Confirmed workaround on both Intel and Apple silicon. Thanks for finding this one!
https://github.com/Macjutsu/super/blob/main/CHANGELOG.md#111
from super.
Related Issues (20)
- Upgrade from older OS to latest, Storage needed HOT 1
- Force to run update at the end of deferral timer feature request. HOT 1
- OS Update Stalled on all devices HOT 4
- Conflicting super configs when super profile is updated HOT 1
- Alternate workflow usage without affecting existing update workflow settings HOT 2
- super softwareupdate at login window with no GUI user logged in consistently hangs at black screen with Apple logo and progress bar HOT 5
- Jamf-Pro-External-Application-Custom-Schema-com.macjutsu.super-v4.1.0-beta1 HOT 1
- Problem with 14.5 Update on Silicon Macs HOT 1
- 4.1.0 - Update Failed Dialog doesn't have the option to close the dialog HOT 6
- 4.1.0 - Status: Deferral restrictions have changed since last super workflow run, full software status check required HOT 3
- Superman not going through workflow on m1 Machine HOT 1
- Unable to Successfully Update Major OS feature versions HOT 2
- Sequoia - 5.0b2- Erroneous Non-system update triggered HOT 15
- can IBM and mist cli installed manually ? HOT 1
- Jamf-Pro-External-Application-Custom-Schema-com.macjutsu.super-v5.0.0-beta2 HOT 1
- User Authentication Prompt button says "restart now" when prompted after scheduling restart for later date/time HOT 2
- Super 5.0.0 beta 2: Scheduled Restart asks for password twice: Once when scheduled and again when the scheduled install date passes HOT 2
- Small Typo in Scheduling dialogue HOT 2
- 5.0.0beta2 - User auth workflow has countdown timer - Doesn't persist if no password entered HOT 6
- Adding an option to disable the auto-install of updates when no users are logged in. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super.