Makemkv update now needs access to /sys/bus/scsi/devices (plug?)

Is there a plug that provides access to /sys/bus/scsi/devices? For unknown reasons (closed-source app that I’m packaging) makemkv is trying to access that directory presumably to get some hardware access to the bluray drive. The previous version didn’t do this but that is not downloadable anymore so we’re stuck with trying to figure a way to get it working with the new behaviour.


= AppArmor =              
Time: Jan 18 13:33:36     
Log: apparmor="DENIED" operation="open" profile="snap.makemkv.makemkvcon" name="/sys/bus/scsi/devices/" pid=26558 comm="makemkvcon" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0                          
File: /sys/bus/scsi/devices/ (read)                 
* adjust program to not access '/sys/bus/scsi/devices/'

These are the only references I can find to scsi in snapd:

Looks like hardware-observe can access @{PROC}/scsi/{,**} r, but not /sys/bus/scsi/devices/ that you require. @jdstrand is this is bug? If so, we can get one raised.

hmm, adding the hardware-observe and connecting it makes that denial go away but makemkv still can’t find my dvd/blurry

You have the optical-drive interface in your yaml, right?

Yup, I’ve got plugs as below:

      - hardware-observe
      - home
      - optical-drive
      - process-control
      - removable-media

They’re all connected.