Skip to content
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

can not start gramine #1103

Closed
mccoysc opened this issue Jan 5, 2023 · 11 comments
Closed

can not start gramine #1103

mccoysc opened this issue Jan 5, 2023 · 11 comments

Comments

@mccoysc
Copy link

mccoysc commented Jan 5, 2023

Description of the problem

87F7B379-ED93-44F2-A499-20C07AFA135F

Steps to reproduce

No response

Expected results

No response

Actual results

No response

Gramine commit hash

i do not know(the latest docker image in docker hub)

@dimakuv
Copy link

dimakuv commented Jan 5, 2023

@mccoysc
Copy link
Author

mccoysc commented Jan 5, 2023

Please try to do mount -o remount,exec /dev.

See explanations e.g. here: https://docs.oasis.io/node/run-your-node/prerequisites/set-up-trusted-execution-environment-tee/#ensure-dev-is-not-mounted-with-the-noexec-option

continue get a same error

@dimakuv
Copy link

dimakuv commented Jan 5, 2023

Can you show your ls -la /dev/*sgx*?

@mccoysc
Copy link
Author

mccoysc commented Jan 5, 2023

Can you show your ls -la /dev/*sgx*?

this is the host ls /dev
image

this is the docker cmd line:
image

this is the ls /dev in docker:
image

@dimakuv
Copy link

dimakuv commented Jan 5, 2023

Please post the output of the exact command that I asked for (on the host and inside Docker container).

@mccoysc
Copy link
Author

mccoysc commented Jan 5, 2023

and my host os is "centos 8"

@mccoysc
Copy link
Author

mccoysc commented Jan 5, 2023

Please post the output of the exact command that I asked for (on the host and inside Docker container).

this is the ls -la /dev/sgx in host os:
image

this is the ls -la /dev/sgx in docker instance:
image

@dimakuv
Copy link

dimakuv commented Jan 5, 2023

Looks legit, given that you're running everything under root user.

What is the output of ls -la / | grep dev?

@mccoysc
Copy link
Author

mccoysc commented Jan 5, 2023

Looks legit, given that you're running everything under root user.

What is the output of ls -la / | grep dev?

image

@dimakuv
Copy link

dimakuv commented Jan 5, 2023

I'm out of ideas. Things look correct.

Could you check this: gramineproject/graphene#2437 (comment)

@mkow
Copy link
Member

mkow commented Jan 9, 2023

@mccoysc: Please stop posting logs as screenshots.

Anyways, CentOS 8 is not supported anymore neither by us nor by its original vendor, so I'm closing this issue.

@mkow mkow closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants