pkgsrc/devel/netbsd-iscsi-lib/patches/patch-ad
sborrill 14e195e620 Update to 20110222.
Changes include
- man page claims that you can use auth type = none, but in reality this
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work as advertised (i.e.
defaults to auth type none and so don't require a username).
- document -D option to iscsi-initiator
- Remove hostname from pathname to storage in mount point.
This means /mnt/mytarget.domain.local/target0/storage is now
/mnt/target0/storage.
- Note limitations of CHAP implementation in BUGS section.
- Skip target if TargetName is empty.
- Use relevant TargetAddress, not just first one we happen to find.
- Handle NOP-OUT CmdSN and immediate bit.
- Handle NOP-IN TransferTag=0xffffffff.
- Interim solution for dealing with Underflow bit in iSCSI response.
- iscsi-initiator now talks to istgt and other targets.
- Retry read capacity. Device may not be ready on first access, so need to
wait and re-issue.
2011-02-22 13:33:22 +00:00

21 lines
537 B
Text

$NetBSD: patch-ad,v 1.1 2011/02/22 13:33:22 sborrill Exp $
Don't hide all error messages from the user
--- src/lib/util.c.orig 2011-02-21 16:22:13.000000000 +0000
+++ src/lib/util.c 2011-02-21 16:22:36.000000000 +0000
@@ -294,7 +294,6 @@
void
iscsi_err(const char *f, const int line, const char *fmt, ...)
{
-#ifdef CONFIG_ISCSI_DEBUG
va_list vp;
char buf[8192];
@@ -305,7 +304,6 @@
# ifdef HAVE_SYSLOG
syslog(LOG_ERR, "pid %d:%s:%d: ***ERROR*** %s", getpid(), f, line, buf);
# endif /* HAVE_SYSLOG */
-#endif
}
void