Comment 28 for bug 431055

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote :

Indeed, I didn't notice this line.
However, the problem is that
ID_CDROM_MEDIA_SESSION_LAST_OFFSET
isn't set, thus blkid fails.

I suppose this is a bug in cdrom_id then, since it appears that it should set this variable.
I did test many disks, many disk types. They all behave the same

KERNEL=="sr*", ENV{ID_CDROM_MEDIA}=="?*", IMPORT{program}="/sbin/blkid -o udev -p -u noraid -O $env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} $tempnode"

This is a true bug chase.... it started with gvfs-gdu-volume-monitor and now it appears to be fault of udev