macadmins / macadmins/installapplications
Reboot issues with macOS Sonoma
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 307
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
Is anyone else using the [reboot functionality](https://github.com/macadmins/installapplications/blob/main/payload/Library/LaunchDaemons/com.erikng.installapplications.plist#L23-L24) with IAs?
We're running an older build, and with IAs set to reboot at the end of bootstrapping, we're finding Macs running macOS Sonoma beta 7 do not reboot. IAs writes to the logs that the Mac is rebooting, then IAs cleans up after itself.
Here's the relevant code:
https://github.com/macadmins/installapplications/blob/main/payload/Library/installapplications/installapplications.py#L415-L419
Running `/usr/bin/osascript -e delay 5 -e tell application "System Events" to restart` manually doesn't seem to do anything on macOS Sonoma beta 7, either, so I don't think this is an IAs-specific issue.
Any objection to changing this to something like `/sbin/shutdown -r now` instead?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review payload/Library/installapplications/installapplications.py around lines 415-419 and the linked LaunchDaemon configuration. Reproduce the reboot behavior on macOS Sonoma beta 7, then verify that the selected reboot command actually restarts the Mac and that the existing cleanup still completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100