Bug 55782

Summary: rpm upgrade kills service settings and snmpd.conf file
Product: [Retired] Red Hat Linux Reporter: Kambiz Aghaiepour <kambiz>
Component: ucd-snmpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-06 16:41:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kambiz Aghaiepour 2001-11-06 16:26:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-7 i686)

Description of problem:
Upgrading to the latest version in RHN causes the service script to reset
to all OFF and you completely lose the /etc/snmp/snmpd.conf file (no
rpmsave, no rpmnew, no luck!)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Download the latest package
2. rpm -Uvh ucd-snmp*.rpm

	

Additional info:

Comment 1 Phil Knirsch 2001-11-06 16:41:00 UTC
This is very strange as the spec file contains this entry for the snmpd.conf file:

%config(noreplace,missingok) %{_sysconfdir}/snmp/snmpd.conf

Which means (IIRC) that the config fiel should never be replaced. Maybe the 6.2
original version had a wrong entry for the config file, but it shouldn't matter
as the new rpm should deal with the replacement/change of the config file.

I'll look into it.

Read ya, Phil

Comment 2 Kambiz Aghaiepour 2001-11-07 19:11:15 UTC
I was in an alternate universe when I filed this bug.  I can't seem to reproduce
it.