jbleonesio commented on issue #1974:
URL: https://github.com/apache/buildstream/issues/1974#issuecomment-2504515938

   Simply passing `--bind-mount=/dev/fuse:/dev/fuse` in  
`_sandboxbuildboxrun.py` doesn't seem to make the cut since the error message I 
get passed from `fuse: device not found, try 'modprobe fuse' first` to 
`fusermount: mount failed: Operation not permitted`.
   
   I can however confirm that `/dev/fuse` is properly exposed in the build 
sandbox :
   <pre><code>
   + sh -c -e 'ls -lh /dev
   '
   total 0
   lrwxrwxrwx 1     0     0      11 Nov 27 17:44 core -> /proc/kcore
   lrwxrwxrwx 1     0     0      13 Nov 27 17:44 fd -> /proc/self/fd
   crw-rw-rw- 1 65534 65534  1,   7 Nov 26 12:44 full
   <b>crw-rw-rw- 1 65534 65534 10, 229 Nov 26 12:44 fuse</b>
   crw-rw-rw- 1 65534 65534  1,   3 Nov 26 12:44 null
   lrwxrwxrwx 1     0     0       8 Nov 27 17:44 ptmx -> pts/ptmx
   drwxr-xr-x 2     0     0       0 Nov 27 17:44 pts
   crw-rw-rw- 1 65534 65534  1,   8 Nov 26 12:44 random
   drwxr-xr-x 2     0     0      40 Nov 27 17:44 shm
   lrwxrwxrwx 1     0     0      15 Nov 27 17:44 stderr -> /proc/self/fd/2
   lrwxrwxrwx 1     0     0      15 Nov 27 17:44 stdin -> /proc/self/fd/0
   lrwxrwxrwx 1     0     0      15 Nov 27 17:44 stdout -> /proc/self/fd/1
   crw-rw-rw- 1 65534 65534  5,   0 Nov 27 15:12 tty
   crw-rw-rw- 1 65534 65534  1,   9 Nov 26 12:44 urandom
   crw-rw-rw- 1 65534 65534  1,   5 Nov 26 12:44 zero
   </code></pre>
   
   I guess the build sandbox also needs some additional capabilities to be able 
to use the mount syscall.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to