Comment 6 for bug 1892008

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/train)

Reviewed: https://review.opendev.org/746842
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=662b0acd91266d28bf3b0b7a4c68ba919182c56a
Submitter: Zuul
Branch: stable/train

commit 662b0acd91266d28bf3b0b7a4c68ba919182c56a
Author: Oliver Walsh <email address hidden>
Date: Tue Aug 18 14:31:18 2020 +0100

    Ensure atomic inventory file rename runs on the same mountpoint

    Linux rename system call is only supported on the same mountpoint [1].
    /tmp is often a tmpfs mount, so instead generate the temp inventory file in
    the same directory as the target inventory file.

    [1] See EXDEV in https://man7.org/linux/man-pages/man2/rename.2.html

    Change-Id: Id306243352f310f9054506577aa9bbce3790a7e5
    Closes-bug: #1892008
    (cherry picked from commit fbd575cbe88400bad1ce4d37b914d7ae8a43e15c)