During code review of https://github.com/freeipa/freeipa/pull/3484 I discovered that existing /etc/pkcs11/modules/softhsm2.module is not being restored as part of uninstallation.
I determined that the "file is first restored by fstore.restore_all_files(). Then the task is executed and the first thing it does is unlink() an existing file. Since the copy is not in the fstore anymore the restored file is just removed.
So either the call to restore_pkcs11_modules() needs to happen before fstore.restore_all_files() or perhaps it can be dropped altogether."
Metadata Update from @rcritten: - Issue assigned to rcritten
https://github.com/freeipa/freeipa/pull/3675
master:
ipa-4-8:
ipa-4-7:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.