maxima fails to load because of selinux, other things happening

Antonio Olivares olivares14031 at yahoo.com
Wed Sep 12 15:37:12 UTC 2007


Dear all, 

I am having difficulties with maxima because of selinux.  Other denied avcs have been corrected by following troubleshooters advice.  

avc: denied { create } for comm="newaliases" egid=51 euid=0 exe="/usr/sbin/sendmail.sendmail" exit=-13 fsgid=51 fsuid=0 gid=0 items=0 name="aliases.db" pid=7643 scontext=system_u:system_r:sendmail_t:s0 sgid=51 subj=system_u:system_r:sendmail_t:s0 suid=0 tclass=file tcontext=system_u:object_r:etc_aliases_t:s0 tty=(none) uid=0 

restorecon -v aliases.db

[olivares at localhost ~]$ su -
Password: 
[root at localhost ~]# restorecon -v aliases.db
restorecon:  stat error on aliases.db:  No such file or directory
[root at localhost ~]# 


avc: denied { execmem } for comm="mplayer" egid=500 euid=500 exe="/usr/local/bin/mplayer" exit=-13 fsgid=500 fsuid=500 gid=500 items=0 pid=3151 scontext=system_u:system_r:unconfined_t:s0 sgid=500 subj=system_u:system_r:unconfined_t:s0 suid=500 tclass=process tcontext=system_u:system_r:unconfined_t:s0 tty=(none) uid=500 

[root at localhost ~]# chcon -t unconfined_execmem_exec_t /usr/local/bin/mplayer
[root at localhost ~]# semanage fcontext -a -t unconfined_execmem_exec_t /usr/local/bin/mplayer
[root at localhost ~]# 

[olivares at localhost ~]$ maxima &
[1] 3834
[olivares at localhost ~]$ xmaxima &
[2] 3859
[1]   Segmentation fault      maxima
[olivares at localhost ~]$ su -
Password: 
[root at localhost ~]# chcon -t unconfined_execmem_exec_t /usr/lib/maxima/5.13.0/binary-gcl/maxima
[root at localhost ~]# semanage fcontext -a -t unconfined_execmem_exec_t /usr/lib/maxima/5.13.0/binary-gcl/maxima
[root at localhost ~]# chcon -t unconfined_execmem_exec_t /usr/lib/maxima/5.13.0/binary-gcl/maxima
[root at localhost ~]# 

[root at localhost ~]# chcon -t textrel_shlib_t /usr/lib/maxima/5.13.0/binary-gcl/maxima
[root at localhost ~]# semanage fcontext -a -t textrel_shlib_t /usr/lib/maxima/5.13.0/binary-gcl/maxima
[root at localhost ~]# 


Did not work so I filed a bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=287761

Regards,

Antonio 




       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 




More information about the fedora-selinux-list mailing list