Comment 2 for bug 1811113

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Submitter: Zuul
Branch: master

commit cfba9ea79d903574afe58bbe3964c050676ee8da
Author: Michael Johnson <email address hidden>
Date: Wed Jan 9 18:27:59 2019 -0800

    Make sure $TMP_BUILD_DIR/mnt is owned by root

    The path $TMP_BUILD_DIR/mnt becomes the / inside the chroot during
    the chroot phases of diskimage-builder. Previously this path was being
    created using the account running diskimage-builder. This account may
    not be valid inside the chroot. This causes path validation, when running
    on a Ubuntu bionic host, to fail.
    This patch chown's the $TMP_BUILD_DIR/mnt to root.root to make sure
    that / is owned by a valid account inside the chroot.

    Change-Id: Ifedc136baa67c7952942aed2c8cb1041902fef91
    Closes-Bug: 1811113