mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add workaround for lib389 HOME bug
lib389 <= 1.4.0.20 needs HOME env var. Temporary set env var until lib389 is fixed. See: https://pagure.io/389-ds-base/issue/50152 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
19b1eb1f5a
commit
2ba969da07
@ -526,6 +526,10 @@ class DsInstance(service.Service):
|
||||
self.backup_state("serverid", self.serverid)
|
||||
self.fstore.backup_file(paths.SYSCONFIG_DIRSRV)
|
||||
|
||||
# workaround for https://pagure.io/389-ds-base/issue/50152
|
||||
if 'HOME' not in os.environ:
|
||||
os.environ['HOME'] = api.env.home
|
||||
|
||||
# The new installer is api driven. We can pass it a log function
|
||||
# and it will use it. Because of this, we can pass verbose true,
|
||||
# and allow our logger to control the display based on level.
|
||||
|
Loading…
Reference in New Issue
Block a user