jailmaker icon indicating copy to clipboard operation
jailmaker copied to clipboard

Unable to mount a folder in jails with latest version 1.4.1

Open SeiyaGame opened this issue 1 month ago • 1 comments

READ THIS FIRST How to ask for help? (including discussion vs issue)

Describe the bug On a clean installation of Truenas scale (24.04.0), I installed the latest version of jailmaker (1.4.1) and the --bind doesn't work. Nothing goes up inside the jail. I have downgraded the script to version 1.4.0 and all --bind mounts work correctly, but I need to add the fix for the nvidia driver : --bind-ro='/usr/lib/x86_64-linux-gnu/nvidia/current'

To Reproduce Steps to reproduce the behavior:

  1. Install the script in version 1.4.1 and create a new jail with gpu_passthrough_nvidia=1 and add a --bind mount.
  2. Check in the jail if the mount is present, which it isn't.
  3. Rollback the script to version 1.4.0 and add --bind-ro='/usr/lib/x86_64-linux-gnu/nvidia/current' to fix the error with the nvidia gpu and check if the other --bind mount is present, which it is!

Expected behavior Rollback the https://github.com/Jip-Hop/jailmaker/pull/166 or find an fix

SeiyaGame avatar May 17 '24 12:05 SeiyaGame