udisks2 not enumerating multiple CD burners correctly

Bug #1508258 reported by StoatWblr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

This is a long-standing bug in the upstream code which is tickled by corner cases (Multiple identical Optiarc CD/DVD burners and K3b)

If there are multiple CD burners installed and if they abuse the serial number field, then udisks2 and earlier software isn't picking them up correctly.

In this system there are 3 burners. Note how it's reporting sr0 and sr1

$ udisksctl status
MODEL REVISION SERIAL DEVICE
--------------------------------------------------------------------------
SAMSUNG SSD 830 Series CXM03B1Q S0WKNEAC7XXXXX sda
Samsung SSD 840 Series DXT07B0Q S14LNEAD1XXXXX sdb
Optiarc DVD RW AD-7203S 1.09 Optiarc_DVD_RW_AD-7203S sr0 sr1
Optiarc DVD RW AD-7173S 1-00 Optiarc_DVD_RW_AD-7173S sr2

_most_ packages still see 3 drives, however k3b finds itself confused because it's only looking at udi = '/org/freedesktop/UDisks2/drives/' instead of also also checking '/org/freedesktop/UDisks2/block_devices/'

See K3b bug 337553 - https://bugs.kde.org/show_bug.cgi?id=337553

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: udisks2 2.1.6-2
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: nvidia zfs zunicode zcommon znvpair zavl
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
CustomUdevRuleFiles: 99-virtualgl-dri.rules
Date: Wed Oct 21 01:06:13 2015
ProcKernelCmdLine: root=ZFS=/ROOT/Root-1 ro boot=zfs rpool=MAGENTA elevator=noop panic=30 reboot=w zswap.enabled=1 bootdegraded=true nomdmonddf nomdmonisw crashkernel=384M-:128M
SourcePackage: udisks2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/09/2010
dmi.bios.vendor: Intel Corp.
dmi.bios.version: JOQ3510J.86A.1143.2010.1209.0048
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ35JO
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD82085-803
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrJOQ3510J.86A.1143.2010.1209.0048:bd12/09/2010:svntranstecAG:pn:pvr:rvnIntelCorporation:rnDQ35JO:rvrAAD82085-803:cvn:ct3:cvr:
dmi.sys.vendor: transtec AG

Revision history for this message
StoatWblr (stoatwblr) wrote :
Revision history for this message
StoatWblr (stoatwblr) wrote :

Nudge.....

Revision history for this message
Sebastien Bacher (seb128) wrote :

you might want to report that bug upstream on http://bugs.freedesktop.org/

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Just to follow-up; Have you reported the problem upstream? Do you have a ticket number?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.