Bug 405981

Summary: Transaction Check Error: file /etc/gre.d/gre.conf
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: xulrunnerAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: caillon, clydekunkel7734, dwmw2, johnp, jspaleta, paul, stransky
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: 2007-12-03 12:06:25 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 sangu 2007-11-30 15:15:24 UTC
Description of problem:
$ sudo yum update xulrunner 
[...]

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 xulrunner               i386       1.9-0.beta1.3.fc9  development       9.7 M

Transaction Summary
=============================================================================
[...]
Transaction Check Error:
  file /etc/gre.d/gre.conf from install of xulrunner-1.9-0.beta1.3.fc9.i386
conflicts with file from package firefox-2.0.0.10-1.fc9.i38

Version-Release number of selected component (if applicable):
 1.9-0.beta1.3.fc9

How reproducible:
always

Steps to Reproduce:
1. $ yum update xulrunner
2.
3.
  
Actual results:


Expected results:


Additional info:
firefox-2.0.0.10-1.fc9

Comment 1 Jef Spaleta 2007-11-30 18:55:00 UTC
Let me propose a fix.

We remove the gre.conf file from the firefox package and explicitly set GRE_PATH
in the firefox calling shell in a manner similar to how MOZILLA_FIVE_HOME
variable is set.

If you need me to provide a patch to do this, I'll need a couple of days to find
the couple of minutes to poke at the package and reuse the directory versioning
trick that is already being used for MOZ_FIVE_HOME setting logic.

-jef

Comment 2 Martin Stransky 2007-12-03 07:58:06 UTC
I know about this problem. Unfortunately, /etc/gre.d/gre(64).conf is read by
gtkmozembed application what are not linked directly to gecko-libs (like a
python wrapper). 

Recently, gecko-libs are provided by two packages (firefox and xulrunner) so
that who packages conflict and you have to choose what gecko-libs you want to use.

When all packages are moved to xulrunner, /etc/gre.d/gre(64).conf will be
provided only by xulrunner.



Comment 3 Martin Stransky 2007-12-03 12:06:25 UTC
/etc/gre.d/gre(64).conf is removed from firefox-2_0_0_10-2_fc9.