avc: denied, aMSN

Sander Hoentjen tjikkun at xs4all.nl
Tue Apr 12 07:45:35 UTC 2005


On Mon, 2005-04-11 at 20:51 -0400, Ivan Gyurdiev wrote:
> On Tue, 2005-04-12 at 02:27 +0200, Sander Hoentjen wrote:
> > Hi,
> > 
> > I get the following error in my log:
> > 
> > audit(1113264360.332:0): avc:  denied  { execmod } for  pid=3261
> > comm=wish
> > path=/home/tjikkun/programs/amsn-extras/plugins/tls1.4/libtls1.4.so
> > dev=hda2 ino=243257 scontext=user_u:system_r:unconfined_t
> > tcontext=user_u:object_r:user_home_t tclass=file
> > 
> > It happens when I try to use aMSN which in turn wants to use this lib. I
> > am a developer of aMSN and I would really like to know what is the best
> > way to fix it. I guess I could change my policy or something(?), but
> > when we distribute aMSN I would like to have it working
> > "out-of-the-box". Any ideas on how to make this happen?
> 
> See if the library requires text relocations:
> readelf -d <your library> |grep TEXTREL 
> 
> If so, try to fix that. I'm not sure how - maybe compile with -fPIC?

Thanks a lot. I found that it indeed had TEXTREL. I downloaded a newer
version and this one didn't have TEXTREL. Now it works without problems.

Sander




More information about the selinux mailing list