Comment 17 for bug 1821255

Revision history for this message
Heitor Alves de Siqueira (halves) wrote :

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.