I had a server install which was upgraded to 4.8.5, then I uninstalled it and ran ipa-server-install again and it failed:
[15/21]: clean up any existing httpd ccaches [error] IsADirectoryError: [Errno 21] Is a directory: '/run/ipa/ccaches/upgrade_ccachessj4ov8i6' [Errno 21] Is a directory: '/run/ipa/ccaches/upgrade_ccachessj4ov8i6'
remove_httpd_ccaches() doesn't seem to clean directories, only files.
I wonder why shutil.rmtree(paths.IPA_CCACHES) wasn't used.
Metadata Update from @rcritten: - Issue assigned to rcritten
shutil also removes the directory so I call systemd-tmpfiles --create afterward to re-create it.
https://github.com/freeipa/freeipa/pull/5124
Metadata Update from @rcritten: - Issue priority set to: normal - Issue set to the milestone: FreeIPA 4.8.9
master:
ipa-4-8:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.