-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for /proc/self/mountinfo
#2059
Comments
/proc/self/mountinfo
fyi @bronzeMe using passthrough is working, if completely secure or making sense im not sure of:
|
This is unlikely to be secure or correct. Security: The app will trust this info which will be fully host-controlled if you just passthrough it. |
Would it be better to then just mount a static checksummed file instead? That would make the elastic and java check succeed. |
Yes, assuming you put meaningful data inside (corresponding to what's actually mounted inside Gramine). |
Description of the feature
For some software, such as Elasticsearch, it relies on /proc/self/mountinfo to detect certain features of the file system. The detailed code is as follows:
https://github.com/elastic/elasticsearch/blob/9584d10078d156e62736ad58aea1985252b889d4/server/src/main/java/org/elasticsearch/env/ESFileStore.java#L43
How can Gramine support /proc/self/mountinfo? If code needs to be added to enable this feature for Gramine, what should be done?
Why Gramine should implement it?
Running Elasticsearch on Gramine.
The text was updated successfully, but these errors were encountered: