Systems without FUSE can't use workspaces

Summary

If a system does not have FUSE, it's seems to be unable to use workspaces. This is an issue as certain platforms E.G. Microsoft's WSL (Windows Subsystem for Linux), do not support FUSE. This is a blocker for #412 (closed)

Steps to reproduce

Run buildstream tests on a windows machine using WSL, All workspace related tests should fail.

Alternatively, attempt to run bst workspace open [element] [dir] on WSL

What is the current bug behavior?

You will get an error which states: `Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems

What is the expected correct behavior?

The tests shoulds all pass Workspaces should be successfully opened

Relevant logs and/or screenshots

https://pastebin.com/yPHdcbcJ

Possible fixes

Other relevant information

  • BuildStream version affected: /milestone %BuildStream_v1.x

Edited by Phillip Smyth