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
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.