aboutsummaryrefslogtreecommitdiff
path: root/docs/refman/main.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-04-11 12:42:36 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2023-05-24 02:02:52 +0530
commite5928e63d09f7fd67f1559864c126f25377d2972 (patch)
tree74ef7d15b1816894050b3064b4fbd7ec17d8bbdc /docs/refman/main.py
parent452d1c56739faeb51b0915f6322c20a5d2454708 (diff)
downloadmeson-e5928e63d09f7fd67f1559864c126f25377d2972.zip
meson-e5928e63d09f7fd67f1559864c126f25377d2972.tar.gz
meson-e5928e63d09f7fd67f1559864c126f25377d2972.tar.bz2
minstall: work around broken environments with missing UIDs
Running some container-like mechanisms such as chroot(1) from sudo, can result in a new isolated environment where the environment variables exist but no users exist. From there, a build is performed as root but installation fails when we try to look up the passwd database entry for the user outside of the chroot. Proper container mechanisms such as systemd-nspawn, and even improper ones like docker, sanitize this and ensure those stale environment variables don't exist anymore. But chroot is very low-level. Avoid crashing when this happens. Fixes #11662
Diffstat (limited to 'docs/refman/main.py')
0 files changed, 0 insertions, 0 deletions