From: Daniel J Walsh <dwalsh@redhat.com>
To: "R. Steven Rainwater" <srainwater@ncc.com>
Cc: SELinux@tycho.nsa.gov
Subject: Re: cgiemail and senmail policy
Date: Sun, 03 Jul 2005 10:21:27 -0400 [thread overview]
Message-ID: <42C7F467.6070908@redhat.com> (raw)
In-Reply-To: <1120169474.17769.60.camel@rodan.ncc.com>
R. Steven Rainwater wrote:
>I'm running a CentOS 4.1 (Red Hat EL) box with an Apache web server. I
>thought I'd worked out all the problems with my cgi scripts but a new
>one cropped up today. We use the good ol' MIT cgiemail program to handle
>form submissions that get sent via sendmail. When someone submits a
>form, I get a series of avc errors and no email gets sent. What's the
>best way to fix this (i.e. to make Apache able to use cgiemail to send
>email via sendmail)? Here are the errors I'm getting:
>
>Jun 30 16:47:33 orac kernel: audit(1120168053.409:0): avc: denied {
>write } for pid=27969 comm=sendmail path=/tmp/filegvNeNa dev=dm-0
>ino=948452 scontext=root:system_r:system_mail_t
>tcontext=root:object_r:httpd_sys_script_rw_t tclass=file
>
>Jun 30 16:47:33 orac kernel: audit(1120168053.410:0): avc: denied {
>write } for pid=27969 comm=sendmail path=/tmp/filegvNeNa dev=dm-0
>ino=948452 scontext=root:system_r:system_mail_t
>tcontext=root:object_r:httpd_sys_script_rw_t tclass=file
>
>Jun 30 16:47:33 orac kernel: audit(1120168053.410:0): avc: denied {
>write } for pid=27969 comm=sendmail path=/tmp/filegvNeNa dev=dm-0
>ino=948452 scontext=root:system_r:system_mail_t
>tcontext=root:object_r:httpd_sys_script_rw_t tclass=file
>
>Jun 30 16:47:33 orac kernel: audit(1120168053.410:0): avc: denied {
>read write } for pid=27969 comm=sendmail path=/tmp/tmpfKM8Top (deleted)
>dev=dm-0 ino=948418 scontext=root:system_r:system_mail_t
>tcontext=root:object_r:httpd_sys_script_rw_t tclass=file
>
>Jun 30 16:47:33 orac kernel: audit(1120168053.510:0): avc: denied {
>search } for pid=27969 comm=sendmail name=www dev=dm-0 ino=556110
>scontext=root:system_r:system_mail_t
>tcontext=system_u:object_r:httpd_sys_content_t tclass=dir
>
>Jun 30 16:47:33 orac kernel: audit(1120168053.511:0): avc: denied {
>getattr }
>for pid=27969 comm=sendmail path=/var/www dev=dm-0 ino=556110
>scontext=root:system_r:system_mail_t
>tcontext=system_u:object_r:httpd_sys_content_t tclass=dir
>
>
>
>The system is using selinux-policy-targeted-1.17.30-2.88.
>
>-Steve
>
>
>
Upgrade to the latest RHEL policy on.
ftp://people.redhat.com/dwalsh/SELinux/RHEL4/u1
Dan
--
--
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.
prev parent reply other threads:[~2005-07-03 14:21 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-17 20:01 SELinux Integrated Logging Tool Brandon Pollet
2005-06-17 23:43 ` James Morris
2005-06-18 15:39 ` Steve G
2005-06-18 23:38 ` dumb newbie questions R. Steven Rainwater
2005-06-19 6:45 ` Ivan Gyurdiev
2005-06-19 16:40 ` Casey Schaufler
2005-06-19 19:51 ` Ivan Gyurdiev
2005-06-19 20:14 ` Casey Schaufler
2005-06-19 20:57 ` Ivan Gyurdiev
2005-06-19 21:31 ` Casey Schaufler
2005-06-19 22:10 ` Luke Kenneth Casson Leighton
2005-06-20 0:28 ` Casey Schaufler
2005-06-19 22:13 ` Luke Kenneth Casson Leighton
2005-06-20 0:16 ` Casey Schaufler
2005-06-20 19:21 ` Luke Kenneth Casson Leighton
2005-06-20 20:41 ` Casey Schaufler
2005-06-20 21:01 ` Valdis.Kletnieks
2005-06-20 21:36 ` Casey Schaufler
2005-06-22 9:48 ` Christopher Warner
2005-06-19 20:41 ` Ivan Gyurdiev
2005-06-20 3:34 ` R. Steven Rainwater
2005-06-20 4:45 ` Valdis.Kletnieks
2005-06-20 14:45 ` R. Steven Rainwater
2005-06-20 15:14 ` Ivan Gyurdiev
2005-06-20 15:29 ` R. Steven Rainwater
2005-06-20 15:44 ` Ivan Gyurdiev
2005-06-20 16:40 ` R. Steven Rainwater
2005-06-20 16:59 ` Ivan Gyurdiev
2005-06-20 17:35 ` Karl MacMillan
2005-06-20 18:06 ` R. Steven Rainwater
2005-06-20 18:18 ` Daniel J Walsh
2005-06-24 6:22 ` Russell Coker
2005-06-20 18:06 ` Daniel J Walsh
2005-06-20 18:57 ` Luke Kenneth Casson Leighton
2005-06-20 15:56 ` Stephen Smalley
2005-06-20 19:05 ` Luke Kenneth Casson Leighton
2005-06-20 16:28 ` Stephen Smalley
2005-06-20 18:49 ` Luke Kenneth Casson Leighton
2005-06-19 22:17 ` Luke Kenneth Casson Leighton
2005-06-20 4:11 ` Ivan Gyurdiev
2005-06-20 13:12 ` Trevor Vaughan
2005-06-20 15:21 ` R. Steven Rainwater
2005-06-20 15:40 ` Ivan Gyurdiev
2005-06-20 16:20 ` Stephen Smalley
2005-06-30 22:11 ` cgiemail and senmail policy R. Steven Rainwater
2005-07-03 14:21 ` Daniel J Walsh [this message]
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=42C7F467.6070908@redhat.com \
--to=dwalsh@redhat.com \
--cc=SELinux@tycho.nsa.gov \
--cc=srainwater@ncc.com \
/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.