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

the switcheroo-control service runs under unconfined_service_t label

    • None
    • Moderate
    • 1
    • rhel-sst-security-selinux
    • ssg_security
    • 3
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • CY24Q2
    • 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.
    • None
    • Automated
    • Unspecified Release Note Type - Unknown
    • 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
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: