Description of problem:
I have two optical drives and when have any media inside the eject button no longer works neither.
But "eject /dev/sr0", right-click>eject and eject icon on nautilus works.
Version-Release number of selected component (if applicable):
Put any CD in tray.
Steps to Reproduce:
not a udev bug...
I guess, that your cdrom is automounted. To prevent the cdrom to be locked, while the cdrom is mounted do:
# echo 0 > /proc/sys/dev/cdrom/lock
# sysctl -w dev.cdrom.lock=0
to make it permanent
# echo 'dev.cdrom.lock=0' >> /etc/sysctl.conf
I think that is a bug.
The default behaviour should be optical drive unlocked.