[CentOS] FYI CentOS-5, SElinux and OpenOffice-2.3

Fri Sep 28 20:39:06 UTC 2007
James B. Byrne <byrnejb at harte-lyne.ca>

I have installed OOo 2.3 on CentOS-5. Everything seems to work but I had
to locate the item reproduced below.  Since this is a vital modification I
reproduce it here so that it gets a wider audience.


OOo 2.3.0 and SELinux: "no suitable windowing system found, exiting."

OpenOffice.org (OOo) 2.3.0 is incompatible with the SELinux technology
activated by default in Fedora 7, Fedora Core 6 (and older) and Red Hat
Linux system (and, optionally, in other Linux-based systems): see
http://www.openoffice.org/issues/show_bug.cgi?id=80816 for more
information and current situation.


    * If OpenOffice.org is started from the GUI, it simply doesn't start.
    * If OpenOffice.org is started from the command line, the error
message no suitable windowing system found, exiting. is displayed and
OpenOffice.org exists immediately.

The best resolution so far consists in setting the proper security
context: execute (as root or with sudo privileges)
# chcon -t textrel_shlib_t libvclplug_gen680li.so.1.1
in the program directory in your OOo installation.

A more radical resolution is disabling SELinux altogether (requires
root/sudo privileges):

    * Command line (as root): # setenforce 0
    * GUI: System -> Administration -> Firewall and SELinux -> set
"Permissive" mode.

Note that, with the default configuration, SELinux will be restored in
"Enforcing" mode upon reboot or instalaltion of a new kernel if you change
it via the command-line utility.

La copia letterale e la distribuzione di questo articolo nella sua
integrità sono permesse con qualsiasi mezzo, a condizione che questa nota
sia riprodotta e che sia mantenuto il collegamento alla versione
Autore: Andrea Pescetti,  .
Ultimo aggiornamento: ooo230-bug.shtml 28/09/2007.

***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3