Skip to content

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

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