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

Code Review gerrit at ovirt.org
Tue Jul 25 07:30:22 UTC 2017


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

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

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>
---
M src/plugins/gr-he-common/vm/boot_disk.py
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, but someone else must approve
  Simone Tiraboschi: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Yedidyah Bar David: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/79755
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: master
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