As previously discussed on the snapcraft ML, cdparanoia needs some extra ioctls to work properly, and they probably need to be allowed for the optical-drive interface.
The following ioctls are required:
SG_IO
SCSI_IOCTL_GET_IDLUN
SCSI_IOCTL_GET_BUS_NUMBER
SG_EMULATED_HOST
SG_GET_SG_TABLESIZE
SG_GET_RESERVED_SIZE
SG_SET_RESERVED_SIZE
CDROMMULTISESSION
Attached is a log from strace showing the syscalls used, when cdparanoia is called with -vsQ, which verbosely outputs a search for available drives, and the toc of an inserted disc.
affects snappy
As previously discussed on the snapcraft ML, cdparanoia needs some extra ioctls to work properly, and they probably need to be allowed for the optical-drive interface.
The following ioctls are required: GET_IDLUN GET_BUS_ NUMBER RESERVED_ SIZE RESERVED_ SIZE
SG_IO
SCSI_IOCTL_
SCSI_IOCTL_
SG_EMULATED_HOST
SG_GET_SG_TABLESIZE
SG_GET_
SG_SET_
CDROMMULTISESSION
Attached is a log from strace showing the syscalls used, when cdparanoia is called with -vsQ, which verbosely outputs a search for available drives, and the toc of an inserted disc.