<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:martin.pitt@ubuntu.com" title="Martin Pitt <martin.pitt@ubuntu.com>"> <span class="fn">Martin Pitt</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - My system does not unmount some optical media ejected using optical device button"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72206">bug 72206</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>general
</td>
<td>general
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>zeuthen@gmail.com
</td>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<td style="text-align:right;">Product</td>
<td>udisks
</td>
<td>systemd
</td>
</tr>
<tr>
<td style="text-align:right;">QA Contact</td>
<td>
</td>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<td style="text-align:right;">Severity</td>
<td>major
</td>
<td>normal
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - My system does not unmount some optical media ejected using optical device button"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72206#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - My system does not unmount some optical media ejected using optical device button"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72206">bug 72206</a>
from <span class="vcard"><a class="email" href="mailto:martin.pitt@ubuntu.com" title="Martin Pitt <martin.pitt@ubuntu.com>"> <span class="fn">Martin Pitt</span></a>
</span></b>
<pre>This was discussed recently on the systemd (udev) mailing list:
<a href="http://lists.freedesktop.org/archives/systemd-devel/2015-January/026948.html">http://lists.freedesktop.org/archives/systemd-devel/2015-January/026948.html</a>
<a href="http://lists.freedesktop.org/archives/systemd-devel/2015-January/027403.html">http://lists.freedesktop.org/archives/systemd-devel/2015-January/027403.html</a>
After a lot of back and forth, it was decided that the most robust fix under
systemd is
<a href="http://lists.freedesktop.org/archives/systemd-devel/2015-January/027577.html">http://lists.freedesktop.org/archives/systemd-devel/2015-January/027577.html</a>
For the record, for distros without systemd it is easiest to adjust
/lib/udev/rules.d/60-cdrom_id.rules like this:
-ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode",
GOTO="cdrom_end"
+ENV{DISK_EJECT_REQUEST}=="?*", RUN+="/usr/bin/eject $devnode",
GOTO="cdrom_end"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>