[RFE, Patch, Multi-lib] 32bit support /usr/bin/firefox

Warren Togami wtogami at redhat.com
Sat Nov 11 16:19:18 UTC 2006


Gilboa Davara wrote:
> Hello all,
> 
> The attached patch (which should cover all 64bit arches) enable you to
> start the 32bit version of firefox (if it's installed) by starting
> firefox with the "--32" command line option.
> 
> Before I submit this to bugzilla, I have two questions:
> 
> - Do we rather have a single firefox script that executes both 32bit and
> 64bit or do we want to break the it to dedicated firefox[64] and
> firefox32 scripts.
> - Where should I submit this patch? Mozilla or redhat?
> 
> - Gilboa

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214100
I wrote an alternative implementation in this bug.  I don't fully agree 
with the rejection of this, but I do agree that the best long-term 
solution is to fix nspluginwrapper to offload *ALL* plugins to a 
separate process.  A separate process also allows greater security 
control with selinux.

Logic of my Implementation:

* If only the /usr/lib	 browser is installed, run it.
* If only the /usr/lib64 browser is installed, run it.
* If both are installed, run /usr/lib64 unless it is overridden in
/etc/sysconfig/firefox-arch.
* Allow editing /etc/sysconfig/firefox-arch as the official means for 
the system administrator to override their arch selection.

%config(noreplace) %{_sysconfdir}/sysconfig/firefox-arch
This is necessary in the %files section of firefox.spec.

Benefits of this approach:
1) This DOES NOT CHANGE the behavior from its current default, which 
works with browsers shipped on x86_64.
2) This defines an explicit way for the system administrator to override 
their arch selection in a way that wont break with future package 
updates.  This effectively enables CHOICE.

Warren Togami
wtogami at redhat.com




More information about the fedora-devel-list mailing list