From: Christopher L Tubbs II <chris@tubbs-net.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: HTTPD network access Policy Problem
Date: Wed, 24 May 2006 20:41:16 -0400 [thread overview]
Message-ID: <4474FD2C.3080004@tubbs-net.com> (raw)
In-Reply-To: <1148479969.31984.183.camel@sgc.columbia.tresys.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christopher J. PeBenito wrote:
> On Tue, 2006-05-23 at 17:35 -0400, Christopher L Tubbs II wrote:
>> I'm reasonably new to SELinux, but I noticed recently that a change I
>> made in my policy (from the GUI system-config-securitylevel) a while
>> back to allow the HTTPD to have network access so I can use Web-based
>> mail scripts now does not seem to work. The only change I've made since
>> then was period "yum update" with the occasionally policy updates
>> through that. However, despite the fact that the GUI still shows the
>> settings that I had changed in the past, the policy is still blocking
>> access (It works in Permissive mode). Can anybody perhaps explain why
>> this might be, and what specifically I should check to verify the
>> settings and make this functional again?
>
> First we need to see the denial messages (avc: denied messages) to see
> exactly what permissions are being denied. You can find them
> in /var/log/messages (or /var/log/audit/audit.log if you have auditd
> running).
>
It should be noted that I am using PHP to do the mailing.
May 24 20:37:15 tubbs-net kernel: audit(1148517435.478:65): avc: denied
{ execute } for pid=2456 comm="httpd" name="bash" dev=dm-0 ino=3470057
scontext=system_u:system_r:httpd_t:s0
tcontext=system_u:object_r:shell_exec_t:s0 tclass=file
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEdP0rc/oGTmWP/osRAnM6AJ9RFwZrk1O8XlZYP+U77QY20Pb/qQCgtocB
vT+rswYVCy+NZEF3ZckOZJ4=
=RvbW
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2006-05-25 0:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-23 21:35 HTTPD network access Policy Problem Christopher L Tubbs II
2006-05-24 14:12 ` Christopher J. PeBenito
2006-05-25 0:41 ` Christopher L Tubbs II [this message]
2006-05-25 3:21 ` Russell Coker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4474FD2C.3080004@tubbs-net.com \
--to=chris@tubbs-net.com \
--cc=cpebenito@tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.