On 6/18/2010 10:27 AM, Peter O'Gorman wrote:
> 
> This should (hopefully) stop the preopen loader getting used twice,

It does, and I think this is the right thing to do here. But...

> and
> perhaps (I'm really dreaming now) give a better error.

Nope, doesn't help this issue.

But I think "clobbering the error message" is a red herring; we're
actually seeing the error set by the final loader that is called.

The final loader called, for "/usr/bin/last" -- which exists -- is the
'last' loader.  In last_open(), it sets LT_ERROR_FILE_NOT_FOUND as a
sort of "generic" error value -- which, strangely, is exactly the
OPPOSITE of the problem here.

The real problem is there actually IS a file named /usr/bin/last, but
because that name does not match exactly "last", last_open() reports
what it considers a generic error.

--
Chuck


Reply via email to