GNOME Bugzilla – Bug 795602
Bwrap thumbnailer call doesn't bind /etc/ld.so.cache
Last modified: 2018-09-21 16:50:53 UTC
Created attachment 371456 [details] [review] Patch for the bwrap call gnome-desktop makes when thumbnailing to take ld.so.cache into account This issue is present in both gnome-desktop 3.26.2 and 3.28.1 (no other versions tested). The thumbnailing procedure breaks on linux systems (since bwrap/seccomp support is always enabled) where libraries required by the thumbnailers live under directories specified in /etc/ld.so.conf and /etc/ld.so.conf.d (therefore cached in /etc/ld.so.cache). Gentoo is an OS where libstdc++ lives under /usr/lib/gcc/x86_64-pc-linux-gnu/<version>. As such, totem-video-thumbnailer fails to run within bwrap using the standard parameter list. This can be resolved by adding an ro-bind to /etc/ld.so.cache (adding the .conf files won't resolve the problem because the .cache doesn't seem to automatically get regenerated). The attached patch resolves the problem for 3.26.2. Please let me know if you need any additional information...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-desktop/issues/81.