To see if the kernel is doing this, log in as root and type:
If the response is "1", you can permanently change it to "0" with the following steps.
1) edit /etc/sysctl.conf and add the following two lines:
# Disable CD/DVD/REV eject button lock when media inserted
2) Reboot the server to have the change take effect.