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

[rhel10]avc denied log on virtqemud for pts console when creating VM

    • sst_security_selinux
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • None

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

      As subject

      Please provide the package NVR for which bug is seen:

      selinux-policy-40.13.3-1.el10.noarch
      virt-install-4.1.0-5.el10+5.noarch
      libvirt-10.4.0-1.el10.x86_64
      qemu-kvm-9.0.0-2.el10.x86_64

      How reproducible:

      100%

      Steps to reproduce

       virt-install --import --disk /var/lib/libvirt/images/rhel.qcow2 --machine q35 -n rhel -r 3096{-}  -osinfo detect=on,require=off --autoconsole text --boot uefi
      

       

      Then check the audit.log:

      type=AVC msg=audit(1718786569.603:23285): avc:  denied  { open } for  pid=231786 comm="rpc-virtqemud" path="/dev/pts/6" dev="devpts" ino=9 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:svirt_devpts_t:s0 tclass=chr_file permissive=1

      Expected results

      No avc denied msg

      Actual results

      As above

       

            rhn-support-zpytela Zdenek Pytela
            hanhansolo Han Han
            Zdenek Pytela Zdenek Pytela
            SSG Security QE SSG Security QE
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: