Dmitrii Kuvaiskii

Results 681 comments of Dmitrii Kuvaiskii

Ok, something is totally broken: ``` [P1:T1:client] trace: ---- openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|0x80000, 0000) = 0x3 ... [P1:T1:client] trace: ---- openat(AT_FDCWD, "/usr/lib64/tls/libpthread.so.0", O_RDONLY|0x80000, 0000) = -2 [P1:T1:client] trace: ---- openat(AT_FDCWD, "/usr/lib64/libpthread.so.0",...

@tanishq-akula Could you show the output of `ls -la /usr/lib64/gramine/runtime/glibc`? Also, how did you build the `ra-tls-secret-prov` example? Can you show the exact commands that you used?

Everything looks perfect... I just don't see why the app tries to open `/usr/lib64/libpthread.so.0` instead of `/usr/lib64/gramine/runtime/glibc/libpthread.so.0`... Do other programs (other than `ra-tls-secret-prov`) run fine under Gramine on your system?...

Ok, another person reported the same problem on CentOS 8 Stream (which is basically the same as RHEL 8). The most interesting part is that it worked before -- there...

@tanishq-akula @boryspoplawski I debugged a similar error on another workload on a CentOS 8 machine. So in that other case, the root cause was this: ```bash $ strings /usr/lib64/libtcmalloc.so.4 |...

Just for your information: I was also considering that maybe the problem is in this quarantine feature: https://modules.readthedocs.io/en/v4.1.0/MIGRATING.html#quarantine-mechanism-to-protect-module-execution That's because I observed `MODULES_RUN_QUARANTINE=LD_LIBRARY_PATH LD_PRELOAD` environment variable set in that other...

@tanishq-akula Thanks for checking. The situation is worse than I thought :) Ok, so two more things: 1. First, you can just stop using Gramine-specific Glibc files. For this, remove...

> We have bare-metal servers with RHEL installed on them. One way to emulate this issue is to install RHEL on a VM. RedHat provides free license for RHEL OS...

@tanishq-akula If you want to build the latest Gramine from sources, then smth like this: 1. Uninstall the current Gramine installation! 2. Build and install Gramine: ``` git clone https://github.com/gramineproject/gramine.git...

@tanishq-akula I came up with another workaround to your original problem of `libpthread.so.0` error. Instead of the things that I recommended in an above comment (where you need to remove...