[Openipmi-developer] [0/2] ipmi initscripts
Brought to you by:
cminyard
|
From: Matt D. <Mat...@de...> - 2005-05-18 22:36:21
|
Following messages will be two initscript files which load the IPMI drivers and create /dev/ipmi0 and /dev/ipmi symlink, based on the settings in a /etc/sysconfig/ipmi config file. Two things I don't like about this yet: 1) . /lib/lsb/init-functions to get log_success_msg doesn't work on RHEL3 or RHEL4, calling log_success_msg fails with command not found, though it was just aliased into the environment, so... So, I'm not calling log_success_msg at all, which is poor. 2) On 2.6 kernels, the driver should really be doing the driver core class magic, with udev rules, such that udev creates /dev/ipmi0 and the /dev/ipmi -> /dev/ipmi0 symlinks (and any other files necessary). This shouldn't be in the initscript, but is for now. Works for me on RHEL3 and RHEL4, x86 and x86_64. I believe the best place to include these are into OpenIPMI library packages, and then request OS distros to include the OpenIPMI library RPMs in their package set. Thanks to Chris Poblete for the first pass of these, though I think I've rewritten every line a few times. :-) Thanks, Matt -- Matt Domsch Software Architect Dell Linux Solutions linux.dell.com & www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com |