Change in ovirt-hosted-engine-setup[ovirt-hosted-engine-setup-2.1]: upgrade: unset XDG_RUNTIME_DIR before calling libguestfs

Code Review gerrit at ovirt.org
Wed Jul 26 12:27:02 UTC 2017


>From Simone Tiraboschi <stirabos at redhat.com>:

Simone Tiraboschi has submitted this change and it was merged. ( https://gerrit.ovirt.org/79784 )

Change subject: upgrade: unset XDG_RUNTIME_DIR before calling libguestfs
......................................................................


upgrade: unset XDG_RUNTIME_DIR before calling libguestfs

Newer (> 1.32 - RHEL 7.4) version of libguestfs relies on the value
of XDG_RUNTIME_DIR, if set, to choose its temporary directory.
Since we are changing from root user to vdsm user, we have to
unset XDG_RUNTIME_DIR as well.

Bug-Url: https://bugzilla.redhat.com/1467813

Change-Id: Icda24ad4cc381126ddc094377babf413457e5eb7
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
(cherry picked from commit 6a5eed388f6985c9dd3e092cced6bee7e20b8d6b)
---
M src/plugins/gr-he-common/vm/boot_disk.py
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Simone Tiraboschi: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/79784
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icda24ad4cc381126ddc094377babf413457e5eb7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: ovirt-hosted-engine-setup-2.1
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Ido Rosenzwig <irosenzw at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Rafael Martins <rafael at rafaelmartins.eng.br>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list