mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 22:27:41 -05:00
Create temporaty directories at the begining of uninstall
Since commit 38c6689 temporary directories are no longer created at package
install time. Instead they're created at server install time.
Some steps in uninstall also assume that temporary direcories exist. Creating
the directories in the begining of server uninstall ensure that the uninstall
will go through.
https://pagure.io/freeipa/issue/6715
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
1 parent
8c1409155e
commit
3dcd342631
1 file changed
+4
@@ -1042,6 +1042,10 @@ def uninstall(installer):
|
||||
|
||||
rv = 0
|
||||
|
||||
# further steps assumes that temporary directories exists so rather
|
||||
# ensure they are created
|
||||
tasks.create_tmpfiles_dirs()
|
||||
|
||||
print("Shutting down all IPA services")
|
||||
try:
|
||||
services.knownservices.ipa.stop()
|
||||
|
||||
Reference in new issue
Block a user