Problem with acroread after update

Paul Howarth paul at city-fan.org
Sun Apr 9 13:27:20 UTC 2006


On Sun, 2006-04-09 at 11:41 +0200, Jon Ingason wrote:
> Paul Smith wrote:
> > On 4/9/06, Jon Ingason <Jon.Ingason at telia.com> wrote:
> > 
> >>I did just software update of FC5 and got problem with acroread as follows:
> >>
> >>$ acroread
> >>/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread: error while
> >>loading shared libraries:
> >>/usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/libJP2K.so: cannot
> >>restore segment prot after reloc: Permission denied
> >>$
> >>
> >>Acroread worked before the update. I disabled the SELinux and then it
> >>worked. What should I do to get i working with SELinux?
> > 
> > 
> > Jon, see the thread
> > 
> > http://marc.theaimsgroup.com/?l=fedora-list&m=114392514803711&w=2
> > 
> > Paul
> > 
> Yes thanks, this solved my problem. But I  wandering what caused this 
> problem. I did following:
> # semanage fcontext -l|more
> SELinux fcontext                                   type 
> Context
> 
> .
> .
> .
> /usr/lib(64)?/libHermes\.so.*                      regular file 
> system_u:object_r:textrel_shlib_t:s0
> /usr(/.*)?/Reader/intellinux/SPPlugins/ADMPlugin\.apl regular file 
>   system_u:object_r:textrel_shlib_t:s0
> /usr/local/.*\.so(\.[^/]*)*                        regular file 
> system_u:object_r:shlib_t:s0
> ------------------^^^^^^^^^^
> This seems to be stange. Should it not be "textrel_shlib_t" instead of 
> "shlib_t"?

Maybe you're misreading the output. There are three separate objects
shown:

  /usr/lib(64)?/libHermes\.so.*
  regular file
  system_u:object_r:textrel_shlib_t:s0

This one marks libHermes\.so.* under /usr/lib or /usr/lib64 as
textrel_shlib_t

  /usr(/.*)?/Reader/intellinux/SPPlugins/ADMPlugin\.apl
  regular file
  system_u:object_r:textrel_shlib_t:s0

This one marks Reader/intellinux/SPPlugins/ADMPlugin.apl anywhere
under /usr as being textrel_shlib_t

  /usr/local/.*\.so(\.[^/]*)*
  regular file
  system_u:object_r:shlib_t:s0

This one marks any .so* file under /usr/local as being shlib_t

Whilst the second and third potentially conflict, the second should
"win" for the file concerned because it's a more specific match.

Paul.




More information about the users mailing list