Bug 662611 - jabberd package replaces his configs during upgrade
Summary: jabberd package replaces his configs during upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 540
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: 657512 660357 sat541-blockers
TreeView+ depends on / blocked
 
Reported: 2010-12-13 11:19 UTC by Jan Hutař
Modified: 2011-06-17 06:20 UTC (History)
2 users (show)

Fixed In Version: jabberd-2.2.8-10.el5sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-17 02:34:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2010-12-13 11:19:36 UTC
Description of problem:
When I upgrade jabberd package, it's config files are overwritten by default ones, loosing config generated by Satellite installer.


Version-Release number of selected component (if applicable):
jabberd-2.2.8-8.el5sat.src.rpm
jabberd-2.2.8-9.el5sat.src.rpm


How reproducible:
always


Steps to Reproduce:
1. Install Satellite 5.4.0   # now you have jabberd-2.2.8-8.el5sat
2. # rpm -Uvh jabberd-2.2.8-9.el5sat.i386.rpm


Actual results:
# yum upgrade jabberd-2.2.8-9.el5sat.x86_64.rpm
[...]
Transaction Test Succeeded
Running Transaction
  Updating       : jabberd                                                              1/2 
warning: /etc/jabberd/c2s.xml saved as /etc/jabberd/c2s.xml.rpmsave
warning: /etc/jabberd/router.xml saved as /etc/jabberd/router.xml.rpmsave
warning: /etc/jabberd/s2s.xml saved as /etc/jabberd/s2s.xml.rpmsave
  Cleanup        : jabberd                                            2/2 

Updated:
  jabberd.x86_64 0:2.2.8-9.el5sat

Complete!
# diff -u /etc/jabberd/c2s.xml /etc/jabberd/c2s.xml.rpmsave
--- /etc/jabberd/c2s.xml	2010-12-06 11:11:39.000000000 -0500
+++ /etc/jabberd/c2s.xml.rpmsave	2010-12-13 05:19:48.000000000 -0500
@@ -15,7 +15,7 @@
 
     <!-- Username/password to authenticate as -->
     <user>jabberd</user>          <!-- default: jabberd -->
-    <pass>secret</pass>           <!-- default: secret -->
+    <pass>c364597f7521703c5cb77ff5f10d091073a65dd0</pass>           <!-- default: secret -->
[...]


Expected results:
Configs should stay unchanged.

Comment 1 Jan Pazdziora (Red Hat) 2010-12-13 14:42:30 UTC
Fixed in Satellite thirdparty repo, 4f8771f0872cfac96a27a650c4322b06147821b0.

Comment 2 Jan Pazdziora (Red Hat) 2010-12-14 09:48:06 UTC
Moving ON_QA.

Comment 5 Clifford Perry 2011-06-17 02:34:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

https://rhn.redhat.com/errata/RHSA-2011-0882.html


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