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

[rhel-9] the switcheroo-control service runs under unconfined_service_t label

    • selinux-policy-38.1.52-1.el9
    • None
    • Moderate
    • 2
    • rhel-sst-security-selinux
    • ssg_security
    • 25
    • 3
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • CY24Q2, SELINUX 250129: 1
    • Hide

      The switcheroo-control service is confined by SELinux. The service starts and runs in enforcing mode. The service does not trigger any SELinux denials in default configuration.

      Show
      The switcheroo-control service is confined by SELinux. The service starts and runs in enforcing mode. The service does not trigger any SELinux denials in default configuration.
    • Pass
    • Automated
    • Enhancement
    • Hide
      Feature, enhancement:
      Reason:
      Result:
      Show
      Feature, enhancement: Reason: Result:
    • x86_64
    • None

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

      the switcheroo-control process runs under "unconfined_service_t" label which means that the system can't pass the 
      CIS 9 - "1.6.1.6 Ensure no unconfined services exist (Automated)".

      Please provide the package NVR for which bug is seen:

      How reproducible:

      always

      Steps to reproduce

      1. Fresh install the RHEL9 with "Server with GUI".
      2. Switch the system to graphical.target via "systemctl set-default graphical.target"
      3. Check the process label via "ps -eZ|egrep 'unconfined_service_t'"

      Expected results

      the switcheroo-control process(es) are confined by SELinux, they do not run under the "unconfined_service_t" label

      Actual results

      # cat /etc/redhat-release
      Red Hat Enterprise Linux release 9.3 (Plow)
      # systemctl get-default
      graphical.target
      # ps -eZ|egrep 'unconfined_service_t'
      system_u:system_r:unconfined_service_t:s0 862 ?  00:00:00 power-profiles-
      system_u:system_r:unconfined_service_t:s0 865 ?  00:00:00 switcheroo-cont
      #
      

              rhn-support-zpytela Zdenek Pytela
              rhn-support-yalu Yanquan Lu
              Zdenek Pytela Zdenek Pytela
              Milos Malik Milos Malik
              Jan Fiala Jan Fiala
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: