Comment 0 for bug 1603879

Revision history for this message
Luke Yelavich (themuso) wrote :

 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:
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.