Replies: 2 comments 8 replies
-
Testing convert to discussion.. |
Beta Was this translation helpful? Give feedback.
-
Hi @DemiMarie! It looks like you're working on behalf of Qubes. Is this correct? I want to get a little bit more information on what specifically you're requesting. We have talked about exposing block devices but there's been no motion on that yet. Ideally what would be looking to expose via this interface? Would you be looking for the entire Stratis stack other than the filesystems on top? If so this would mainly correspond to exposing a set up pool as a block device which I think is doable from what I've seen. Most likely, the end result would look something like a single thin device on top of a thin pool without an XFS filesystem on it that could be consumed as a block device by users. If this is not what you're asking for, could you specify further? As for your comment about udev, I'd like to dig into this a little bit deeper. Currently, we rely fairly heavily on udev for device detection. I'd like to get a little bit more information on exactly what part of udev you object to. For example, I'm assuming uevents triggered by the kernel are not the problem. Is the primary concern the rules that do can execute arbitrary commands? Is it automatically scanning the superblock implicitly with blkid? I'd like to get more information on exactly which part of the udev scanning process you're threat modeling so that I can give you a better answer on whether we can provide you with an option that still preserves our functionality for preventing users from overwriting existing used devices while also giving you the ability to do what you need to to avoid the parts of udev that you're concerned about. |
Beta Was this translation helpful? Give feedback.
-
This would make Stratis much more useful for virtualization, where an entire block device is passed into a VM. Raw volumes must not be scanned by udev as their contents are potentially attacker-controlled.
Beta Was this translation helpful? Give feedback.
All reactions