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

Fix CA-less to CA-full upgrade #706

Closed
wants to merge 1 commit into from
Closed

Conversation

stlaz
Copy link
Contributor

@stlaz stlaz commented Apr 11, 2017

CertDB would have always created a directory on initialization. This
behavior changes here by replacing the truncate argument with create
which will only create the database when really required.

https://pagure.io/freeipa/issue/6853

CertDB would have always created a directory on initialization. This
behavior changes here by replacing the truncate argument with create
which will only create the database when really required.

https://pagure.io/freeipa/issue/6853
@stlaz
Copy link
Contributor Author

stlaz commented Apr 11, 2017

I am not a big fan of creating directories on object initialization, thus this change. Another way of doing this would be of course to check whether the pki-tomcat/alias dir exists in the first place and not create the CertDB there.

@tkrizek tkrizek self-assigned this Apr 12, 2017
@tkrizek tkrizek added the ack Pull Request approved, can be merged label Apr 12, 2017
@tkrizek
Copy link
Contributor

tkrizek commented Apr 12, 2017

master:

  • 9ac56e4 Fix CA-less to CA-full upgrade

ipa-4-5:

  • 7a6f78b Fix CA-less to CA-full upgrade

@tkrizek tkrizek added the pushed Pull Request has already been pushed label Apr 12, 2017
@tkrizek tkrizek closed this Apr 12, 2017
@stlaz stlaz deleted the caless_cafull branch July 7, 2017 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
2 participants