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: