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

[RHEL 8.8] System gets hang forever during shutdown while running a stop job on luks mapped volume.

    • Yes
    • Critical
    • Regression
    • Customer Escalated, Customer Facing, Customer Reported
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem: The system gets hang forever during shutdown while detaching the luks device.

      It gets stuck with below message.

      A stop job running for /dev/mapper/<luks_map_disk>

      Version-Release number of selected component (if applicable):

      kernel-4.18.0-477.15.1.el8_8.x86_64
      systemd-239-74.el8_8.2.x86_64

      How reproducible: Always.

      Steps to Reproduce:
      1. Configure Encrypted volume on LVM

      2. Configure tang/clevis to automatic unlocking for luks device during boot.

      3. Here is the content of /etc/crypttab
      ~~~
      grep -v "#" /etc/crypttab
      enc_test UUID=ecc9c957-2205-4819-82de-54c2a15b969d - _netdev
      ~~~

      4. Reboot the system and check the console, it will get hang.

      Actual results: The gets hang forever with below message

      A stop job running for /dev/mapper/<luks_map_disk>

      Expected results: It should not hang.

      Additional info: The issue is not reproducible after downgrading the systemd package version to systemd-239-68.el8_7.4.x86_64

              msekleta@redhat.com Michal Sekletar
              rhn-support-rcheerla Raju Cheerla
              Michal Sekletar Michal Sekletar
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              4 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: