You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When unloading some services, launchd prints "Operation in progress." to stderr before
the unload completes. Salt interprets output on stderr as a failure even if return code is 0.
This is new behavior on macOS 10.15 and is not exhibited on 10.14 or previous versions.
Setup
Grab a mac with macOS 10.15 or newer.
Steps to Reproduce the behavior
Put below stanza into a state and run the state:
@lifanov thank you for the report. By quick look I've found no correlation between stderr and retcode that is used by salt to identify the proc run result. But it could be a timeout or something else. Could you please provide the minion debug log related to the issue?
Well, there a few things. System Daemons are protected by System Integrity Protection. So if SIP is disabled then you may be able to use Salt to modify them.
Second, if SIP is disabled then this looks like a similar issue that is resolved in 3002.
Description
When unloading some services, launchd prints "Operation in progress." to stderr before
the unload completes. Salt interprets output on stderr as a failure even if return code is 0.
This is new behavior on macOS 10.15 and is not exhibited on 10.14 or previous versions.
Setup
Grab a mac with macOS 10.15 or newer.
Steps to Reproduce the behavior
Put below stanza into a state and run the state:
Expected behavior
Service is unloaded, state is successful.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Even though the state correctly unloads the service, dependent states fail to execute because salt state is a failure.
The text was updated successfully, but these errors were encountered: