On 01/11/10 12:16, Ethan Quach wrote:
> 
> 
> On 01/11/10 11:58, Jens Deppe wrote:
>> Hello,
>>
>> I'm trying to understand how AI debug mode is able to be set within the
>> auto-installer SMF service script.
>>
>> Looking at the code, I see it's triggered by the env variable
>> AI_DEBUG_MODE. This variable is referenced in auto-installer, but I
>> don't see it being set there.
>>
>> I do see it getting set in manifest-locator, however, which is the
>> service which runs before auto-installer.
>>
>> Possibly my lack of understanding of SMF is the problem, but how does
>> that variable get propagated between the two services. I wouldn't think
>> that the scope of environment variables could cross between SMF services.
>>
>> Is there a bug here or just lack of knowledge? Thanks for any insight.
> 
> Quite possibly a new bug.  The manifest-locator service was just newly
> introduced in build 130, so its possibly a regression.  Have you tried to
> do a network-based AI boot with debug turned on in build 130 yet?

Yes I have, which led me to investigate the code, as it wasn't working. 
I'll raise a bug.

--Jens


Reply via email to