Start the ietd service; /etc/init.d/ietd start. Kill the service; killall ietd. Try and stop the service; /etc/init.d/ietd stop. * Removing iSCSI Enterprise Target devices [!!!] * ietadm failed - Connection refused. The and start the service again; /etc/init.d/ietd start * WARNING: ietd has already been started. The issue is the init.d script. On line 86, it gets the output text of the ietadm app. If ietd was killed or crashed, ietadm will say "Connection refused." and return an error code. On line 88, we should hand-wave this past; it's a hack, but so is the whole stop() function: Change if [ $RETVAL -eq 0 ] && [ "$RETURN" != "something wrong" ] ; then To if [ $RETVAL -eq 0 ] && [ "$RETURN" != "something wrong" ] || [ "$RETURN" = 'Connection refused.' ] ; then Reproducible: Always Steps to Reproduce:
Thanks for submitting your change to ietd init script -- assigning to maintainers
This is the wrong way to go. Upstream needs to fix ietd to send an other return code, if it fails.
As of today, I have taken over primary maintainership of this package from base-system. I am reassigning this bug to myself.
Any news? Is there a link to an upstream ticket?
removed.