Giter Club home page Giter Club logo

Comments (7)

Macjutsu avatar Macjutsu commented on September 13, 2024

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.

KumarMudedla avatar KumarMudedla commented on September 13, 2024

@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.

Macjutsu avatar Macjutsu commented on September 13, 2024

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.

Macjutsu avatar Macjutsu commented on September 13, 2024

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.

KumarMudedla avatar KumarMudedla commented on September 13, 2024

Thank you for testing and confirming. Thinking and researching about other workarounds and what others are doing.

from super.

Macjutsu avatar Macjutsu commented on September 13, 2024

I'm testing one right now! I will share once the workaround is confirmed.

from super.

Macjutsu avatar Macjutsu commented on September 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.