Bug 195690

Summary: xsltproc fails under selinux
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: libxsltAssignee: Daniel Veillard <veillard>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-16 11:49:08 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 Kjartan Maraas 2006-06-16 16:32:59 UTC
Description of problem:
I have to run with setenforce 0 to get gnome modules to build in a jhbuild
environment because xsltproc fails with selinux.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Veillard 2006-06-17 21:37:31 UTC
I don't see how this can be xsltproc cause. Maybe it needs to access
or write to paths which are not allowed to load the document for the
transformation, or to save the output of the transformation if --output
argument is provided . But in any case it sounds like a context problem
either in the gnome documentation tools or in the output parameter, or
in the DocBook DTDs themselves.
I don't think libxslt is really guilty here, and without the error messages
it's hard to tell who is at fault, so please provide the errors or sufficient
context.

Daniel

Comment 2 Kjartan Maraas 2006-06-18 16:47:42 UTC
Here's the error message. Maybe it's a problem with libgcrypt.so instead?

xsltproc -o gnome-doc-make-C.omf --stringparam db2omf.basename gnome-doc-make
--stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD
DocBook XML V4.4//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir
"/opt/gnome2/share/omf" --stringparam db2omf.help_dir
"/opt/gnome2/share/gnome/help" --stringparam db2omf.omf_in
"`pwd`/./gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl
C/gnome-doc-make.xml
xsltproc: error while loading shared libraries: libgcrypt.so.11: cannot enable
executable stack as shared object requires: Permission denied
make[2]: *** [gnome-doc-make-C.omf] Error 127


Comment 3 Daniel Veillard 2006-11-02 15:57:23 UTC
sounds like a gcrypt compilation problem, I hope this has been fixed in recent
releases, can you confirm ?

Daniel

Comment 4 Kjartan Maraas 2007-10-16 11:49:08 UTC
Works for me now. Closing.