unable to start enroot container

Open
#238 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, shell

Research direction

Start by reproducing enroot start test after running ./enroot-check_3.5.0_x86_64.run. Inspect the failure from /etc/enroot/hooks.d/98-nvidia.sh and the reported /proc/self/ns/mnt permission error, then compare the environment with the requirements document. Done means identifying the missing permission or configuration and documenting a verified resolution.

Written by the indexing model from the issue text.

Description

i am facing issue while starting the enroot container.

i tried running the script shared in requirement doc to check if all the pre requisites are met. i dont see any issue there, yet i see this issue. can you please let me know if there is anything missing?

earlier i used to get the following error

[INFO] Extracting squashfs filesystem...

Parallel unsquashfs: Using 4 processors
425 inodes (144 blocks) to write

[===========================================================================================================================================================================|] 569/569 100%

created 90 files
created 98 directories
created 335 symlinks
created 0 devices
created 0 fifos
created 0 sockets
created 0 hardlinks
enroot-nsenter: failed to create user namespace: Permission denied

this got resolve by adding "unprivileged_userns" apparmor in complain mode.

i am running the check from requirements doc and seems to be fine.
./enroot-check_3.5.0_x86_64.run
Extracting [####################] 100%
Bundle ran successfully!

but enroot start gives this error.

enroot start test
nvidia-container-cli: initialization error: open failed: /proc/self/ns/mnt: permission denied
[ERROR] /etc/enroot/hooks.d/98-nvidia.sh exited with return code 1

can you please let me know if there is anything missing?

Dominant language
Shell
Stars
1.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/enroot

All issues in NVIDIA/enroot

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.