Skip to content

_v2-entry-point: Unset LD_PRELOAD before calling external commands

Ludovico de Nittis requested to merge wip/denittis/t28950 into master

LD_PRELOAD usually contains libraries such as gameoverlayrenderer.so that can throw a warning if we try to preload them without adjusting them first.

For this reason we unset LD_PRELOAD and pass its values as arguments for pressure-vessel-wrap, that will adjust them before launching the requested program/game.

A similar thing was already done in pressure-vessel-unruntime, but we should do it at the very first opportunity to avoid preloading warnings every time we launch an external command.


This includes !53 (merged) and is related to steam-runtime-tools!333 (merged)

Edited by Ludovico de Nittis

Merge request reports