selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Pilcher <arequipeno@gmail.com>
To: selinux@vger.kernel.org
Subject: Re: execve silently blocked
Date: Wed, 2 Oct 2019 15:08:46 -0500	[thread overview]
Message-ID: <9f7730fd-fd01-3a56-aebb-ddea8cf6df19@gmail.com> (raw)
In-Reply-To: <20191002194100.GB1167620@brutus.lan>

On 10/2/19 2:41 PM, Dominick Grift wrote:
> Are you also looking for "selinux_err" records?

Nope, because I had never heard of them before.  :-)

That found the error:

   type=SELINUX_ERR msg=audit(1570044939.773:845):
   op=security_compute_sid
   invalid_context=system_u:system_r:denatc_sudo_t:s0
   scontext=system_u:system_r:denatc_t:s0
   tcontext=system_u:object_r:sudo_exec_t:s0 tclass=process

It seems that I was missing a role-type statement:

   role system_r types denatc_sudo_t;

Adding that gets me back to more conventional denials, which I know how
to deal with.

Thanks!

-- 
========================================================================
Ian Pilcher                                         arequipeno@gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================

      reply	other threads:[~2019-10-02 20:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 19:25 execve silently blocked Ian Pilcher
2019-10-02 19:41 ` Dominick Grift
2019-10-02 20:08   ` Ian Pilcher [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=9f7730fd-fd01-3a56-aebb-ddea8cf6df19@gmail.com \
    --to=arequipeno@gmail.com \
    --cc=selinux@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).