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

bootupctl failed as missing rules

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.6
    • CentOS Stream 9
    • selinux-policy
    • None
    • No
    • Moderate
    • rhel-sst-security-selinux
    • ssg_security
    • 14
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      Run bootupctl command failed after removing /boot/bootupd-state.json

      https://github.com/fedora-selinux/selinux-policy/pull/2336 should fix this, but we do not have the patch in centos stream9 build.

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen: selinux-policy-38.1.47-1.el9.noarch

      How reproducible is this bug?: 100%

      Steps to reproduce

      1. On coreos using centos stream 9
      2. $ sudo semanage permissive -a bootupd_t
        $ sudo rm /boot/bootupd-state.json
        $ sudo bootupctl adopt-and-update
      3.  

      Expected results

      The command should succeed without error.

      Actual results

      $ sudo bootupctl adopt-and-update
      error: internal error: Failed to find ESP device

       

              rhn-support-zpytela Zdenek Pytela
              hhei@redhat.com Huijing Hei
              Zdenek Pytela Zdenek Pytela
              SSG Security QE SSG Security QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: