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

more specific labels for /dev/papr-sysparm and /dev/papr-vpd

    • selinux-policy-40.13.10-1.el10
    • No
    • Moderate
    • 1
    • sst_security_selinux
    • ssg_security
    • 12
    • 1
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • No
    • SELINUX 241016 - 241106
    • Unspecified Release Note Type - Unknown
    • All
    • None

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

      https://beaker.engineering.redhat.com/recipes/16910623#task183302109

      Please provide the package NVR for which bug is seen:

      selinux-policy-40.13.9-1.el10.noarch
      selinux-policy-devel-40.13.9-1.el10.noarch
      selinux-policy-mls-40.13.9-1.el10.noarch
      selinux-policy-targeted-40.13.9-1.el10.noarch

      How reproducible:

      always

      Steps to reproduce

      1. get a RHEL-10 machine
      2. run the following automated test: /CoreOS/selinux-policy/Regression/dev-general
      3. look for failures in the output

      Expected results

      # matchpathcon /dev/papr-sysparm
      /dev/papr-sysparm	system_u:object_r:papr_sysparm_device_t:s0
      # matchpathcon /dev/papr-vpd
      /dev/papr-vpd	system_u:object_r:papr_vpd_device_t:s0
      #
      

      Actual results

      # matchpathcon /dev/papr-sysparm
      /dev/papr-sysparm	system_u:object_r:device_t:s0
      # matchpathcon /dev/papr-vpd
      /dev/papr-vpd	system_u:object_r:device_t:s0
      #
      

      Additional information

      The same issue is already fixed in RHEL-9.5.

            rhn-support-zpytela Zdenek Pytela
            mmalik@redhat.com Milos Malik
            Zdenek Pytela Zdenek Pytela
            Milos Malik Milos Malik
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: