the daemon tgtd actually has an option to bind the iscsi portal to a specific IP address rather than 0.0.0.0 This patch will introduce handling this option through a /etc/conf.d/tgtd, like: TGTD_OPTS="--iscsi portal=192.168.1.1:3260" or default: TGTD_OPTS="" patch to current initd in $PORTDIR/sys-block/tgt/files/tgtd is trivial, but attached anyway Reproducible: Always
Created attachment 305267 [details, diff] patch for $PORTDIR/sys-block/tgt/files/tgtd
+*tgt-1.0.24-r1 (14 Mar 2012) + + 14 Mar 2012; Kacper Kowalik <xarthisius@gentoo.org> +files/tgtd-1.0.24.confd, + +files/tgtd-1.0.24.initd, +tgt-1.0.24-r1.ebuild, -tgt-1.0.24.ebuild: + Allow to pass options to daemon via confd file. Fixes 408107 bug by Christian + Bricart <christian@bricart.de> Improve sed to add LDFLAGS only where they're + needed, respect CC properly +