Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARD: "Could not update RemoteManagement preference file with new allowAccessFor setting" #70

Closed
americanhanko opened this issue Mar 17, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@americanhanko
Copy link
Collaborator

This error occurs occasionally during the unattended bootstrap process:

ard[activate and configure remote management] (lab_core::remote_management line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart] (/var/chef/cache/cookbooks/macos/resources/ard.rb line 72) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -access -on -privs -all ----
STDOUT: Starting...
Setting allow all users to YES.
STDERR: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
2018-03-17 01:29:30.569 defaults[1335:9723] Could not write domain /Library/Preferences/com.apple.RemoteManagement; exiting
Could not update RemoteManagement perference file with new allowAccessFor setting. at /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart line 1073.
---- End output of /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -access -on -privs -all ----
Ran /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -access -on -privs -all returned 2
@americanhanko americanhanko changed the title Could not update RemoteManagement preference file with new allowAccessFor setting ARD: "Could not update RemoteManagement preference file with new allowAccessFor setting" Mar 17, 2018
@americanhanko americanhanko self-assigned this Mar 17, 2018
@jazaval jazaval added this to the Release 2.7 milestone Oct 19, 2018
@jazaval jazaval self-assigned this Oct 23, 2018
@jazaval jazaval closed this as completed Oct 25, 2018
@jazaval jazaval mentioned this issue Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants