This was discussed recently on the systemd (udev) mailing list:
http://lists.freedesktop.org/archives/systemd-devel/2015-January/026948.html http://lists.freedesktop.org/archives/systemd-devel/2015-January/027403.html
After a lot of back and forth, it was decided that the most robust fix under systemd is
http://lists.freedesktop.org/archives/systemd-devel/2015-January/027577.html
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"
This was discussed recently on the systemd (udev) mailing list:
http:// lists.freedeskt op.org/ archives/ systemd- devel/2015- January/ 026948. html lists.freedeskt op.org/ archives/ systemd- devel/2015- January/ 027403. html
http://
After a lot of back and forth, it was decided that the most robust fix under systemd is
http:// lists.freedeskt op.org/ archives/ systemd- devel/2015- January/ 027577. html
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" EJECT_REQUEST} =="?*", RUN+="/ usr/bin/ eject $devnode", GOTO="cdrom_end"
+ENV{DISK_