OpenIPMI still disables syslog on uninstall

Brian Collins brianc at sedata.com
Thu Jul 19 13:43:36 CDT 2012


We have run into this issue several times, and I'd like to bring it up again to see if we can get it addressed.  In short, the uninstall script for OpenIPMI disables syslog.  Based on what I see in the RPMs scripts, I'd say someone intended to disable syslog-ng, since that's the logger that gets enabled during %postinstall.  In any case, it's pretty frustrating that an upgrade or removal disables something as critical as syslog.



This is easy to fix in the .spec file, and I don't mind getting the SRPM and pushing our own version into Satellite, but I prefer to see this handled at a higher level, because I am pretty sure it's affecting more than just us.


# rpm -qi OpenIPMI
Name        : OpenIPMI                     Relocations: (not relocatable)
Version     : 2.0.16                            Vendor: Dell Inc
Release     : 99.dell.4.100.1.el5           Build Date: Fri 11 Nov 2011 06:16:34 AM EST
Install Date: Thu 19 Jul 2012 01:20:28 PM EDT      Build Host: obs-worker181
Group       : Utilities                     Source RPM: OpenIPMI-2.0.16-99.dell.4.100.1.el5.src.rpm
Size        : 4537171                          License: LGPL
Signature   : DSA/SHA1, Fri 11 Nov 2011 06:16:43 AM EST, Key ID ca77951d23b66a9d
URL         : http://support.dell.com
Summary     : OpenIPMI (Intelligent Platform Management Interface) library and tools

(truncated for brevity)


# rpm -q --scripts OpenIPMI
postinstall scriptlet (using /bin/sh):
###################################################
/sbin/ldconfig
chkconfig syslog-ng on
%{fillup_and_insserv -n ipmi ipmi}
chkconfig --add ipmi

###################################################
preuninstall scriptlet (using /bin/sh):
###################################################
if [ $1 = 0 ]; then
   /etc/init.d/ipmi stop >/dev/null 2>&1
   /sbin/chkconfig --del ipmi
fi

###################################################
postuninstall scriptlet (using /bin/sh):
###################################################
/sbin/ldconfig
if [ "$1" -ge "1" ]; then
    /etc/init.d/ipmi condrestart >/dev/null 2>&1 || :
fi
%insserv_cleanup
chkconfig syslog off

###################################################



Notice in bold the two different loggers that are referenced by these scripts.



Thank you,
Brian Collins, RHCE
Sr. Systems Engineer
Southeastern Data Cooperative



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20120719/3a66f435/attachment.html 


More information about the Linux-PowerEdge mailing list