Requesting additions to optical-drive interface for cdparanoia.

Bug #1603879 reported by Luke Yelavich on 2016-07-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Medium
Unassigned

Bug Description

 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.

Luke Yelavich (themuso) wrote :
tags: added: snapd-interface
Changed in snappy:
status: New → Triaged
Michael Vogt (mvo) on 2016-11-29
Changed in snappy:
importance: Undecided → Medium
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers