mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
os_anti_virus_installed errors: Load Failed 5 (Sonoma) #153
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cipineda on GitHub.
Summary
when running the remediation commands for 'os_anti_virus_installed' in Sonoma Beta 7 I'm getting error 5
(Summarize the bug encountered concisely)
Steps to reproduce
Run the remediation code:
/bin/launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.XProtect.daemon.scan.plist/bin/launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.XProtectFramework.PluginService.plistboth of the above commands return the following:
' "Load failed: 5: Input/output error
Try running:
launchctl bootstrapas root for richer errors" `(How one can reproduce the issue - this is very important)
Same as in steps to reproduce
Operating System version
Sonoma 14.0 Beta 7 (23A5337a)
Intel or Apple Silicon
Silicon
What is the current bug behavior?
the item is not remediated
What is the expected correct behavior?
daemons get properly loaded and item remediated
Relevant logs and/or screenshots
Output of checks
' "Load failed: 5: Input/output error
Try running:
launchctl bootstrapas root for richer errors" `Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
@robertgendler commented on GitHub:
The launchctl load works just fine.
When SIP is enabled, you can't disable Xprotect and so you can't load XProtect.
If you disable SIP, then stop and unload Xprotect the load -w will work fine.
@robertgendler commented on GitHub:
If you have an additional questions. Feel free to re-open it.