FYI: [johns@xxxxxxxxxxx: Fix for SELinux breaking VMD on FC5]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Forwarded message from John Stone <johns@xxxxxxxxxxx> -----

From: John Stone <johns@xxxxxxxxxxx>
Date: Tue, 4 Apr 2006 11:28:38 -0500
To: Eugen Leitl <eugen@xxxxxxxxx>
Cc: snoze pa <snoze.pa@xxxxxxxxx>, "vmd-l@xxxxxxxxxxx" <vmd-l@xxxxxxxxxxx>
Subject: Fix for SELinux breaking VMD on FC5
User-Agent: Mutt/1.4.2.1i


Hi,
  Indeed, my understanding from browsing the web is that the default 
FC5 SELinux settings break essentially everything that uses plugins, 
including web browsers, and VMD, as setup out of the box.

If you don't want to disable SELinux entirely, I suggest you try
running this command on the VMD installation directory (Assumes the
VMD directory is local to the machine...  If you're mounting over NFS, 
this may or may not work.  If not, then you may have to disable SELinux 
as described below)
  cd /usr/local/lib/vmd
  find . -name \*.so -exec chcon -t texrel_shlib_t {} \; 

If you'd rather just turn SELinux off, try setting the line:
  SELINUX=disabled
in your /etc/sysconfig/selinux and then reboot the machine.

One of those two options ought to solve the problem in the short term.

Redhat has modified the C/C++ compilers and linkers shipping with
FC5 to produce executables and shared libraries that conform to the 
SELinux requirements.  Programs (like VMD) that are compiled on an older
or different Linux version can't use these new flags, so the result is that
SELinux blocks them until you make an exception for them.  
For VMD 1.8.4, I'm going to ship Linux executables built the normal way.
I'll be looking into using the new SELinux related "-fpie" flags in builds
of future versions of VMD, which should hopefully eliminate this SELinux 
relocatable .so file fiasco.

  John Stone
  vmd@xxxxxxxxxxx

On Tue, Apr 04, 2006 at 09:04:43AM +0200, Eugen Leitl wrote:
> On Tue, Apr 04, 2006 at 12:18:22AM -0500, snoze pa wrote:
> > after upgrading to Fedora core 5, I am getting following error message
> > in VMD. Any idea about this error message
> > 
> > package require solvate
> > couldn't load file
> > "/usr/local/lib/vmd/plugins/LINUX/tcl/psfgen1.4/libpsfgen.so":
> > /usr/local/lib/vmd/plugins/LINUX/tcl/psfgen1.4/libpsfgen.so: cannot
> > restore segment prot after reloc: Permission denied
> 
> Try turning SELinux off, and rebooting.
> 
> -- 
> Eugen* Leitl <a href="http://leitl.org";>leitl</a> http://leitl.org
> ______________________________________________________________
> ICBM: 48.07100, 11.36820            http://www.ativel.com
> 8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE



-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns@xxxxxxxxxxx                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078

----- End forwarded message -----
-- 
Eugen* Leitl <a href="http://leitl.org";>leitl</a> http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820            http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux