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@localhost ~]$ su -
Password:
[root@localhost ~]# restorecon -v aliases.db
restorecon: stat error on aliases.db: No such file or directory
[root@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@localhost ~]# chcon -t unconfined_execmem_exec_t /usr/local/bin/mplayer
[root@localhost ~]# semanage fcontext -a -t unconfined_execmem_exec_t
/usr/local/bin/mplayer
[root@localhost ~]#
[olivares@localhost ~]$ maxima &
[1] 3834
[olivares@localhost ~]$ xmaxima &
[2] 3859
[1] Segmentation fault maxima
[olivares@localhost ~]$ su -
Password:
[root@localhost ~]# chcon -t unconfined_execmem_exec_t
/usr/lib/maxima/5.13.0/binary-gcl/maxima
[root@localhost ~]# semanage fcontext -a -t unconfined_execmem_exec_t
/usr/lib/maxima/5.13.0/binary-gcl/maxima
[root@localhost ~]# chcon -t unconfined_execmem_exec_t
/usr/lib/maxima/5.13.0/binary-gcl/maxima
[root@localhost ~]#
[root@localhost ~]# chcon -t textrel_shlib_t /usr/lib/maxima/5.13.0/binary-gcl/maxima
[root@localhost ~]# semanage fcontext -a -t textrel_shlib_t
/usr/lib/maxima/5.13.0/binary-gcl/maxima
[root@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