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

Fixes #18356: Add a command to reset trust #325

Conversation

ncharles
Copy link
Member

@ncharles
Copy link
Member Author

PR updated with a new commit


if [ "${UUID}" = "root" ]
then
echo "Reinitializing all known keys on the root server breaks all agents. ABORTING!" >&2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it would break agents connection, server always trusts everybody. But it actually makes no sense as server only trust itself for remote-run or policy/file copy.

read a
fi

# - remove ppkeys (check will recreate them)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong comment

@ncharles
Copy link
Member Author

PR updated with a new commit

@Normation-Quality-Assistant

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder-agent/pull/325
-- Your faithful QA
Kant merge: "Two things awe me most, the starry sky above me and the moral law within me."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/31178/console)

@amousset
Copy link
Member

OK, squash merging this PR

@amousset amousset force-pushed the bug_18356/add_a_command_to_reset_trust branch from 03d0496 to dd1b1a9 Compare October 20, 2020 08:12
@amousset amousset merged commit dd1b1a9 into Normation:branches/rudder/6.1 Oct 20, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants