Skip to content

sudo: sorry, you are not allowed to set the following environment variables

Created by: krathalan

I have been running makechrootpkg as an unprivileged non-sudo-enabled user for a long time with the following /etc/sudoers snippet:

builder ALL=(ALL) NOPASSWD:/usr/bin/makechrootpkg

After installing the 20211129-1 devtools package, I now get the following error running makechrootpkg:

sudo: sorry, you are not allowed to set the following environment variables: BUILDTOOL, BUILDTOOLVER

Here is the full bash -x makechrootpkg output: https://gist.github.com/krathalan/d5103a058c210b672241ad874987860e

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information