I have the same requirement: only bind a specific address.
I took a very similar approach to resolve:

Add the following to /etc/defaults/iscsitarget:
## ietd options
# --address: bind to specific interface
ISCSITARGET_OPTIONS='--address=10.224.10.1'

Make the following change to function ietd_start() in
/etc/init.d/iscsitarget:

<       start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- 
$ISCSITARGET_OPTIONS
---
>       start-stop-daemon --start --exec $DAEMON --quiet --oknodo

I hope this helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/871143

Title:
  Unable to bind ietd to specific address and port

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/871143/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to