Confirmed fix in cosmic, according to test case:
ubuntu@cosmic:~$ ./deploy-tgt.sh
ubuntu@cosmic:~$ dpkg -l | grep open-iscsi ii open-iscsi 2.0.874-5ubuntu9.4 amd64 iSCSI initiator tools
ubuntu@cosmic:~$ sudo pkill iscsid
ubuntu@cosmic:~$ sudo systemctl stop iscsid Warning: Stopping iscsid.service, but it can still be activated by: iscsid.socket
ubuntu@cosmic:~$
The systemctl stop command doesn't hang anymore, and the service can be restarted normally.
Confirmed fix in cosmic, according to test case:
ubuntu@cosmic:~$ ./deploy-tgt.sh
ubuntu@cosmic:~$ dpkg -l | grep open-iscsi
ii open-iscsi 2.0.874-5ubuntu9.4 amd64 iSCSI initiator tools
ubuntu@cosmic:~$ sudo pkill iscsid
ubuntu@cosmic:~$ sudo systemctl stop iscsid
Warning: Stopping iscsid.service, but it can still be activated by:
iscsid.socket
ubuntu@cosmic:~$
The systemctl stop command doesn't hang anymore, and the service can be restarted normally.