CD Tray opens after reboot
Hello,
Yesterday, I installed Artix with the OpenRC init system and XFCE as the DE, all went smoothly.
But today, I tried to restart the OS to fix some grub issue, and the CD tray opened when Artix was booting up.
At first, I thought it was maybe me clicking it randomly, so I tried restarting again, and it did the same thing.
So I looked online and found a script to log the process that executes /usr/bin/eject at startup, which is the following:
#!/usr/bin/bash
echo "eject `ps -o %a`" >> /home/tux/cdtray.log
oldeject
and rebooted the system, the CD tray still opened, but there was no cdtray.log in the home folder.
This issue happens only when I try to restart the computer, if I fully shutdown and then boot it up, the CD tray doesn't eject.
Do you guys have any idea why its happening and is there any way to fix it?
I'll happily provide more logs if needed.