Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-144456

CDROM drive tray doesn't open any more after installation

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • anaconda-40.22.3.45-1.el10
    • Yes
    • Important
    • 1
    • rhel-anaconda
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • 26Q1 - Feb 10
    • Release Note Not Required
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      When running an installation from a CDROM drive, the drive tray should open at the end of the installation. This is not happening any more and the tray stays closed.

      It works with RHEL-10.2-20251118.1 / systemd-257-16.el10 (built using lorax-templates-rhel-10.1-3.el10)
      It doesn't work with RHEL-10.2-20260113.3 / systemd-257-21.el10 (built using lorax-templates-rhel-10.2-1.el10)

      The problem can be fixed by re-creating the installation images with the packages from RHEL-10.2-20260113.3, but downgrading to older lorax-templates-rhel-10.1-3.el10 on the build system.

      RHEL-126547 was the only change in lorax-templates-rhel-10.2-1.el10, the relevant change is:
      https://gitlab.com/redhat/centos-stream/rpms/lorax-templates-rhel/-/commit/b4fa4064edb449b237dcb9e64ea1599ef8cb7873

      Instead of an empty /etc/selinux/config file in the installation environment we now have:

      [anaconda root@localhost /]# cat /etc/selinux/config
      SELINUX=permissive
      SELINUXTYPE=targeted
      [anaconda root@localhost /]#
      

      And indeed, if I remove the content of the file before rebooting the system, the drive tray opens during reboot:

      [anaconda root@localhost /]# cat /etc/selinux/config
      SELINUX=permissive
      SELINUXTYPE=targeted
      [anaconda root@localhost /]# echo "" > /etc/selinux/config
      [anaconda root@localhost /]# cat /etc/selinux/config
      
      [anaconda root@localhost /]#
      

      Please provide the package NVR for which the bug is seen:

      RHEL-10.2-20260113.3
      systemd-257-21.el10
      dracut-107-3.el10
      anaconda-40.22.3.39-1.el10
      lorax-40.5.13-1.el10
      lorax-templates-rhel-10.2-1.el10

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. boot a KVM VM from DVD.iso/boot.iso
      2. start watching events from the VM using virsh:
        virsh event --domain <name> --all --loop
        
      1. finish the installation and reboot at the end of the installation

      Expected results

      The media tray opens at the end of the installation, virsh reports:

      event 'rtc-change' for domain 'rhel-10-eject-old': 0
      event 'tray-change' for domain 'rhel-10-eject-old' disk sata0-0-0: opened
      event 'reboot' for domain 'rhel-10-eject-old'
      

      Actual results

      The media tray doesn't open at the end of the installation:

      event 'rtc-change' for domain 'rhel-10-eject': 0
      event 'reboot' for domain 'rhel-10-eject'
      

      Additional info

      When running the installation with rd.debug on the kernel command line, dracut shutdown scripts are not executed at all in case of RHEL-10.2-20260113.3. See the attached logs from log_20251118.1 and log_20260113.3

        1. log_20251118.1
          1.45 MB
        2. log_20260113.3
          1.31 MB

              kkoukiou Katerina Koukiou
              jstodola@redhat.com Jan Stodola
              Katerina Koukiou
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Sagar Dubewar Sagar Dubewar
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: