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

SELinux prevents systemd-hostnamed from admin access to nscd

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • selinux-policy
    • sst_security_selinux
    • ssg_security
    • None
    • False
    • Hide

      None

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

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

      Test: selinux-policy/Regression/NetworkManager-general

      Please provide the package NVR for which bug is seen:

      selinux-policy-38.1.35-2.el9_4.noarch

      How reproducible:

      every time

      Steps to reproduce

      1. run Network Manager test
      2.  
      3.  

      Expected results

      should pass without failure

      Actual results

      type=USER_AVC msg=audit(06/24/2024 17:45:24.258:695) : pid=42475 uid=nscd auid=unset ses=unset subj=system_u:system_r:nscd_t:s0 msg='avc: denied { admin } for scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:system_r:nscd_t:s0 tclass=nscd permissive=0 exe=/usr/sbin/nscd sauid=nscd hostname=? addr=? terminal=?' 

            rhn-support-zpytela Zdenek Pytela
            rhn-support-bgrech Brian Grech
            Zdenek Pytela Zdenek Pytela
            SSG Security QE SSG Security QE
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: