Closed mrinaldhillon closed 4 years ago
Thanks for opening the issue!
@rhatdan, @giuseppe, WDYT? I think it makes sense to expand more path variables.
I agree, at least RunRoot
must be expanded
@ashley-cui PTAL
Hi @ashley-cui is there a reason to not expand just any environment variable ? For example I run the builds in repo sandbox with container tool binaries and writable paths i.e. storage root, tmpdirs are under the sandbox root. These paths are exported as environment variables during the build context of each product. $SBROOT/package/$PRODUCT/$VARIANT/build/containers/{storage,runroot,tmp}
I would guess this is ok. I don't think there is a security issue. Might lead to some unexpected issues. but very few users in the world would do this.
@rhatdan @mrinaldhillon Sounds good, I'll fix it in a bit
Thank you so much . You are simply awesome !!!
Description $UID/$USER does not expand in storage.conf with exception of rootless_storage_path
Describe the results you received: runroot is '/tmp/containers-$UID/storage'
Describe the results you expected: runroot should be /tmp/containers-1000/storage
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:*Output of `cat /etc/release`:**
Output of
uname -a
:Output of
cat /etc/containers/storage.conf
: