When the system is asked to shutdown, the system ejects the CD and instantly shutdown, leaving the CD-ROM drive open. I think it'd be good if the system ask the user to take the CD-ROM from the drive and qhen he/she press a key the system turns off.
Yeah, power off while tray out is less than optimal. But, it might depend on your CD drive hardware behavior. According to eject man page
-a on|1|off|0
This option controls the auto-eject mode, supported by some devices. When enabled, the drive automatically ejects when the device is closed.
So, perhaps you should try eject -a off to see if that prevents the eject at shutdown. If it works, add it to startup scripts, e.g. via system settings > startup applications.
Of course if you'd wish to really tinker with this, you'd need to edit the runlevel 0 scripts.
Yeah, power off while tray out is less than optimal. But, it might depend on your CD drive hardware behavior. According to eject man page
-a on|1|off|0
This option controls the auto-eject mode, supported by some devices. When enabled, the drive automatically ejects when the device is closed.
So, perhaps you should try eject -a off to see if that prevents the eject at shutdown. If it works, add it to startup scripts, e.g. via system settings > startup applications.
Of course if you'd wish to really tinker with this, you'd need to edit the runlevel 0 scripts.
I've change the title as it was wrong.