Running pacman with `libfakeroot.so` loaded into the environment via `LD_PRELOAD` now causes package add, but not remove, transactions to fail. An invocation with --disable-sandbox does not rectify this regression.
For example, this regression breaks functionality in my application, which provides a fakeroot shell as a management interface for unprivileged Arch Linux containers.
```
test ~># echo $LD_PRELOAD && pacman -S bash --disable-sandbox --noconfirm
libfakeroot.so:/lib64/libfakechroot.so
warning: bash-5.2.032-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) bash-5.2.032-2
Total Installed Size: 9.20 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
```
↧