Skip to content
Snippets Groups Projects

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

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading