Steven Stern wrote:
After struggling for a while today with an install of awstats on an
newly set up FC3 system, I finally looked into /var/log/messages. It
was full of lines like those below. I've disabled SELinux to get
awstats working. How do I get it to acccept it?
FWIW, when run directly from a command line, the perl scripts work
just fine. They don't work when run from /etc/cron.hourly through
run-parts.
What are you running hourly? and how is it labeled?
Dan
--- log entries below ---
Apr 28 12:03:44 enoch kernel: audit(1114707824.241:0): avc: denied {
read writ
e } for pid=642 exe=/usr/bin/perl name=0 dev=devpts ino=2
scontext=root:system_
r:httpd_sys_script_t tcontext=root:object_r:devpts_t tclass=chr_file
Apr 28 12:03:44 enoch kernel: audit(1114707824.241:0): avc: denied {
read writ
e } for pid=642 exe=/usr/bin/perl path=/dev/pts/0 dev=devpts ino=2
scontext=roo
t:system_r:httpd_sys_script_t tcontext=root:object_r:devpts_t
tclass=chr_file
Apr 28 12:03:44 enoch kernel: audit(1114707824.794:0): avc: denied {
search }
for pid=644 exe=/bin/bash name=log dev=hda3 ino=3063830
scontext=root:system_r:
httpd_sys_script_t tcontext=system_u:object_r:var_log_t tclass=dir
Apr 28 12:03:44 enoch kernel: audit(1114707824.794:0): avc: denied {
search }
for pid=644 exe=/bin/bash name=log dev=hda3 ino=3063830
scontext=root:system_r:
httpd_sys_script_t tcontext=system_u:object_r:var_log_t tclass=dir
--