bugGNU FreeIPMI - Bugs: bug #16831, bmc-config crashes if bmc num...

 
 

bug #16831: bmc-config crashes if bmc num doesn't map to known string

Submitted by:  Albert Chu <chu11>
Submitted on:  Mon 12 Jun 2006 04:03:35 PM UTC  
 
Category: bmc-configSeverity: 3 - Normal
Priority: 5 - NormalItem Group: fish exception
Status: FixedPrivacy: Public
Assigned to: Anand Avati <avati>Open/Closed: Closed
Operating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 13 Jul 2006 12:26:33 AM UTC, comment #2:

fixed in anand's new bmc-config

Albert Chu <chu11>
Project Administrator
Tue 13 Jun 2006 03:36:48 PM UTC, comment #1:

Verified from user


That's it man! With the change it worked.

Thank you!

cu, Frank.

Albert Chu schrieb:

> Hi Frank,
>
> Hmmm, it's erroring out before the checkout of the parameter
> "Lan_Privilege_Limit". And the string-capitalize indicates there was an
> error in the input.
>
> Hmmm. I suppose it's possible the privilege level limit is invalid and
> doesn't map to a value correctly, thus bmc-config errors out. I'll
> submit a bug for the other FreeIPMI developers that work on that part of
> the code.
>
> In the meantime, could you try tweaking the code to give it a shot? (or
> if you want, just holler and I'll build you a test rpm.)
>
> Modify fish/extensions/bc-common.scm and change
>
> (define privilege-limit-values '(("callback" . 1)
> ("user" . 2)
> <SNIP>
> ("no_access" . #xF)))
>
> to
>
> (define privilege-limit-values '(("reserved" . 0)
> ("callback" . 1)
> ("user" . 2)
> <SNIP>
> ("no_access" . #xF)))
>
> then reinstall of course.
>
> My current bet is the default config of your BMC is invalid, and thus
> confuses bmc-config.
>
> Thanks,
> Al
>


Albert Chu <chu11>
Project Administrator
Mon 12 Jun 2006 04:03:35 PM UTC, original submission:

Follows for all cases in bc-common.scm. For example:

(define privilege-limit-values '(("callback" . 1)
("user" . 2)
("operator" . 3)
("administrator" . 4)
("oem_proprietary" . 5)
("no_access" . #xF)))

If the privilege on the BMC is == 0 (due to initial config error by the manufacturer), bmc-config gets confused and doesn't know what to do.

There needs to be an "else" case, which outputs "unknown" or something similar.

Albert Chu <chu11>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by chu11 (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 May 2007 06:45:15 AM UTCchu11StatusNone=>Fixed
      Assigned toNone=>avati
    Thu 13 Jul 2006 12:26:44 AM UTCchu11Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1