Bug 2048018
| Summary: | Failed to stop iscsi-shutdown.service on uninstall | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Jaburek <jjaburek> |
| Component: | iscsi-initiator-utils | Assignee: | Chris Leech <cleech> |
| Status: | CLOSED WONTFIX | QA Contact: | Martin Hoyer <mhoyer> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.0 | CC: | mhoyer |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-29 07:28:06 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: | |||
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |
Description of problem: When removing the iscsi-initiator-utils package, I see this error message: Running transaction Preparing : 1/1 Running scriptlet: iscsi-initiator-utils-6.2.1.4-2.git2a8f9d8.el9.x86_6 1/2 Removed /etc/systemd/system/sockets.target.wants/iscsid.socket. Removed /etc/systemd/system/sysinit.target.wants/iscsi-onboot.service. Removed /etc/systemd/system/remote-fs.target.wants/iscsi.service. Failed to stop iscsi-shutdown.service: Operation refused, unit iscsi-shutdown.service may be requested by dependency only (it is configured to refuse manual start/stop). See system logs and 'systemctl status iscsi-shutdown.service' for details. This is likely caused by preuninstall scriptlet (using /bin/sh): if [ $1 -eq 0 ] && [ -x /usr/bin/systemctl ]; then # Package removal, not upgrade if [ -d /run/systemd/system ]; then /usr/bin/systemctl --no-reload disable --now iscsi.service iscsid.service iscsid.socket iscsi-onboot.service iscsi-init.service iscsi-shutdown.service || : else /usr/bin/systemctl --no-reload disable iscsi.service iscsid.service iscsid.socket iscsi-onboot.service iscsi-init.service iscsi-shutdown.service || : fi fi which tries to stop (disable --now) a service which explicitly prohibits it: # grep Refuse /usr/lib/systemd/system/iscsi-shutdown.service RefuseManualStop=yes Either allow manual stop of the service, or issue disable without --now for it when uninstalling. Version-Release number of selected component (if applicable): iscsi-initiator-utils-6.2.1.4-2.git2a8f9d8.el9