-
Notifications
You must be signed in to change notification settings - Fork 101
Remove update-ca-trust enable step #3954
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
base: master
Are you sure you want to change the base?
Conversation
The enable command was never valid. On EL 7 & 8 it was just ignored so effectively it ran twice. On EL 9 there is argument parsing and enable emits a deprecation warning to use extract. On EL 10 the enable command is no longer accepted and only extract is valid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM style-wise. Would you mind doing a tech review @m-bucher ?
FYI: In foreman on "devel", I still found one instance:
$ rg "update-ca-trust"
app/views/unattended/provisioning_templates/snippet/ca_registration.erb
31: update-ca-trust
Without a parameter is technically not a problem because that's the same as |
@m-bucher Can you please do a tech review? |
Friendly reminder: @m-bucher Can you please do a tech review? |
What changes are you introducing?
Always only run
update-ca-trust extract
.Why are you introducing these changes? (Explanation, links to references, issues, etc.)
The enable command was never valid. On EL 7 & 8 it was just ignored so effectively it ran twice. On EL 9 there is argument parsing and enable emits a deprecation warning to use extract. On EL 10 the enable command is no longer accepted and only extract is valid.
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
voxpupuli/puppet-trusted_ca@b3416c5 is where I originally wrote down my findings in the period that ca-certificates on EL9 didn't accept
enable
at all. It has since started to accept it again, with a deprecation warning.Checklists
Please cherry-pick my commits into: