Bug 1760378 - sssd tries to restart its unit which has RefuseManualStart=true
Summary: sssd tries to restart its unit which has RefuseManualStart=true
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Březina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1790617 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-10 12:13 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2021-05-19 01:30 UTC (History)
14 users (show)

Fixed In Version: sssd-2.5.0-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-19 01:30:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5521 0 None open sssd tries to restart its unit which has RefuseManualStart=true 2021-03-01 10:01:17 UTC

Description Zbigniew Jędrzejewski-Szmek 2019-10-10 12:13:47 UTC
Description of problem:
  Running scriptlet: sssd-common-2.2.0-4.fc31.x86_64                                                              761/904 
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.

If the unit really cannot be restarted, than change
%systemd_postun_with_restart to %systemd_postun for those unit.

Comment 1 Lukas Slebodnik 2020-01-14 09:13:15 UTC
*** Bug 1790617 has been marked as a duplicate of this bug. ***

Comment 2 Ben Cotton 2020-02-11 17:35:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 3 Miriam Rittenberg 2020-03-06 06:59:24 UTC
This bug affects Fedora 31 as well.

Comment 4 Pavel Březina 2021-03-01 10:01:17 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5521

Comment 5 Pavel Březina 2021-03-01 10:05:28 UTC
Upstream PR:
https://github.com/SSSD/sssd/pull/5522

Comment 6 Pavel Březina 2021-03-05 11:27:38 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5522

* `master`
    * 815197cb1d33ad0ac8538f5402a7b95e9f474e7f - spec: do not use systemd to restart services with RefuseManualStart=true

Comment 7 Pavel Březina 2021-03-05 11:29:00 UTC
Note that this will fix the issue but the fix will take effect only during second update cycle, because the changes are locate in %postun scriptlet.

Comment 8 Fedora Program Management 2021-04-29 15:58:49 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Fedora Update System 2021-05-10 15:31:43 UTC
FEDORA-2021-91c435f391 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-91c435f391

Comment 10 Fedora Update System 2021-05-11 01:23:19 UTC
FEDORA-2021-91c435f391 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-91c435f391`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-91c435f391

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-05-19 01:30:25 UTC
FEDORA-2021-91c435f391 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.