Bug 1964333

Summary: Running scriptlet: sssd-common-2.4.2-2.fc33.x86_64 during update results in failed service restart messages
Product: [Fedora] Fedora Reporter: Seth Alford <setha45>
Component: sssdAssignee: sssd-maintainers <sssd-maintainers>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: abokovoy, atikhono, customercare, jhrozek, lslebodn, luk.claes, mzidek, pbrezina, sbose, ssorce, sssd-maintainers
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-25 11:59:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Seth Alford 2021-05-25 08:53:21 UTC
Description of problem: dnf update of ssd-common resulted in errors from service restarts


Version-Release number of selected component (if applicable): 2.4.2-2.fc33.x86_64


How reproducible: unknown if it happens again; presumeably the next dnf update would have similar results


Steps to Reproduce:
1. dnf update
2. watch output
3.

Actual results: I get the following messages
  Running scriptlet: sssd-common-2.4.2-2.fc33.x86_64                   207/307 
Failed to try-restart sssd-autofs.service: Operation refused, unit sssd-autofs.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-autofs.service' for details.
Failed to try-restart sssd-nss.service: Operation refused, unit sssd-nss.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-nss.service' for details.
Failed to try-restart sssd-pac.service: Operation refused, unit sssd-pac.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-pac.service' for details.
Failed to try-restart sssd-pam.service: Operation refused, unit sssd-pam.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-pam.service' for details.
Failed to try-restart sssd-ssh.service: Operation refused, unit sssd-ssh.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-ssh.service' for details.
Failed to try-restart sssd-sudo.service: Operation refused, unit sssd-sudo.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status sssd-sudo.service' for details.

I followed the suggestion for a couple of these failures. Here's what it said:

● sssd-autofs.service - SSSD AutoFS Service responder
     Loaded: loaded (/usr/lib/systemd/system/sssd-autofs.service; indirect; vendor preset: disabled)
     Active: inactive (dead)
       Docs: man:sssd.conf(5)
● sssd-sudo.service - SSSD Sudo Service responder
     Loaded: loaded (/usr/lib/systemd/system/sssd-sudo.service; indirect; vendor preset: disabled)
     Active: inactive (dead)
       Docs: man:sssd.conf(5)
             man:sssd-sudo(5)



Expected results: update of sssd-common happens without extra messages


Additional info:

Comment 1 Pavel Březina 2021-05-25 11:59:11 UTC
Hi, thank you for the bug report. This issue required a fix in specfile that was delivered with sssd-2.5.0-1 in Fedora 33. But the change will take effect when upgrading to the next version.

Comment 2 Sumit Bose 2022-02-25 10:42:51 UTC
*** Bug 2058543 has been marked as a duplicate of this bug. ***