Hi Rob, Thanks for figuring this out and finding the bug. I have submitted a bug for Balamarugan to fix this. I think it is a bug for fish to assume the user has a home directory. I've asked that if a home directory isn't found, then fish should instead fall back to some default location (/var or /tmp or something).
Regarding bmc-info, does bmc-info actually return and not output anything? Or does the the command hang and not do anything? The later (usually) indicates that libfreeipmi is having trouble finding the default KCS port to read/write data to the BMC. Since this is an embedded system of some sort I would assume the KCS port might not be the default (and the 0.1.3 release has some difficulty finding the non-default ports). I believe you can set the alternate default port in /etc/fish.scm for FreeIPMI 0.1.3. Hopefully your system doesn't have register spacing issues, b/c that might require you to use a newer version we have checked into CVS. I think you can determine your systems default port through: dmidecode | grep -i ipmi --context=10 The context of 10 should be enough to show you all the info you need. LMK how it goes, Al -- Albert Chu [EMAIL PROTECTED] Lawrence Livermore National Laboratory ----- Original Message ----- From: [EMAIL PROTECTED] Date: Monday, November 7, 2005 11:09 am Subject: Re: [Freeipmi-users] fish crashes with "Segmentation fault" at startup > Hi, Albert. > > Problem solved ! Well, one of them anyway ... > > The trouble was that my chroot'ed environment and the target system > werejust a bit too minimal. When fish starts up it checks to see > what the home > directory of the current user is (in fi-utils.c, > get_home_directory). Because > I had no /etc/nsswitch.conf (set to use files for all) and no > /lib/libnss_files.so.2,get_home_directory returned NULL which the > strlen in get_config_directory > didn't like at all ! > > I now get a 'fish#' prompt on my target system. > > Having copied /usr/local/etc/fish/fish/scm over the blank file, > /root/.fish/fish.scm(I'm running as root) I dont get any output > from bmc-info. Is there anything > else I should do to configure freeipmi ? > > Thanks, > Rob > > > ___________________________________________________________ > > Unlimited Tiscali Broadband from 14.99! > http://www.tiscali.co.uk/products/broadband/ > > > _______________________________________________ Freeipmi-users mailing list Freeipmi-users@gnu.org http://lists.gnu.org/mailman/listinfo/freeipmi-users