OpenIPMI still disables syslog on uninstall

Srinivas_G_Gowda at Dell.com Srinivas_G_Gowda at Dell.com
Fri Jul 20 01:47:08 CDT 2012


Brain,
This has been addressed in the latest version of OpenManage  - OM7.1.
You shouldn't see sys log getting disabled if you use the OpenIPMI rpm of RHEL5 in OM7.1


Thanks,
G

From: linux-poweredge-bounces-Lists On Behalf Of Brian Collins
Sent: Friday, July 20, 2012 12:14 AM
To: linux-poweredge-Lists
Subject: OpenIPMI still disables syslog on uninstall


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/410cd686/attachment-0001.html 


More information about the Linux-PowerEdge mailing list