From: Ian Jackson Subject: Re: [PATCH v1 12/12] hotplug/Linux: add iscsi block hotplug script Date: Wed, 13 Mar 2013 16:31:32 +0000 Message-ID: <20800.43492.41548.634968@mariner.uk.xensource.com> References: <1358963317-10221-1-git-send-email-roger.pau@citrix.com> <1358963317-10221-13-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1358963317-10221-13-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[Xen-devel] [PATCH v1 12/12] hotplug/Linux: add iscsi block hotplug script"): > This hotplug script has been tested with IET and NetBSD iSCSI targets, > without authentication. > > Authentication parameters, including the password are passed as > parameters to iscsiadm, which is not recommended because other users > of the system can see them. This parameters could also be set by > editing a corresponding file directly, but the location of this file > seems to be different depending on the distribution used. Would it be possible for the user to specify the file that the password should be read from ? Did you write this script from scratch ? (TBH I don't intend to review it in detail...) Why no set -e ? Ian.