Skip to content
Snippets Groups Projects

pv-runtime: Never bind-mount /etc/ld.so.cache, /etc/ld.so.conf

Merged Simon McVittie requested to merge wip/t14481 into master

bind_runtime_ld_so() is called whenever bwrap != NULL, and it makes /etc/ld.so.cache, /etc/ld.so.conf into symlinks to /run/pressure-vessel/ldso/ so that we can regenerate ld.so.cache in the adverb. This is done whether we have a mutable sysroot or not.

This resolves an automated test failure when running with --no-copy-runtime.


/cc @denittis

Testing in progress

Edited by Simon McVittie

Merge request reports

Pipeline #16579 passed

Pipeline passed for 59a02c5b on wip/t14481

Merged by Ludovico de NittisLudovico de Nittis 3 years ago (Aug 6, 2021 3:15pm UTC)

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
Please register or sign in to reply
Loading