Closed smcv closed 8 months ago
and/or, in pressure-vessel, tell libcapsule to look up
soname:libnss_files.so.2
and not justsoname-match:libnss_files.so.*
I have a prototype of this, which I'll try when time permits.
It looks as though any slowdown from this is too small to measure (within measurement variation) so addressing this in pressure-vessel seems viable.
@sylware, please try replacing SteamLinuxRuntime_sniper/pressure-vessel
with the result of unpacking this: https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/jobs/378173/artifacts/raw/_build/production/pressure-vessel-bin+src.tar.gz
That should hopefully result in libnss_files.so.2
(and similar plugins) being found and loaded into the container.
tested and working:
the container alsa-lib is not able to get the audio group id and set up its IPC access right properly.
doh, I meant "is able" to get the gid of the audio group ofc.
Thx.
Thanks, the change mentioned above is in the review queue for a future release.
Fixed in today's beta updates for "Steam Linux Runtime 3.0 (sniper)" and "Steam Linux Runtime 2.0 (soldier)", versioned as 0.20231211.x. Using the beta updates is the same as using the beta branch of a game, but instead of changing the properties of the game, change the properties of the various "Steam Linux Runtime" compatibility tools instead.
The client_beta
branch is normally intended to be used with the beta Steam client, but at the moment I believe it should be equally compatible with the general availability (non-beta) client.
These versions will be copied to the default (non-beta) branch when they have had more testing, most likely sometime in January.
These versions will be copied to the default (non-beta) branch when they have had more testing, most likely sometime in January.
Done in today's default branch updates for sniper and soldier, versioned 0.20231211.x.
Your system information
steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt
? (unspecified)Please describe your issue in as much detail as possible:
Originally part of https://github.com/ValveSoftware/Dota-2/issues/2390#issuecomment-1675592137.
@sylware reports:
Reading between the lines, I think that perhaps the issue that @sylware meant is something like this:
ld.so.cache
(which you can inspect withldconfig -p
) containslibnss_files.so.2
,libnss_dns.so.2
and so onLD_LIBRARY_PATH
that includes a non-default directory where they have installed these core glibc librariessoname:
lookup, as it does forlibidn2.so.0
, it consults theDT_RUNPATH
header, theLD_LIBRARY_PATH
environment variable andld.so.cache
, and will work correctlysoname-match:
lookup, as it does forlibnss_files.so.*
, this mode of operation does not takeDT_RUNPATH
orLD_LIBRARY_PATH
into account, onlyld.so.cache
libnss_files.so.2
, so parsing/etc/group
for textual group names does not work, which causes some sort of functional issue for ALSA dmix because it cannot find theaudio
group nameIf that guess is correct, then there are two possible solutions:
ldconfig
to generate ald.so.cache
that includes all libraries that they normally want to be found by programs (as a side-effect this will also make library lookup faster and more robust)soname:libnss_files.so.2
and not justsoname-match:libnss_files.so.*
(this will make container startup somewhat slower for everyone, not just @sylware, but we won't know how significant the slowdown is until we try it)Steps for reproducing this issue:
(None were provided)