From b44ee405f734d8a23ba1159ccd35bb832d3c0303 Mon Sep 17 00:00:00 2001 From: soredake Date: Mon, 18 Sep 2017 02:19:33 +0300 Subject: fix usage of STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 in steam.profile steam.sh executes `/sbin/ldconfig -XNv 2> /dev/null` when STEAM_RUNTIME_PREFER_HOST_LIBRARIES is not zero and fails in some cases (see https://github.com/ValveSoftware/steam-for-linux/issues/4768) because of blacklisted /sbin and missing ld.so.conf{,.d} https://steamcommunity.com/groups/SteamClientBeta/announcements/detail/586991182161672256 --- etc/steam.profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/steam.profile b/etc/steam.profile index 227162e1f..b4b9ede70 100644 --- a/etc/steam.profile +++ b/etc/steam.profile @@ -21,6 +21,8 @@ noblacklist ${HOME}/.steampath noblacklist ${HOME}/.steampid # with >=llvm-4 mesa drivers need llvm stuff noblacklist /usr/lib/llvm* +# needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work +noblacklist /sbin include /etc/firejail/disable-common.inc include /etc/firejail/disable-devel.inc @@ -44,5 +46,5 @@ shell none # private-dev should be commented for controllers private-dev -private-etc asound.conf,ca-certificates,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,lsb-release,machine-id,mime.types,passwd,pulse,resolv.conf,ssl +private-etc asound.conf,ca-certificates,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,ld.so.conf,ld.so.conf.d,localtime,lsb-release,machine-id,mime.types,passwd,pulse,resolv.conf,ssl private-tmp -- cgit v1.2.3-54-g00ecf