[rt-users] Rt and SeLinux
bijayant kumar
bijayant4u at yahoo.com
Tue Mar 20 06:55:16 EDT 2007
Hello to all,
I am trying to configure Rt-3.6.1 on my CentOs server with SeLinux feature enabled. Everything goes well, but when i try to open RT on web browser it gives me an error. I can not disable selinux feature, because it is not in the company policy. So, i have to configure it with selinux. I have seen in mailing list Archives that one gentleman has configured it in his Fedora-3. So, i am requesting to that gentleman and to the whole members that please help me. I will be very thankful to you all for the same.
I am giving my errors for the initial troubleshooting, hope it helps :
# tail -f /var/log/httpd/error_log
[Tue Mar 20 03:55:05 2007] [error] Cannot write to '/opt/rt3/var/log/rt.log': Permission denied at /usr/lib/perl5/site_perl/5.8.5/Log/Dispatch/File.pm line 86.\n
#tail -f /var/log/messages
Mar 20 03:54:37 cs4 kernel: audit(1174380877.908:4213): avc: denied { search } for pid=1797 comm="httpd" name="rt-3.6.1" dev=hda3 ino=5571946 scontext=root:system_r:httpd_t tcontext=user_u:object_r:user_home_t tclass=dir
Mar 20 03:54:37 cs4 kernel: audit(1174380877.908:4214): avc: denied { search } for pid=1797 comm="httpd" name="rt-3.6.1" dev=hda3 ino=5571946 scontext=root:system_r:httpd_t tcontext=user_u:object_r:user_home_t tclass=dir
Mar 20 03:54:38 cs4 kernel: audit(1174380878.135:4215): avc: denied { search } for pid=1797 comm="httpd" name="rt-3.6.1" dev=hda3 ino=5571946 scontext=root:system_r:httpd_t tcontext=user_u:object_r:user_home_t tclass=dir
Mar 20 03:54:38 cs4 kernel: audit(1174380878.135:4216): avc: denied { search } for pid=1797 comm="httpd" name="rt-3.6.1" dev=hda3 ino=5571946 scontext=root:system_r:httpd_t tcontext=user_u:object_r:user_home_t tclass=dir
Mar 20 03:54:38 cs4 kernel: audit(1174380878.136:4217): avc: denied { search } for pid=1797 comm="httpd" name="rt-3.6.1" dev=hda3 ino=5571946 scontext=root:system_r:httpd_t tcontext=user_u:object_r:user_home_t tclass=dir
Mar 20 03:54:38 cs4 kernel: audit(1174380878.136:4218): avc: denied { search } for pid=1797 comm="httpd" name="rt-3.6.1" dev=hda3 ino=5571946 scontext=root:system_r:httpd_t tcontext=user_u:object_r:user_home_t tclass=dir
I think this is an issue of selinux, because whole RT directory is in 777 mode.
Any help can resolve my problem in great deal. So, please help me.
Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070320/59a18ad8/attachment.htm>
More information about the rt-users
mailing list