Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-40355

Tracer incorrectly attempts sshd-session restart instead of sshd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.19.0
    • 6.19.0
    • Hosts
    • None
    • False
    • sat-proton
    • None
    • None
    • None
    • None

      Description of problem:

      DNF needs-restarting reported ssh needing a restart as:

       

      [root@centos10-stream ~]# dnf needs-restarting
      Updating Subscription Management repositories.
      3582 : sshd-session: vagrant [priv]                
      3604 : sshd-session: vagrant@pts/0  

      Trace remediation via Satellite failed because sshd-session isn't something to restart - it's the name of a binary.

       

      How reproducible:

      100% on centos10-stream

      Is this issue a regression from an earlier version:

      Probably

      Steps to Reproduce:

      1. Upgrade openssh-server on an EL 10 host with traces enabled and registered to Satellite

      2. Try to remediate the ssh trace

      3. See the failure

      Actual behavior:
      Failed to restart sshd-session.service: Unit sshd-session.service not found.

      Expected behavior:
      Tracer should translate that to sshd.service.

      Business Impact / Additional info:

       

              Unassigned Unassigned
              iballou@redhat.com Ian Ballou
              Ian Ballou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: