On Fri, 2010-08-20 at 05:20 -0700, Liebig, Holger wrote: > > > One problem is, that this OEM command requires admin privilege, which > > > would have to be specified on the command line with -l admin. > > > > That is annoying. We could up the default privilege to admin, but my > > general attitude is to max the privilege level at whatever is necessary > > for the tool. Since this is an OEM extension thing, it's a little > > different. Perhaps we could document it and if you run w/ > > --interpret-oem-data, output an error if user isn't specifying atleast > > admin privilege??? Not entirely sure at this point, we'll ponder this a > > bit more. > [Liebig, Holger] > At least some hint to the user would be nice. Since completion code > 0xD4 is returned (insufficient Privilege), this could be potentially > in lined into the output
Well, if we did nothing, a "privilege level insufficient ..." error could would fallthrough from libfreeipmi/ to ipmi-sel's execution. Not good, but not terrible. As I've thought about it more, I'm thinking the --interpret-oem-data option should have a special case for Fujitsu motherboards and report an error to the user just saying, "Use -l admin". > I'm also working on integration of Fujitsu specific OEM sensor > information into freeipmi, at least this would show some better > information for the SEL than today when running without -l admin but > with --interpret-oem-data. Cool! Al > Holger -- Albert Chu [email protected] Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory _______________________________________________ Freeipmi-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/freeipmi-devel
