Bug 161492 - Starting snmpd gives segmentation fault if lm_sensors is running
Starting snmpd gives segmentation fault if lm_sensors is running
Status: CLOSED DUPLICATE of bug 150199
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: net-snmp (Show other bugs)
4.0
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Radek Vokal
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-23 14:06 EDT by Peter Ison
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-24 04:11:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Ison 2005-06-23 14:06:47 EDT
Description of problem:
This is a problem which appeared in RHEL4 after un upgrade from RHEL3.

"service snmpd restart" always reports failed on stopping the service and ok on 
starting. There are no other errors reported. After that "ps -A | egrep snmp" 
shows that snmpd is no longer running. 

With lm_sensors started "snmpd -f -Le" reports "segmentation fault". Stopping 
lm_sensors allows snmpd to run without the segmentation fault. I need them both 
running so that I can produce mrtg reports.

Running strace on the segmentation fault shows an access to /usr/lib/rpm/i386-
linux/macros. Perhaps this should be /usr/lib/rpm/athlon-linux/macros as is the 
case on another athlon pc running FC4 with lm_sensors and net-snmp-5.2.1-12 
with no problem.

Version-Release number of selected component (if applicable):
net-snmp-5.1.2-11

How reproducible:
Always

Steps to Reproduce:
1.lm_sensors and net-snmp are started at boot
2."service snmpd restart" repeatedly shows failed on stopping; ok on starting 
service
3."ps -A | egrep snmp" shows that snmpd is not running
  
Actual results:
snmpd fails to start

Expected results:
snmpd should be running

Additional info:
lm_sensors-2.8.7-2

/etc/sysconfig/lm_sensors
MODULE_0=i2c-sis630
MODULE_1=i2c-isa
MODULE_2=eeprom
MODULE_3=it87

sensor information is at /sys/devices/platform/i2c-1/1-0290

lm_sensors starts as S26 before snmpd at S50.

If I start snmpd and only then start lm_sensors, snmpd seems to keep running.  
That is an observation, not a solution to the problem.
Comment 1 Radek Vokal 2005-06-24 04:11:59 EDT
The bug is already fixed, will appear in next update

*** This bug has been marked as a duplicate of 150199 ***

Note You need to log in before you can comment on or make changes to this bug.