Bug 1318590

Summary: standalone-osgi.xml is overridden by 'yum update'
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Katerina Odabasi <kanovotn>
Component: RPMsAssignee: Permaine Cheung <pcheung>
Status: CLOSED CURRENTRELEASE QA Contact: Katerina Odabasi <kanovotn>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.4.7CC: jbilek, nwallace, pgier, ppenicka, rhatlapa
Target Milestone: CR1   
Target Release: EAP 6.4.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 14:46:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Katerina Odabasi 2016-03-17 10:12:14 UTC
Description of problem:
Rpm jbossas-standalone-7.5.7-2.Final_redhat_3 is missing in the jbossas-standalone.spec file notation:

%config(noreplace) for standalone/standalone-osgi.xml configuration file.

As a result - with change in this configuration file which comes in 6.4.7.CP.CR2 build, the file gets overridden if it was previously edited by user.


Version-Release number of selected component (if applicable):
6.4.7.CP.CR2

How reproducible:
always

Steps to Reproduce:
1. install current live version of EAP
2. edit standalone/standalone-osgi.xml configuration file
3. run yum update to update packages to 6.4.7.CP.CR2 build

Actual results:
File gets overridden

Expected results:
File is not touched by update if it was modified

Additional info:

Comment 1 Fernando Nasser 2016-03-17 15:41:28 UTC
Is this a regression or is it something that have been there since EAP 6.0.1 and just detected now?

If it is not a regression I suggest fixing in 6.4.8 and avoid another schedule slip.

Comment 3 Fernando Nasser 2016-03-17 19:29:26 UTC
This file was added in 6.1.0

Release date 	2013-May-20 (shipped date)

So 3 years ago. So it has always been like that since EAP 6.1.0.
Not a regression.  

OSGi was a Tech Preview and since them we dropped OSGi completely.
I am not even sure why we still ship this file really.
I suggest that this file be removed starting from 6.4.8.

Comment 4 Permaine Cheung 2016-04-15 13:28:25 UTC
Fixed in distgit, will be in 6.4.8 CR1.

Comment 5 Permaine Cheung 2016-04-15 13:33:26 UTC
For some reason my last comment changed the blocker flag to "?", but I am unable to change it back to "-", the only options are blank and "?" for me.

Can someone please change the blocker flag bak to "-"? Thanks!

Comment 6 Jiří Bílek 2016-05-23 12:21:29 UTC
Verified with EAP 6.4.8.CP.CR2.

Comment 7 Petr Penicka 2017-01-17 14:46:31 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.