On Tue Dec 02 23:47, Peter Palfrader wrote:
> On Tue, 02 Dec 2008, Matthew Johnson wrote:
> 
> > On Tue Dec 02 22:04, Peter Palfrader wrote:
> > > On Sun, 30 Nov 2008, Matthew Johnson wrote:
> > > 
> > > > Hi, I have what I think is a patch which will move it to
> > > > /var/lib/open-iscsi/initiatorname.iscsi (attached). I could NMU it (and
> > > > I have a source package prepared), but I'd like some confirmation (I
> > > > don't have appropriate hardware) that it DTRT first.
> > > 
> > > I think this patch is broken.  While it moves the file around it doesn't
> > > actually make any of the iscsi things use the new location.
> > 
> > it changes the init script which passes it on the command line. The
> 
> Where?
> 
> looking at the source the path seems to be a compile time default.
> 
Yeah, but a default for the command line argument:

usr/iscsid.c:77

  -i, --initiatorname=[path]     read initiatorname from file 
("INITIATOR_NAME_FILE ").\n\

:334

   char *initiatorname_file = INITIATOR_NAME_FILE;

:359

         initiatorname_file = optarg;

However, you are absolutely right that while the init script faffs
around a lot with the file, it doesn't actually pass it to anything.
However, with my patch it would end up in the initramfs in the right
place.

Anyway, lenny-ignore would be even less work for me (-:

Matt
-- 
Matthew Johnson

Attachment: signature.asc
Description: Digital signature

Reply via email to