I’ve been trying to find the underlying cause of this, but have been unable to figure it out beyond the following:
Using this layout:
layout: /etc/ld.so.cache: bind-file: $SNAP_DATA/etc/ld.so.cache
When the snap is refreshed and a new
$SNAP_DATA/etc/ld.so.cache generated from the available libraries in the snap, by a post-refresh hook, the file found at
/etc/ld.so.cache does not reflect the changes. The
$SNAP_DATA file is successfully updated, but the mirror at
/etc has the original file’s timestamp and content.