#647262 istgt: user/password missmatch in example configuration

Package:
istgt
Source:
istgt
Description:
iSCSI userspace target daemon for Unix-like operating systems
Submitter:
Geoge Shuklin
Date:
2011-11-02 21:03:10 UTC
Severity:
minor
#647262#5
Date:
2011-11-01 11:29:23 UTC
From:
To:
Dear Maintainer,

auth.conf contains this line:

  Auth "ctluser" "test" "mutualuser" "mutualsecret"

but istgtcontrol.conf contains:
  Auth "testuser" "secret" "mutual user" "mutual secret"

This login/password used for communication between istgt and istgtcontrol, so I think, even in example configuration they must be same.

Ideally, those lines needed to be generated at postinst time.

#647262#10
Date:
2011-11-02 21:02:07 UTC
From:
To:
tags 647262 +upstream +confirmed
thanks

Hello Geoge,

You are right, but I don't think that's really something which should be
fixed upstream. I do not want to introduce a Debian specific patch for
such a minor and pure esthetical problem. After all, you need to change
the password(s) anyway.

I will point upstream to your bugreport. If he wants to fix it, I'm fine
in merging the fix, otherwise I'd keep things as is.

No, that's not what maintainer scripts are for. There are some
possibilities to configure a daemon in postinst, but I don't think it is
feasible to do so in a comprehensive way for istgt because of a large
variety of different possibilities to run istgt. This also makes
transitions of configuration files very complicated.  That's also the
reason why we do not ship a working configuration at all but refer to
the example configuration only.