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

sosreport starts rhsm.service even it is stopped

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.6
    • sos
    • None
    • No
    • None
    • rhel-sst-cee-supportability
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      OS: RHEL9
      sos: sos-4.9.2-1.el9_6.noarch

      Symptom:
      A RHEL9 server with rhsm.service disabled because the server can not connect to The Internet. When I run sos to collect data, it execute the rhsm.service.

      This symptom is reproduced 100% with following steps.

      (1) disable rhsm.service

      1. systemctl stop rhsm.service.

      (2) Execute sos

      1. sos report

      (3) After sosreport finish, confirm the rhsm.service is not running.

      1. # systemctl status rhsm.service

      Expected Result.
      rhsm.service is NOT running after the sosreport execution.

      Actual Result.
      rhsm.service is running after the sosreport execution.

      (4) Workaround
      mask rhsm.service becore sosreport execution.

      (5) Impact.
      If rhsm.service is enabled with no-internet-connection environment,
      it generated error messages.
      So the sosreport should not execute rhsm.service it if is stopped.
      If sosreport really needs to execute rhsm.service, then sosreport
      should stop the service before finiish its work.

      (6) Additional information.
      This symptom reproduce on RHEL8, 9, 10.

              rhn-support-jcastillo Jose Castillo
              MasanariIidaNfr Masanari Iida
              HPE Confidential Group
              Jose Castillo Jose Castillo
              RHEL Supportability QE Bot RHEL Supportability QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: