Bug 31712

Summary: CD is not unmounted on button ejection
Product: udisks Reporter: grubshka
Component: detectionAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=34710
https://bugs.freedesktop.org/show_bug.cgi?id=27072
Whiteboard:
i915 platform: i915 features:
Attachments: "udisks --dump" output
"sudo udevadm info --export-db" output
"cat /proc/self/mountinfo" output
/etc/fstab (cd drive is not here... Probably not useful)

Description grubshka 2010-11-18 04:29:19 UTC
Created attachment 40368 [details]
"udisks --dump" output

When I mount a CD, and eject it, udisks doesn't unmount it.

Test case:
1. udisks --monitor
2. Insert a CD => udisks detects it
3. udisks --mount /dev/sr0
4. Eject it => udisks --monitor does not detect anything, and does not unmount it

If I don't mount it, udisks detects ejection.
If I eject it using the eject command, udisks unmount it normally.


The bug appears only when the CD is mounted AND when I eject the cd with the hardware button.

udisks 1.0.1 (also tested on git versions)
libatasmart 0.17
Comment 1 grubshka 2010-11-18 04:30:04 UTC
Created attachment 40369 [details]
"sudo udevadm info --export-db" output
Comment 2 grubshka 2010-11-18 04:30:56 UTC
Created attachment 40370 [details]
"cat /proc/self/mountinfo" output
Comment 3 grubshka 2010-11-18 04:32:19 UTC
Created attachment 40371 [details]
/etc/fstab (cd drive is not here... Probably not useful)
Comment 4 Martin Pitt 2011-04-04 03:40:52 UTC

*** This bug has been marked as a duplicate of bug 34710 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.