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

[Backport][ipa-4-7] ipa-backup: better error message if ENOSPC #3120

Closed
wants to merge 1 commit into from
Closed

[Backport][ipa-4-7] ipa-backup: better error message if ENOSPC #3120

wants to merge 1 commit into from

Conversation

fcami
Copy link
Contributor

@fcami fcami commented May 7, 2019

MANUAL BACKPORT WITH NO CHANGE

When the destination directory cannot store the complete backup
ipa-backup fails but does not explain why.
This commit adds error-checking to db2ldif(), db2bak() and
finalize_backup() and enhances the error message.

Fixes: https://pagure.io/freeipa/issue/7647
Signed-off-by: François Cami fcami@redhat.com
Reviewed-By: Florence Blanc-Renaud flo@redhat.com
Reviewed-By: Tibor Dudlák tdudlak@redhat.com
Reviewed-By: Christian Heimes cheimes@redhat.com
Reviewed-By: Thomas Woerner twoerner@redhat.com

When the destination directory cannot store the complete backup
ipa-backup fails but does not explain why.
This commit adds error-checking to db2ldif(), db2bak() and
finalize_backup() and enhances the error message.

Fixes: https://pagure.io/freeipa/issue/7647
Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Tibor Dudlák <tdudlak@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
@fcami fcami added ack Pull Request approved, can be merged re-run Trigger a new run of PR-CI labels May 7, 2019
@freeipa-pr-ci freeipa-pr-ci removed the re-run Trigger a new run of PR-CI label May 7, 2019
@fcami
Copy link
Contributor Author

fcami commented May 7, 2019

ipa-4-7:

  • d6492fa ipa-backup: better error message if ENOSPC

@fcami fcami added the pushed Pull Request has already been pushed label May 7, 2019
@fcami fcami closed this May 7, 2019
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