From: antoine <antoine@nagafix.co.uk>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SELinux <selinux@tycho.nsa.gov>
Subject: Re: general selinux questions
Date: Thu, 23 Jun 2005 18:41:07 +0100 [thread overview]
Message-ID: <1119548467.9390.56.camel@localhost> (raw)
In-Reply-To: <1119546240.28493.128.camel@moss-spartans.epoch.ncsc.mil>
> > But I've got:
> > domain_auto_trans(initrc_t, postfix_master_exec_t, postfix_master_t)
> > allow initrc_t postfix_master_t:process { noatsecure siginh rlimitinh };
> > role_transition system_r postfix_master_exec_t object_r;
>
> This is wrong. object_r is only for objects, not processes.
Yes, I figured the last one was not helping. I was just trying random
things, hoping to understand the error message better.
I removed the change, so now I can start postfix again without problems,
but I am back where I started with spamd:
audit(1119545469.251:0): avc: denied { transition } for pid=19693
exe=/usr/bin/spamc path=/usr/sbin/sendmail dev=md3 ino=783481
scontext=system_u:system_r:spamd_t
tcontext=system_u:object_r:postfix_pipe_t tclass=process
Even though I have:
domain_auto_trans(postfix_pipe_t, spamc_exec_t, spamd_t)
domain_auto_trans(spamd_t, sendmail_exec_t, postfix_pipe_t)
(to allow mail to be filtered by spamassassin in/out)
system_u:object_r:spamc_exec_t /usr/bin/spamc
system_u:object_r:sendmail_exec_t /usr/sbin/sendmail
Audit2why tells me I should add a type attribute, but I really cannot
figure out *which one* that could be, and to which domain:
audit(1119545469.251:0): avc: denied { transition } for pid=19693
exe=/usr/bin/spamc path=/usr/sbin/sendmail dev=md3 ino=783481
scontext=system_u:system_r:spamd_t
tcontext=system_u:object_r:postfix_pipe_t tclass=process
Was caused by:
Constraint violation.
Check policy/constraints.
Typically, you just need to add a type attribute to the
domain to satisfy the constraint.
I've been stuck on this one little nagging denial for over a week now...
Thanks
Antoine
--
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:[~2005-06-23 17:41 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 1:50 general selinux questions antoine
2005-06-09 12:25 ` antoine
2005-06-09 18:36 ` Stephen Smalley
2005-06-10 14:21 ` antoine
2005-06-10 14:18 ` Stephen Smalley
2005-06-10 14:55 ` antoine
2005-06-10 14:50 ` Stephen Smalley
2005-06-10 8:11 ` Jayendren Anand Maduray
2005-06-09 18:26 ` Stephen Smalley
2005-06-10 20:00 ` antoine
2005-06-10 19:54 ` Stephen Smalley
2005-06-10 19:59 ` Stephen Smalley
2005-06-14 17:24 ` antoine
2005-06-14 17:37 ` Colin Walters
2005-06-14 19:50 ` antoine
2005-06-22 19:54 ` antoine
2005-06-23 15:33 ` antoine
2005-06-23 17:04 ` Stephen Smalley
2005-06-23 17:41 ` antoine [this message]
2005-06-23 17:44 ` Stephen Smalley
2005-06-23 17:55 ` Stephen Smalley
2005-06-23 22:50 ` antoine
2005-06-24 12:13 ` Stephen Smalley
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=1119548467.9390.56.camel@localhost \
--to=antoine@nagafix.co.uk \
--cc=sds@tycho.nsa.gov \
--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.