diff options
author | 2017-09-18 02:19:33 +0300 | |
---|---|---|
committer | 2017-09-18 02:19:33 +0300 | |
commit | b44ee405f734d8a23ba1159ccd35bb832d3c0303 (patch) | |
tree | 10f29eeb836fcb9468f5e65ac420d64c99bb3a14 | |
parent | whitelist /var - Xubuntu fixes (diff) | |
download | firejail-b44ee405f734d8a23ba1159ccd35bb832d3c0303.tar.gz firejail-b44ee405f734d8a23ba1159ccd35bb832d3c0303.tar.zst firejail-b44ee405f734d8a23ba1159ccd35bb832d3c0303.zip |
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
-rw-r--r-- | etc/steam.profile | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
21 | noblacklist ${HOME}/.steampid | 21 | noblacklist ${HOME}/.steampid |
22 | # with >=llvm-4 mesa drivers need llvm stuff | 22 | # with >=llvm-4 mesa drivers need llvm stuff |
23 | noblacklist /usr/lib/llvm* | 23 | noblacklist /usr/lib/llvm* |
24 | # needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work | ||
25 | noblacklist /sbin | ||
24 | 26 | ||
25 | include /etc/firejail/disable-common.inc | 27 | include /etc/firejail/disable-common.inc |
26 | include /etc/firejail/disable-devel.inc | 28 | include /etc/firejail/disable-devel.inc |
@@ -44,5 +46,5 @@ shell none | |||
44 | 46 | ||
45 | # private-dev should be commented for controllers | 47 | # private-dev should be commented for controllers |
46 | private-dev | 48 | private-dev |
47 | 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 | 49 | 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 |
48 | private-tmp | 50 | private-tmp |